276 lines
15 KiB
C
276 lines
15 KiB
C
/* Any song or sound without a license explicitly stated is:
|
|
*
|
|
* Copyright 2016 Jack Humbert
|
|
* Copyright 2017 Zach White
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
#pragma once
|
|
|
|
#include "musical_notes.h"
|
|
|
|
#if __has_include("user_song_list.h")
|
|
# include "user_song_list.h"
|
|
#endif // if file exists
|
|
|
|
#define NO_SOUND
|
|
|
|
/* Ode to Joy
|
|
* Author: Friedrich Schiller
|
|
+ License: Public Domain
|
|
*/
|
|
#define ODE_TO_JOY Q__NOTE(_E4), Q__NOTE(_E4), Q__NOTE(_F4), Q__NOTE(_G4), Q__NOTE(_G4), Q__NOTE(_F4), Q__NOTE(_E4), Q__NOTE(_D4), Q__NOTE(_C4), Q__NOTE(_C4), Q__NOTE(_D4), Q__NOTE(_E4), QD_NOTE(_E4), E__NOTE(_D4), H__NOTE(_D4),
|
|
|
|
/* Rock-a-bye Baby
|
|
* Author: Unknown
|
|
+ License: Public Domain
|
|
*/
|
|
#define ROCK_A_BYE_BABY QD_NOTE(_B4), E__NOTE(_D4), Q__NOTE(_B5), H__NOTE(_A5), Q__NOTE(_G5), QD_NOTE(_B4), E__NOTE(_D5), Q__NOTE(_G5), H__NOTE(_FS5),
|
|
|
|
#define CLUEBOARD_SOUND HD_NOTE(_C3), HD_NOTE(_D3), HD_NOTE(_E3), HD_NOTE(_F3), HD_NOTE(_G3), HD_NOTE(_A4), HD_NOTE(_B4), HD_NOTE(_C4)
|
|
/*
|
|
HD_NOTE(_G3), HD_NOTE(_E3), HD_NOTE(_C3), \
|
|
Q__NOTE(_E3), Q__NOTE(_C3), Q__NOTE(_G3), \
|
|
Q__NOTE(_E3)
|
|
*/
|
|
/*
|
|
HD_NOTE(_C3), HD_NOTE(_G3), HD_NOTE(_E3), \
|
|
Q__NOTE(_G3), Q__NOTE(_E3), Q__NOTE(_G3), \
|
|
Q__NOTE(_F3)
|
|
*/
|
|
|
|
#define STARTUP_SOUND E__NOTE(_E6), E__NOTE(_A6), ED_NOTE(_E7),
|
|
|
|
#define GOODBYE_SOUND E__NOTE(_E7), E__NOTE(_A6), ED_NOTE(_E6),
|
|
|
|
#define PLANCK_SOUND ED_NOTE(_E7), E__NOTE(_CS7), E__NOTE(_E6), E__NOTE(_A6), M__NOTE(_CS7, 20),
|
|
|
|
#define PREONIC_SOUND M__NOTE(_B5, 20), E__NOTE(_B6), M__NOTE(_DS6, 20), E__NOTE(_B6),
|
|
|
|
#define QWERTY_SOUND E__NOTE(_GS6), E__NOTE(_A6), S__NOTE(_REST), Q__NOTE(_E7),
|
|
|
|
#define COLEMAK_SOUND E__NOTE(_GS6), E__NOTE(_A6), S__NOTE(_REST), ED_NOTE(_E7), S__NOTE(_REST), ED_NOTE(_GS7),
|
|
|
|
#define DVORAK_SOUND E__NOTE(_GS6), E__NOTE(_A6), S__NOTE(_REST), E__NOTE(_E7), S__NOTE(_REST), E__NOTE(_FS7), S__NOTE(_REST), E__NOTE(_E7),
|
|
|
|
#define WORKMAN_SOUND E__NOTE(_GS6), E__NOTE(_A6), S__NOTE(_REST), E__NOTE(_GS6), E__NOTE(_A6), S__NOTE(_REST), ED_NOTE(_FS7), S__NOTE(_REST), ED_NOTE(_A7),
|
|
|
|
#define PLOVER_SOUND E__NOTE(_GS6), E__NOTE(_A6), S__NOTE(_REST), ED_NOTE(_E7), S__NOTE(_REST), ED_NOTE(_A7),
|
|
|
|
#define PLOVER_GOODBYE_SOUND E__NOTE(_GS6), E__NOTE(_A6), S__NOTE(_REST), ED_NOTE(_A7), S__NOTE(_REST), ED_NOTE(_E7),
|
|
|
|
#define MUSIC_ON_SOUND E__NOTE(_A5), E__NOTE(_B5), E__NOTE(_CS6), E__NOTE(_D6), E__NOTE(_E6), E__NOTE(_FS6), E__NOTE(_GS6), E__NOTE(_A6),
|
|
|
|
#define AUDIO_ON_SOUND E__NOTE(_A5), E__NOTE(_A6),
|
|
|
|
#define AUDIO_OFF_SOUND E__NOTE(_A6), E__NOTE(_A5),
|
|
|
|
#define MUSIC_SCALE_SOUND MUSIC_ON_SOUND
|
|
|
|
#define MUSIC_OFF_SOUND E__NOTE(_A6), E__NOTE(_GS6), E__NOTE(_FS6), E__NOTE(_E6), E__NOTE(_D6), E__NOTE(_CS6), E__NOTE(_B5), E__NOTE(_A5),
|
|
|
|
#define VOICE_CHANGE_SOUND Q__NOTE(_A5), Q__NOTE(_CS6), Q__NOTE(_E6), Q__NOTE(_A6),
|
|
|
|
#define CHROMATIC_SOUND Q__NOTE(_A5), Q__NOTE(_AS5), Q__NOTE(_B5), Q__NOTE(_C6), Q__NOTE(_CS6),
|
|
|
|
#define MAJOR_SOUND Q__NOTE(_A5), Q__NOTE(_B5), Q__NOTE(_CS6), Q__NOTE(_D6), Q__NOTE(_E6),
|
|
|
|
#define MINOR_SOUND Q__NOTE(_A5), Q__NOTE(_B5), Q__NOTE(_C6), Q__NOTE(_D6), Q__NOTE(_E6),
|
|
|
|
#define GUITAR_SOUND Q__NOTE(_E5), Q__NOTE(_A5), Q__NOTE(_D6), Q__NOTE(_G6),
|
|
|
|
#define VIOLIN_SOUND Q__NOTE(_G5), Q__NOTE(_D6), Q__NOTE(_A6), Q__NOTE(_E7),
|
|
|
|
#define CAPS_LOCK_ON_SOUND E__NOTE(_A3), E__NOTE(_B3),
|
|
|
|
#define CAPS_LOCK_OFF_SOUND E__NOTE(_B3), E__NOTE(_A3),
|
|
|
|
#define SCROLL_LOCK_ON_SOUND E__NOTE(_D4), E__NOTE(_E4),
|
|
|
|
#define SCROLL_LOCK_OFF_SOUND E__NOTE(_E4), E__NOTE(_D4),
|
|
|
|
#define NUM_LOCK_ON_SOUND E__NOTE(_D5), E__NOTE(_E5),
|
|
|
|
#define NUM_LOCK_OFF_SOUND E__NOTE(_E5), E__NOTE(_D5),
|
|
|
|
#define AG_NORM_SOUND E__NOTE(_A5), E__NOTE(_A5),
|
|
|
|
#define AG_SWAP_SOUND SD_NOTE(_B5), SD_NOTE(_A5), SD_NOTE(_B5), SD_NOTE(_A5),
|
|
|
|
#define UNICODE_WINDOWS E__NOTE(_B5), S__NOTE(_E6),
|
|
|
|
#define UNICODE_LINUX E__NOTE(_E6), S__NOTE(_B5),
|
|
|
|
#define TERMINAL_SOUND E__NOTE(_C5)
|
|
|
|
/* Title: La Campanella
|
|
* Author/Composer: Frank Lizst
|
|
* License: Public Domain
|
|
*/
|
|
#define CAMPANELLA \
|
|
Q__NOTE(_DS4), E__NOTE(_DS4), E__NOTE(_DS5), Q__NOTE(_DS5), E__NOTE(_DS5), E__NOTE(_DS6), Q__NOTE(_DS5), E__NOTE(_DS5), E__NOTE(_DS6), Q__NOTE(_CS5), E__NOTE(_CS5), E__NOTE(_DS6), Q__NOTE(_B4), E__NOTE(_B4), E__NOTE(_DS6), Q__NOTE(_B4), E__NOTE(_B4), E__NOTE(_DS6), Q__NOTE(_AS4), E__NOTE(_AS4), E__NOTE(_DS6), Q__NOTE(_GS4), E__NOTE(_GS4), E__NOTE(_DS6), Q__NOTE(_G4), E__NOTE(_G4), E__NOTE(_DS6), Q__NOTE(_GS4), E__NOTE(_GS4), E__NOTE(_DS6), Q__NOTE(_AS4), E__NOTE(_AS4), E__NOTE(_DS6), Q__NOTE(_DS4), E__NOTE(_DS4), E__NOTE(_DS6), Q__NOTE(_DS5), E__NOTE(_DS5), E__NOTE(_DS6), Q__NOTE(_E5), E__NOTE(_E5), E__NOTE(_DS6), Q__NOTE(_DS5), E__NOTE(_DS5), E__NOTE(_DS6), Q__NOTE(_CS5), E__NOTE(_CS5), E__NOTE(_DS6), Q__NOTE(_B4), E__NOTE(_B4), E__NOTE(_DS6), Q__NOTE(_B4), E__NOTE(_B4), E__NOTE(_DS6), Q__NOTE(_AS4), E__NOTE(_AS4), E__NOTE(_DS6), Q__NOTE(_GS4), E__NOTE(_GS4), E__NOTE(_DS6), Q__NOTE(_G4), E__NOTE(_G4), E__NOTE(_DS6), Q__NOTE(_GS4), E__NOTE(_GS4), E__NOTE(_DS6), Q__NOTE(_AS4), \
|
|
E__NOTE(_AS4), E__NOTE(_DS6), Q__NOTE(_DS4), E__NOTE(_DS4), E__NOTE(_DS5), Q__NOTE(_DS5), E__NOTE(_DS5), E__NOTE(_DS6), Q__NOTE(_DS6), E__NOTE(_DS6), E__NOTE(_DS7), Q__NOTE(_DS6), E__NOTE(_DS6), E__NOTE(_DS7), Q__NOTE(_CS6), E__NOTE(_CS6), E__NOTE(_DS7), Q__NOTE(_B5), E__NOTE(_B5), E__NOTE(_DS7), Q__NOTE(_B5), E__NOTE(_B5), E__NOTE(_DS7), Q__NOTE(_AS5), E__NOTE(_AS5), E__NOTE(_DS7), Q__NOTE(_GS5), E__NOTE(_GS5), E__NOTE(_DS7), Q__NOTE(_G5), E__NOTE(_G5), E__NOTE(_DS7), Q__NOTE(_GS5), E__NOTE(_GS5), E__NOTE(_DS7), Q__NOTE(_AS5), E__NOTE(_AS5), E__NOTE(_DS7), Q__NOTE(_DS5), E__NOTE(_DS5), E__NOTE(_DS7), W__NOTE(_DS6), W__NOTE(_GS5),
|
|
|
|
/* Title: Fantaisie-Impromptu
|
|
* Author/Composer: Chopin
|
|
* License: Public Domain
|
|
*/
|
|
#define FANTASIE_IMPROMPTU \
|
|
E__NOTE(_GS4), E__NOTE(_A4), E__NOTE(_GS4), E__NOTE(_REST), E__NOTE(_GS4), E__NOTE(_CS5), E__NOTE(_E5), E__NOTE(_DS5), E__NOTE(_CS5), E__NOTE(_DS5), E__NOTE(_CS5), E__NOTE(_C5), E__NOTE(_CS5), E__NOTE(_E5), E__NOTE(_GS5), E__NOTE(_GS4), E__NOTE(_A4), E__NOTE(_GS4), E__NOTE(_REST), E__NOTE(_GS4), E__NOTE(_CS5), E__NOTE(_E5), E__NOTE(_DS5), E__NOTE(_CS5), E__NOTE(_DS5), E__NOTE(_CS5), E__NOTE(_C5), E__NOTE(_CS5), E__NOTE(_E5), E__NOTE(_GS5), E__NOTE(_A4), E__NOTE(_CS5), E__NOTE(_DS5), E__NOTE(_FS5), E__NOTE(_A5), E__NOTE(_CS6), E__NOTE(_DS6), E__NOTE(_B6), E__NOTE(_A6), E__NOTE(_GS6), E__NOTE(_FS6), E__NOTE(_E6), E__NOTE(_DS6), E__NOTE(_FS6), E__NOTE(_CS6), E__NOTE(_C5), E__NOTE(_DS6), E__NOTE(_A5), E__NOTE(_GS5), E__NOTE(_FS5), E__NOTE(_A5), E__NOTE(_E5), E__NOTE(_DS5), E__NOTE(_FS5), E__NOTE(_CS5), E__NOTE(_C5), E__NOTE(_DS5), E__NOTE(_A4), E__NOTE(_GS4), E__NOTE(_B4), E__NOTE(_A4), E__NOTE(_A4), E__NOTE(_GS4), E__NOTE(_A4), E__NOTE(_GS4), E__NOTE(_REST), E__NOTE(_GS4), \
|
|
E__NOTE(_CS5), E__NOTE(_E5), E__NOTE(_DS5), E__NOTE(_CS5), E__NOTE(_DS5), E__NOTE(_CS5), E__NOTE(_C5), E__NOTE(_CS5), E__NOTE(_E5), E__NOTE(_GS5), E__NOTE(_GS4), E__NOTE(_AS4), E__NOTE(_GS4), E__NOTE(_REST), E__NOTE(_GS4), E__NOTE(_CS5), E__NOTE(_E5), E__NOTE(_DS5), E__NOTE(_CS5), E__NOTE(_DS5), E__NOTE(_CS5), E__NOTE(_C5), E__NOTE(_CS5), E__NOTE(_E5), E__NOTE(_GS5), E__NOTE(_DS5), E__NOTE(_E5), E__NOTE(_DS5), E__NOTE(_REST), E__NOTE(_DS5), E__NOTE(_B5), E__NOTE(_AS5), E__NOTE(_GS5), E__NOTE(_REST), E__NOTE(_E6), E__NOTE(_DS6), E__NOTE(_CS6), E__NOTE(_B5), E__NOTE(_AS5), E__NOTE(_GS5), E__NOTE(_REST), E__NOTE(_AS5), WD_NOTE(_GS5),
|
|
|
|
/* Title: Nocturne Op. 9 No. 1 in B flat minor
|
|
* Author/Composer: Chopin
|
|
* License: Public Domain
|
|
*/
|
|
#define NOCTURNE_OP_9_NO_1 \
|
|
H__NOTE(_BF5), H__NOTE(_C6), H__NOTE(_DF6), H__NOTE(_A5), H__NOTE(_BF5), H__NOTE(_GF5), W__NOTE(_F5), W__NOTE(_F5), W__NOTE(_F5), W__NOTE(_F5), H__NOTE(_GF5), H__NOTE(_F5), H__NOTE(_EF5), H__NOTE(_C5), B__NOTE(_DF5), W__NOTE(_BF4), Q__NOTE(_BF5), Q__NOTE(_C6), Q__NOTE(_DF6), Q__NOTE(_A5), Q__NOTE(_BF5), Q__NOTE(_A5), Q__NOTE(_GS5), Q__NOTE(_A5), Q__NOTE(_C6), Q__NOTE(_BF5), Q__NOTE(_GF5), Q__NOTE(_F5), Q__NOTE(_GF5), Q__NOTE(_E5), Q__NOTE(_F5), Q__NOTE(_BF5), Q__NOTE(_A5), Q__NOTE(_AF5), Q__NOTE(_G5), Q__NOTE(_GF5), Q__NOTE(_F5), Q__NOTE(_E5), Q__NOTE(_EF5), Q__NOTE(_D5), Q__NOTE(_DF5), Q__NOTE(_C5), Q__NOTE(_DF5), Q__NOTE(_C5), Q__NOTE(_B4), Q__NOTE(_C5), Q__NOTE(_F5), Q__NOTE(_E5), Q__NOTE(_EF5), B__NOTE(_DF5), W__NOTE(_BF4), W__NOTE(_BF5), W__NOTE(_BF5), W__NOTE(_BF5), BD_NOTE(_AF5), W__NOTE(_DF5), H__NOTE(_BF4), H__NOTE(_C5), H__NOTE(_DF5), H__NOTE(_GF5), H__NOTE(_GF5), BD_NOTE(_F5), W__NOTE(_EF5), H__NOTE(_F5), H__NOTE(_EF5), H__NOTE(_DF5), H__NOTE(_A4), B__NOTE(_AF4), \
|
|
W__NOTE(_DF5), W__NOTE(_EF5), H__NOTE(_F5), H__NOTE(_EF5), H__NOTE(_DF5), H__NOTE(_EF5), BD_NOTE(_F5),
|
|
|
|
/* Title: State Anthem of the Soviet Union
|
|
* Author/Composer: Alexander Alexandrov
|
|
* License: Public Domain
|
|
*/
|
|
#define USSR_ANTHEM B__NOTE(_G6), B__NOTE(_C7), W__NOTE(_G6), H__NOTE(_A6), B__NOTE(_B6), W__NOTE(_E6), W__NOTE(_E6), B__NOTE(_A6), W__NOTE(_G6), H__NOTE(_F6), B__NOTE(_G6), W__NOTE(_C6), W__NOTE(_C6), B__NOTE(_D6), W__NOTE(_D6), W__NOTE(_E6), B__NOTE(_D6), W__NOTE(_D6), W__NOTE(_G6), B__NOTE(_F6), W__NOTE(_G6), W__NOTE(_A6), B__NOTE(_B6),
|
|
|
|
/* Removed sounds
|
|
+ This list is here solely for compatibility, so that removed songs don't just break things
|
|
* If you think that any of these songs were wrongfully removed, let us know and provide
|
|
* proof of permission to use them, or public domain status.
|
|
*/
|
|
|
|
#ifndef CLOSE_ENCOUNTERS_5_NOTE
|
|
# define CLOSE_ENCOUNTERS_5_NOTE
|
|
#endif
|
|
#ifndef DOE_A_DEER
|
|
# define DOE_A_DEER
|
|
#endif
|
|
#ifndef IN_LIKE_FLINT
|
|
# define IN_LIKE_FLINT
|
|
#endif
|
|
#ifndef IMPERIAL_MARCH
|
|
# define IMPERIAL_MARCH
|
|
#endif
|
|
#ifndef BASKET_CASE
|
|
# define BASKET_CASE
|
|
#endif
|
|
#ifndef COIN_SOUND
|
|
# define COIN_SOUND
|
|
#endif
|
|
#ifndef ONE_UP_SOUND
|
|
# define ONE_UP_SOUND
|
|
#endif
|
|
#ifndef SONIC_RING
|
|
# define SONIC_RING
|
|
#endif
|
|
#ifndef ZELDA_PUZZLE
|
|
# define ZELDA_PUZZLE
|
|
#endif
|
|
#ifndef ZELDA_TREASURE
|
|
# define ZELDA_TREASURE
|
|
#endif
|
|
#ifndef OVERWATCH_THEME
|
|
# define OVERWATCH_THEME
|
|
#endif
|
|
#ifndef MARIO_THEME
|
|
# define MARIO_THEME
|
|
#endif
|
|
#ifndef MARIO_GAMEOVER
|
|
# define MARIO_GAMEOVER
|
|
#endif
|
|
#ifndef MARIO_MUSHROOM
|
|
# define MARIO_MUSHROOM
|
|
#endif
|
|
#ifndef E1M1_DOOM
|
|
# define E1M1_DOOM
|
|
#endif
|
|
#ifndef DISNEY_SONG
|
|
# define DISNEY_SONG
|
|
#endif
|
|
#ifndef NUMBER_ONE
|
|
# define NUMBER_ONE
|
|
#endif
|
|
#ifndef CABBAGE_SONG
|
|
# define CABBAGE_SONG
|
|
#endif
|
|
#ifndef OLD_SPICE
|
|
# define OLD_SPICE
|
|
#endif
|
|
#ifndef VICTORY_FANFARE_SHORT
|
|
# define VICTORY_FANFARE_SHORT
|
|
#endif
|
|
#ifndef ALL_STAR
|
|
# define ALL_STAR
|
|
#endif
|
|
#ifndef RICK_ROLL
|
|
# define RICK_ROLL
|
|
#endif
|
|
#ifndef FF_PRELUDE
|
|
# define FF_PRELUDE
|
|
#endif
|
|
#ifndef TO_BOLDLY_GO
|
|
# define TO_BOLDLY_GO
|
|
#endif
|
|
#ifndef KATAWARE_DOKI
|
|
# define KATAWARE_DOKI
|
|
#endif
|
|
#ifndef MEGALOVANIA
|
|
# define MEGALOVANIA
|
|
#endif
|
|
#ifndef MICHISHIRUBE
|
|
# define MICHISHIRUBE
|
|
#endif
|
|
#ifndef LIEBESLEID
|
|
# define LIEBESLEID
|
|
#endif
|
|
#ifndef MELODIES_OF_LIFE
|
|
# define MELODIES_OF_LIFE
|
|
#endif
|
|
#ifndef EYES_ON_ME
|
|
# define EYES_ON_ME
|
|
#endif
|
|
#ifndef SONG_OF_THE_ANCIENTS
|
|
# define SONG_OF_THE_ANCIENTS
|
|
#endif
|
|
#ifndef NIER_AMUSEMENT_PARK
|
|
# define NIER_AMUSEMENT_PARK
|
|
#endif
|
|
#ifndef COPIED_CITY
|
|
# define COPIED_CITY
|
|
#endif
|
|
#ifndef VAGUE_HOPE_COLD_RAIN
|
|
# define VAGUE_HOPE_COLD_RAIN
|
|
#endif
|
|
#ifndef KAINE_SALVATION
|
|
# define KAINE_SALVATION
|
|
#endif
|
|
#ifndef WEIGHT_OF_THE_WORLD
|
|
# define WEIGHT_OF_THE_WORLD
|
|
#endif
|
|
#ifndef ISABELLAS_LULLABY
|
|
# define ISABELLAS_LULLABY
|
|
#endif
|
|
#ifndef TERRAS_THEME
|
|
# define TERRAS_THEME
|
|
#endif
|
|
#ifndef RENAI_CIRCULATION
|
|
# define RENAI_CIRCULATION
|
|
#endif
|
|
#ifndef PLATINUM_DISCO
|
|
# define PLATINUM_DISCO
|
|
#endif
|
|
#ifndef LP_NUMB
|
|
# define LP_NUMB
|
|
#endif
|