File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed
examples-audiokit/streams-audiokit-fft-led Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 102
102
../examples/examples-audiokit/streams-file_loop-audiokit -> rc=0
103
103
../examples/examples-audiokit/streams-generator-audiokit -> rc=0
104
104
../examples/examples-audiokit/streams-generator_fromarray-audiokit -> rc=0
105
- ../examples/examples-audiokit/streams-generator_inputmixer-audiokit -> rc=1
105
+ ../examples/examples-audiokit/streams-generator_inputmixer-audiokit -> rc=0
106
106
../examples/examples-audiokit/streams-generator_outputmixer-audiokit -> rc=0
107
107
../examples/examples-audiokit/streams-generator_sinfromtable-audiokit -> rc=0
108
108
../examples/examples-audiokit/streams-memory_mp3-audiokit -> rc=0
226
226
../examples/tests/performance/mp3-SynchronizedBufferRTOS -> rc=0
227
227
../examples/tests/performance/mp3-SynchronizedNBuffer -> rc=0
228
228
../examples/tests/performance/mp3-SynchronizedRingBuffer -> rc=0
229
- ../examples/tests/performance/sine -> rc=1
229
+ ../examples/tests/performance/sine -> rc=0
230
+ ../examples/tests/performance/wifi -> rc=0
230
231
../examples/tests/pitch-shift/pitch-shift -> rc=0
231
232
../examples/tests/pitch-shift/pitch-shift-180 -> rc=0
232
233
../examples/tests/pitch-shift/pitch-shift-simple -> rc=0
Original file line number Diff line number Diff line change 9
9
* @copyright Copyright (c) 2022
10
10
*
11
11
*/
12
+ #include " AudioTools.h"
12
13
#include " AudioLibs/AudioKit.h"
13
14
#include " AudioLibs/AudioRealFFT.h" // or AudioKissFFT
14
15
#include " AudioLibs/LEDOutput.h"
15
- #include " AudioTools.h"
16
16
17
17
#define PIN_LEDS 22
18
18
#define LED_X 32
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ SineWaveGenerator<int16_t> sine_wave(32000); // subclass of SoundGenerator
5
5
SineFromTable<int16_t > sine_table (32000 ); // subclass of SoundGenerator with max amplitude of 32000
6
6
FastSineGenerator<int16_t > sine_fast (32000 );
7
7
8
- size_t measure (int sec, SoundGenerator<int16_t > *gen){
8
+ size_t measure (SoundGenerator<int16_t > *gen){
9
9
uint64_t start = millis ();
10
10
size_t count = 0 ;
11
11
for (int i=0 ;i<1000000 ;i++){
@@ -28,10 +28,10 @@ void setup(){
28
28
}
29
29
30
30
void loop (){
31
- Serial.print (resultStr (" SineWaveGenerator" , measure (sec, &sine_wave)));
31
+ Serial.print (resultStr (" SineWaveGenerator" , measure (&sine_wave)));
32
32
Serial.print (" - " );
33
- Serial.print (resultStr (" SineFromTable" , measure (sec, &sine_table)));
33
+ Serial.print (resultStr (" SineFromTable" , measure (&sine_table)));
34
34
Serial.print (" - " );
35
- Serial.print (resultStr (" FastSineGenerator" , measure (sec, &sine_fast)));
35
+ Serial.print (resultStr (" FastSineGenerator" , measure (&sine_fast)));
36
36
Serial.println ();
37
37
}
You can’t perform that action at this time.
0 commit comments