sensor-watch/movement/movement_custom_signal_tunes.h
Jeremy O'Brien c1580b356d
movement: add custom hourly chime tunes (#209)
* movement: add custom hourly chime tunes

* slightly tweak note timings

* add kim possible ringtone
2023-06-10 11:55:09 -04:00

88 lines
2.5 KiB
C

/*
* MIT License
*
* Copyright (c) 2023 Jeremy O'Brien
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
#ifndef MOVEMENT_CUSTOM_SIGNAL_TUNES_H_
#define MOVEMENT_CUSTOM_SIGNAL_TUNES_H_
#ifdef SIGNAL_TUNE_DEFAULT
int8_t signal_tune[] = {
BUZZER_NOTE_C8, 5,
BUZZER_NOTE_REST, 6,
BUZZER_NOTE_C8, 5,
0
};
#endif // SIGNAL_TUNE_DEFAULT
#ifdef SIGNAL_TUNE_ZELDA_SECRET
int8_t signal_tune[] = {
BUZZER_NOTE_G5, 8,
BUZZER_NOTE_F5SHARP_G5FLAT, 8,
BUZZER_NOTE_D5SHARP_E5FLAT, 8,
BUZZER_NOTE_A4, 8,
BUZZER_NOTE_G4SHARP_A4FLAT, 8,
BUZZER_NOTE_E5, 8,
BUZZER_NOTE_G5SHARP_A5FLAT, 8,
BUZZER_NOTE_C6, 20,
0
};
#endif // SIGNAL_TUNE_ZELDA_SECRET
#ifdef SIGNAL_TUNE_MARIO_THEME
int8_t signal_tune[] = {
BUZZER_NOTE_E6, 7,
BUZZER_NOTE_REST, 2,
BUZZER_NOTE_E6, 7,
BUZZER_NOTE_REST, 10,
BUZZER_NOTE_E6, 7,
BUZZER_NOTE_REST, 11,
BUZZER_NOTE_C6, 7,
BUZZER_NOTE_REST, 1,
BUZZER_NOTE_E6, 7,
BUZZER_NOTE_REST, 10,
BUZZER_NOTE_G6, 8,
BUZZER_NOTE_REST, 30,
BUZZER_NOTE_G5, 8,
0
};
#endif // SIGNAL_TUNE_MARIO_THEME
#ifdef SIGNAL_TUNE_KIM_POSSIBLE
int8_t signal_tune[] = {
BUZZER_NOTE_G7, 6,
BUZZER_NOTE_REST, 1,
BUZZER_NOTE_G4, 3,
BUZZER_NOTE_REST, 5,
BUZZER_NOTE_G7, 6,
BUZZER_NOTE_REST, 1,
BUZZER_NOTE_G4, 3,
BUZZER_NOTE_REST, 5,
BUZZER_NOTE_A7SHARP_B7FLAT, 6,
BUZZER_NOTE_REST, 2,
BUZZER_NOTE_G7, 6,
0
};
#endif // SIGNAL_TUNE_KIM_POSSIBLE
#endif // MOVEMENT_CUSTOM_SIGNAL_TUNES_H_