Volume control #1929
-
Hello pschatzmann, I have an issue. How can I combine Volume Stream and Equalizer in the same program? I have tried the following: VolumeStream volume1(out1); AnalogAudioStream adcin; StreamCopy copier1(mixer, effects); ////////////////////////////////////// auto cfgo = out1.defaultConfig(); //setup equilizer auto vcfg1 = volume1.defaultConfig(); // micro //convert2.begin(16, 24); auto vcfg2 = volume2.defaultConfig(); // setup equilizer mixer.begin(); But when I adjust the volume using volume1.setVolume inside a loop, the sound does not change, though the equalizer does. Could you help me fix this issue, please? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I don't see any reason why this should not work. However I recommend to use a linear volume control only if you regulate the volume with an Audio Pot. In addition your default settings are much too low: you get as result of the combination 0.3 * 0.3 = 0.09 as resulting volume |
Beta Was this translation helpful? Give feedback.
I don't see any reason why this should not work. However I recommend to use a linear volume control only if you regulate the volume with an Audio Pot.
In addition your default settings are much too low: you get as result of the combination 0.3 * 0.3 = 0.09 as resulting volume