Explorar el Código

Add Tuba samples to NoteFrequency example

dds
PaulStoffregen hace 8 años
padre
commit
785bbcd3db
Se han modificado 11 ficheros con 19925 adiciones y 0 borrados
  1. +3884
    -0
      examples/Analysis/NoteFrequency/AudioSampleBbb_tuba_1.cpp
  2. +3
    -0
      examples/Analysis/NoteFrequency/AudioSampleBbb_tuba_1.h
  3. +3990
    -0
      examples/Analysis/NoteFrequency/AudioSampleBbb_tuba_2.cpp
  4. +3
    -0
      examples/Analysis/NoteFrequency/AudioSampleBbb_tuba_2.h
  5. +3935
    -0
      examples/Analysis/NoteFrequency/AudioSampleBbb_tuba_3.cpp
  6. +3
    -0
      examples/Analysis/NoteFrequency/AudioSampleBbb_tuba_3.h
  7. +3935
    -0
      examples/Analysis/NoteFrequency/AudioSampleBbb_tuba_4.cpp
  8. +3
    -0
      examples/Analysis/NoteFrequency/AudioSampleBbb_tuba_4.h
  9. +4156
    -0
      examples/Analysis/NoteFrequency/AudioSampleBbb_tuba_5.cpp
  10. +3
    -0
      examples/Analysis/NoteFrequency/AudioSampleBbb_tuba_5.h
  11. +10
    -0
      examples/Analysis/NoteFrequency/NoteFrequency.ino

+ 3884
- 0
examples/Analysis/NoteFrequency/AudioSampleBbb_tuba_1.cpp
La diferencia del archivo ha sido suprimido porque es demasiado grande
Ver fichero


+ 3
- 0
examples/Analysis/NoteFrequency/AudioSampleBbb_tuba_1.h Ver fichero

@@ -0,0 +1,3 @@
// Audio data converted from WAV file by wav2sketch

extern const unsigned int AudioSampleBbb_tuba_1[31041];

+ 3990
- 0
examples/Analysis/NoteFrequency/AudioSampleBbb_tuba_2.cpp
La diferencia del archivo ha sido suprimido porque es demasiado grande
Ver fichero


+ 3
- 0
examples/Analysis/NoteFrequency/AudioSampleBbb_tuba_2.h Ver fichero

@@ -0,0 +1,3 @@
// Audio data converted from WAV file by wav2sketch

extern const unsigned int AudioSampleBbb_tuba_2[31873];

+ 3935
- 0
examples/Analysis/NoteFrequency/AudioSampleBbb_tuba_3.cpp
La diferencia del archivo ha sido suprimido porque es demasiado grande
Ver fichero


+ 3
- 0
examples/Analysis/NoteFrequency/AudioSampleBbb_tuba_3.h Ver fichero

@@ -0,0 +1,3 @@
// Audio data converted from WAV file by wav2sketch

extern const unsigned int AudioSampleBbb_tuba_3[31425];

+ 3935
- 0
examples/Analysis/NoteFrequency/AudioSampleBbb_tuba_4.cpp
La diferencia del archivo ha sido suprimido porque es demasiado grande
Ver fichero


+ 3
- 0
examples/Analysis/NoteFrequency/AudioSampleBbb_tuba_4.h Ver fichero

@@ -0,0 +1,3 @@
// Audio data converted from WAV file by wav2sketch

extern const unsigned int AudioSampleBbb_tuba_4[31425];

+ 4156
- 0
examples/Analysis/NoteFrequency/AudioSampleBbb_tuba_5.cpp
La diferencia del archivo ha sido suprimido porque es demasiado grande
Ver fichero


+ 3
- 0
examples/Analysis/NoteFrequency/AudioSampleBbb_tuba_5.h Ver fichero

@@ -0,0 +1,3 @@
// Audio data converted from WAV file by wav2sketch

extern const unsigned int AudioSampleBbb_tuba_5[33217];

+ 10
- 0
examples/Analysis/NoteFrequency/NoteFrequency.ino Ver fichero

@@ -39,6 +39,11 @@
#include "g3_note.h"
#include "b3_note.h"
#include "e4_note.h"
#include "AudioSampleBbb_tuba_1.h"
#include "AudioSampleBbb_tuba_2.h"
#include "AudioSampleBbb_tuba_3.h"
#include "AudioSampleBbb_tuba_4.h"
#include "AudioSampleBbb_tuba_5.h"
//---------------------------------------------------------------------------------------
AudioAnalyzeNoteFrequency notefreq;
AudioOutputAnalog dac;
@@ -59,6 +64,11 @@ void playNote(void) {
//wav_note.play(g3_note);
//wav_note.play(b3_note);
//wav_note.play(e4_note);
//wav_note.play(AudioSampleBbb_tuba_1);
//wav_note.play(AudioSampleBbb_tuba_2);
//wav_note.play(AudioSampleBbb_tuba_3);
//wav_note.play(AudioSampleBbb_tuba_4);
//wav_note.play(AudioSampleBbb_tuba_5);
digitalWriteFast(LED_BUILTIN, !digitalReadFast(LED_BUILTIN));
}
}

Cargando…
Cancelar
Guardar