Quellcode durchsuchen

Add Tuba samples to NoteFrequency example

dds
PaulStoffregen vor 8 Jahren
Ursprung
Commit
785bbcd3db
11 geänderte Dateien mit 19925 neuen und 0 gelöschten Zeilen
  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
Datei-Diff unterdrückt, da er zu groß ist
Datei anzeigen


+ 3
- 0
examples/Analysis/NoteFrequency/AudioSampleBbb_tuba_1.h Datei anzeigen

@@ -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
Datei-Diff unterdrückt, da er zu groß ist
Datei anzeigen


+ 3
- 0
examples/Analysis/NoteFrequency/AudioSampleBbb_tuba_2.h Datei anzeigen

@@ -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
Datei-Diff unterdrückt, da er zu groß ist
Datei anzeigen


+ 3
- 0
examples/Analysis/NoteFrequency/AudioSampleBbb_tuba_3.h Datei anzeigen

@@ -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
Datei-Diff unterdrückt, da er zu groß ist
Datei anzeigen


+ 3
- 0
examples/Analysis/NoteFrequency/AudioSampleBbb_tuba_4.h Datei anzeigen

@@ -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
Datei-Diff unterdrückt, da er zu groß ist
Datei anzeigen


+ 3
- 0
examples/Analysis/NoteFrequency/AudioSampleBbb_tuba_5.h Datei anzeigen

@@ -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 Datei anzeigen

@@ -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));
}
}

Laden…
Abbrechen
Speichern