Преглед на файлове

Add Tuba samples to NoteFrequency example

dds
PaulStoffregen преди 8 години
родител
ревизия
785bbcd3db
променени са 11 файла, в които са добавени 19925 реда и са изтрити 0 реда
  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
Файловите разлики са ограничени, защото са твърде много
Целия файл


+ 3
- 0
examples/Analysis/NoteFrequency/AudioSampleBbb_tuba_1.h Целия файл

@@ -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
Файловите разлики са ограничени, защото са твърде много
Целия файл


+ 3
- 0
examples/Analysis/NoteFrequency/AudioSampleBbb_tuba_2.h Целия файл

@@ -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
Файловите разлики са ограничени, защото са твърде много
Целия файл


+ 3
- 0
examples/Analysis/NoteFrequency/AudioSampleBbb_tuba_3.h Целия файл

@@ -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
Файловите разлики са ограничени, защото са твърде много
Целия файл


+ 3
- 0
examples/Analysis/NoteFrequency/AudioSampleBbb_tuba_4.h Целия файл

@@ -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
Файловите разлики са ограничени, защото са твърде много
Целия файл


+ 3
- 0
examples/Analysis/NoteFrequency/AudioSampleBbb_tuba_5.h Целия файл

@@ -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 Целия файл

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

Loading…
Отказ
Запис