From b37be89bae9874ca70967580ba55a70f8a6f3dd4 Mon Sep 17 00:00:00 2001 From: mcguirepr89 Date: Wed, 4 Sep 2024 11:46:33 -0400 Subject: [PATCH 1/2] adds a short and long harry potter signal --- movement/movement_custom_signal_tunes.h | 56 +++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/movement/movement_custom_signal_tunes.h b/movement/movement_custom_signal_tunes.h index 0ac527a..2db10fc 100644 --- a/movement/movement_custom_signal_tunes.h +++ b/movement/movement_custom_signal_tunes.h @@ -119,4 +119,60 @@ int8_t signal_tune[] = { }; #endif // SIGNAL_TUNE_LAYLA +#ifdef SIGNAL_TUNE_HARRY_POTTER_SHORT +int8_t signal_tune[] = { + BUZZER_NOTE_B5, 24, + BUZZER_NOTE_REST, 1, + BUZZER_NOTE_E6, 12, + BUZZER_NOTE_REST, 1, + BUZZER_NOTE_G6, 6, + BUZZER_NOTE_REST, 1, + BUZZER_NOTE_F6SHARP_G6FLAT, 6, + BUZZER_NOTE_REST, 1, + BUZZER_NOTE_E6, 16, + BUZZER_NOTE_REST, 1, + BUZZER_NOTE_B6, 8, + BUZZER_NOTE_REST, 1, + BUZZER_NOTE_A6, 24, + BUZZER_NOTE_REST, 1, + BUZZER_NOTE_F6SHARP_G6FLAT, 24, + 0 +}; +#endif // SIGNAL_TUNE_HARRY_POTTER_SHORT + +#ifdef SIGNAL_TUNE_HARRY_POTTER_LONG +int8_t signal_tune[] = { + BUZZER_NOTE_B5, 24, + BUZZER_NOTE_REST, 1, + BUZZER_NOTE_E6, 12, + BUZZER_NOTE_REST, 1, + BUZZER_NOTE_G6, 6, + BUZZER_NOTE_REST, 1, + BUZZER_NOTE_F6SHARP_G6FLAT, 6, + BUZZER_NOTE_REST, 1, + BUZZER_NOTE_E6, 16, + BUZZER_NOTE_REST, 1, + BUZZER_NOTE_B6, 8, + BUZZER_NOTE_REST, 1, + BUZZER_NOTE_A6, 24, + BUZZER_NOTE_REST, 1, + BUZZER_NOTE_F6SHARP_G6FLAT, 24, + BUZZER_NOTE_REST, 1, + + BUZZER_NOTE_E6, 12, + BUZZER_NOTE_REST, 1, + BUZZER_NOTE_G6, 6, + BUZZER_NOTE_REST, 1, + BUZZER_NOTE_F6SHARP_G6FLAT, 6, + BUZZER_NOTE_REST, 1, + BUZZER_NOTE_D6SHARP_E6FLAT, 16, + BUZZER_NOTE_REST, 1, + BUZZER_NOTE_F6, 8, + BUZZER_NOTE_REST, 1, + BUZZER_NOTE_B5, 24, + + 0 +}; +#endif // SIGNAL_TUNE_HARRY_POTTER_LONG + #endif // MOVEMENT_CUSTOM_SIGNAL_TUNES_H_ From 48fd4ee90314ed44b0e6680f3e476533b4975c07 Mon Sep 17 00:00:00 2001 From: mcguirepr89 Date: Fri, 6 Sep 2024 10:19:17 -0400 Subject: [PATCH 2/2] slightly shorter first note --- movement/movement_custom_signal_tunes.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/movement/movement_custom_signal_tunes.h b/movement/movement_custom_signal_tunes.h index 2db10fc..5bf0f27 100644 --- a/movement/movement_custom_signal_tunes.h +++ b/movement/movement_custom_signal_tunes.h @@ -121,7 +121,7 @@ int8_t signal_tune[] = { #ifdef SIGNAL_TUNE_HARRY_POTTER_SHORT int8_t signal_tune[] = { - BUZZER_NOTE_B5, 24, + BUZZER_NOTE_B5, 12, BUZZER_NOTE_REST, 1, BUZZER_NOTE_E6, 12, BUZZER_NOTE_REST, 1, @@ -142,7 +142,7 @@ int8_t signal_tune[] = { #ifdef SIGNAL_TUNE_HARRY_POTTER_LONG int8_t signal_tune[] = { - BUZZER_NOTE_B5, 24, + BUZZER_NOTE_B5, 12, BUZZER_NOTE_REST, 1, BUZZER_NOTE_E6, 12, BUZZER_NOTE_REST, 1,