I would like to see the same function found on pygame, channel.set_volume for pygame.mixer.sound. Example:
import pygame
pygame.init()
sound = pygame.mixer.Sound(name_of_the_file)
channel = sound.play()
channel.set_volume(1,1) #That's what I need...
I need it for a program that run o single computer and send information trough a speaker for each work office. Is there something similar on pydub? Thanks.
In the dev version of Pydub (on github) you can use the new
apply_stereo_gain
orpan
method: