Reset main mixer
reset_mixer!
The main mixer is the final mixer that all sound passes through. This fn resets it to its default set - undoing any changes made via set_mixer_control!
Introduced in v2.9
Example
# Example 1 |
set_mixer_control! lpf: 70
sample :loop_amen
sleep 3
reset_mixer!
sample :loop_amen
|
# LPF cutoff value of main mixer is now 70
# :loop_amen sample is played with low cutoff
# mixer is now reset to default values
# :loop_amen sample is played with normal cutoff
|