InputMixer example

This commit is contained in:
Phil Schatzmann 2022-06-08 22:36:32 +02:00
parent bd843a2f9a
commit 9e38c903c1

View File

@ -14,7 +14,7 @@ SineWaveGenerator<int16_t> sineWave1(32000); // subclass of Sound
SineWaveGenerator<int16_t> sineWave2(32000); // subclass of SoundGenerator with max amplitude of 32000
GeneratedSoundStream<int16_t> sound1(sineWave1); // Stream generated from sine wave
GeneratedSoundStream<int16_t> sound2(sineWave2); // Stream generated from sine wave
Mixer<int16_t> mixer;
InputMixer<int16_t> mixer;
AudioKitStream out;
StreamCopy copier(out, mixer); // copies sound into i2s