I wonder could someone help with example for how to use AudioEffect Fade.....fadeIn and fadeOut
I set it up as per the GUI tools etc with connections etc
say.......sound1>>>>>>>>fade1>>>>>>mixer1in1>>>>>>mixer1out>>>>>>dac
.....sound2>>>>>>>>fade2>>>>>>mixer1in2>>>>>>mixer1out>>>>>>dac
all works and I get sound OK, but where in the sketch code do I tell it to fade or not fade..???
I seem to get fadeOut(fadetime) to work but cannot get fadeIn(fadetime) to do anything I can see or hear.
fadeOut(fadetime) fadesout to Zero.....then I dont hear that sound again....until restart...how do I switch it on again...???
I think I am using it in wrong place or wrong syntax but no compiler error..??
I set it up as per the GUI tools etc with connections etc
say.......sound1>>>>>>>>fade1>>>>>>mixer1in1>>>>>>mixer1out>>>>>>dac
.....sound2>>>>>>>>fade2>>>>>>mixer1in2>>>>>>mixer1out>>>>>>dac
all works and I get sound OK, but where in the sketch code do I tell it to fade or not fade..???
I seem to get fadeOut(fadetime) to work but cannot get fadeIn(fadetime) to do anything I can see or hear.
fadeOut(fadetime) fadesout to Zero.....then I dont hear that sound again....until restart...how do I switch it on again...???
I think I am using it in wrong place or wrong syntax but no compiler error..??