Browse Source

Add Tuba samples to NoteFrequency example

dds
PaulStoffregen 8 years ago
parent
commit
785bbcd3db
11 changed files with 19925 additions and 0 deletions
  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
File diff suppressed because it is too large
View File


+ 3
- 0
examples/Analysis/NoteFrequency/AudioSampleBbb_tuba_1.h View File

// 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
File diff suppressed because it is too large
View File


+ 3
- 0
examples/Analysis/NoteFrequency/AudioSampleBbb_tuba_2.h View File

// 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
File diff suppressed because it is too large
View File


+ 3
- 0
examples/Analysis/NoteFrequency/AudioSampleBbb_tuba_3.h View File

// 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
File diff suppressed because it is too large
View File


+ 3
- 0
examples/Analysis/NoteFrequency/AudioSampleBbb_tuba_4.h View File

// 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
File diff suppressed because it is too large
View File


+ 3
- 0
examples/Analysis/NoteFrequency/AudioSampleBbb_tuba_5.h View File

// Audio data converted from WAV file by wav2sketch

extern const unsigned int AudioSampleBbb_tuba_5[33217];

+ 10
- 0
examples/Analysis/NoteFrequency/NoteFrequency.ino View File

#include "g3_note.h" #include "g3_note.h"
#include "b3_note.h" #include "b3_note.h"
#include "e4_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; AudioAnalyzeNoteFrequency notefreq;
AudioOutputAnalog dac; AudioOutputAnalog dac;
//wav_note.play(g3_note); //wav_note.play(g3_note);
//wav_note.play(b3_note); //wav_note.play(b3_note);
//wav_note.play(e4_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)); digitalWriteFast(LED_BUILTIN, !digitalReadFast(LED_BUILTIN));
} }
} }

Loading…
Cancel
Save