File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
examples/examples-stream/streams-generator-csv Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -13,15 +13,15 @@ uint8_t channels = 2; // The stream will ha
13
13
SineWaveGenerator<int16_t > sineWave (32000 ); // subclass of SoundGenerator with max amplitude of 32000
14
14
GeneratedSoundStream<int16_t > sound (sineWave); // Stream generated from sine wave
15
15
CsvStream<int16_t > out (Serial);
16
- StreamCopy copier (out, sound); // copies sound into i2s
16
+ StreamCopy copier (out, sound); // copies sound to out
17
17
18
18
// Arduino Setup
19
19
void setup (void ) {
20
20
// Open Serial
21
21
Serial.begin (115200 );
22
22
AudioLogger::instance ().begin (Serial, AudioLogger::Warning);
23
23
24
- // start the bluetooth
24
+ // Define CSV Output
25
25
auto config = out.defaultConfig ();
26
26
config.sample_rate = sample_rate;
27
27
config.channels = channels;
You can’t perform that action at this time.
0 commit comments