Skip to content

Commit

Permalink
Examples: TrebleBoos_wComp_wEarpieces_wApp: fix I2S to quad
Browse files Browse the repository at this point in the history
  • Loading branch information
chipaudette committed Sep 23, 2021
1 parent 072e26f commit cc5cb17
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@

// Instantiate the audio classess
AudioInputI2S_F32 i2s_in(audio_settings); //Digital audio in *from* the Teensy Audio Board ADC.
AudioInputI2SQuad_F32 i2s_in(audio_settings); //Digital audio in *from* the Teensy Audio Board ADC.
EarpieceMixer_F32_UI earpieceMixer(audio_settings); //mixes earpiece mics, allows switching to analog inputs, mixes left+right, etc
AudioFilterBiquad_F32 hp_filt1(audio_settings); //IIR filter doing a highpass filter. Left.
AudioFilterBiquad_F32 hp_filt2(audio_settings); //IIR filter doing a highpass filter. Right.
AudioEffectCompWDRC_F32_UI comp1(audio_settings); //Compresses the dynamic range of the audio. Left. UI enabled!!!
AudioEffectCompWDRC_F32_UI comp2(audio_settings); //Compresses the dynamic range of the audio. Right. UI enabled!!!
AudioOutputI2S_F32 i2s_out(audio_settings); //Digital audio out *to* the Teensy Audio Board DAC.
AudioOutputI2SQuad_F32 i2s_out(audio_settings); //Digital audio out *to* the Teensy Audio Board DAC.
AudioSDWriter_F32_UI audioSDWriter(audio_settings);//this is stereo by default


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ void setup() {
Serial.println("TrebleBoost_wComp_wEarpieces_wApp: Starting setup()...");

//allocate the dynamic memory for audio processing blocks
AudioMemory_F32(20,audio_settings);
AudioMemory_F32(30,audio_settings);

//Enable the Tympan to start the audio flowing!
myTympan.enable(); // activate the AIC on the main Tympan board
Expand Down

0 comments on commit cc5cb17

Please sign in to comment.