Bladeren bron

Add Tuba samples to NoteFrequency example

dds
PaulStoffregen 8 jaren geleden
bovenliggende
commit
785bbcd3db
11 gewijzigde bestanden met toevoegingen van 19925 en 0 verwijderingen
  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
Diff onderdrukt omdat het te groot bestand
Bestand weergeven


+ 3
- 0
examples/Analysis/NoteFrequency/AudioSampleBbb_tuba_1.h Bestand weergeven

@@ -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
Diff onderdrukt omdat het te groot bestand
Bestand weergeven


+ 3
- 0
examples/Analysis/NoteFrequency/AudioSampleBbb_tuba_2.h Bestand weergeven

@@ -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
Diff onderdrukt omdat het te groot bestand
Bestand weergeven


+ 3
- 0
examples/Analysis/NoteFrequency/AudioSampleBbb_tuba_3.h Bestand weergeven

@@ -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
Diff onderdrukt omdat het te groot bestand
Bestand weergeven


+ 3
- 0
examples/Analysis/NoteFrequency/AudioSampleBbb_tuba_4.h Bestand weergeven

@@ -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
Diff onderdrukt omdat het te groot bestand
Bestand weergeven


+ 3
- 0
examples/Analysis/NoteFrequency/AudioSampleBbb_tuba_5.h Bestand weergeven

@@ -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 Bestand weergeven

@@ -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…
Annuleren
Opslaan