MixerVoice – Voice objects used with Mixer¶
Used to access and control samples with
MixerVoice instance object(s) created by
play(sample, *, loop=False)¶
Plays the sample once when
loop=False, and continuously when
loop=True. Does not block. Use
The sample must match the
audiomixer.Mixer’s encoding settings given in the constructor.
Stops playback of the sample on this voice.
The volume level of a voice, as a floating point number between 0 and 1.
True when this voice is being output. (read-only)