+ 1
Why arent the mode functions working?
3 Réponses
+ 1
i'm not sure i can explain this properly
but, when p(f) is called the audio start with the default type which is sine. if you change the type after the sound it wont be registered and keep using the default one when playing a new sound
how to fix it, store the type after mode change somewhere then change the type before the play the sound, inside function p.
+ 1
how to change it?
+ 1
store the type when mode change in variable, then change the type using that variable before the play the sound, inside p().