mirror of
https://github.com/pschatzmann/arduino-audio-tools.git
synced 2024-09-22 02:47:31 +00:00
InputMixer example
This commit is contained in:
parent
bd843a2f9a
commit
9e38c903c1
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user