aboutsummaryrefslogtreecommitdiffstats
path: root/quantum/audio
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/audio')
-rw-r--r--quantum/audio/audio.c2
-rw-r--r--quantum/audio/audio.h6
-rw-r--r--quantum/audio/audio_pwm.c2
-rw-r--r--quantum/audio/song_list.h8
4 files changed, 13 insertions, 5 deletions
diff --git a/quantum/audio/audio.c b/quantum/audio/audio.c
index 3ca249fdf..ead5fbf3e 100644
--- a/quantum/audio/audio.c
+++ b/quantum/audio/audio.c
@@ -6,7 +6,7 @@
#include <avr/io.h>
#include "print.h"
#include "audio.h"
-#include "keymap_common.h"
+#include "keymap.h"
#include "eeconfig.h"
diff --git a/quantum/audio/audio.h b/quantum/audio/audio.h
index 00d45f7ac..47f326ea0 100644
--- a/quantum/audio/audio.h
+++ b/quantum/audio/audio.h
@@ -1,3 +1,6 @@
+#ifndef AUDIO_H
+#define AUDIO_H
+
#include <stdint.h>
#include <stdbool.h>
#include <avr/io.h>
@@ -7,9 +10,6 @@
#include "voices.h"
#include "quantum.h"
-#ifndef AUDIO_H
-#define AUDIO_H
-
// Largely untested PWM audio mode (doesn't sound as good)
// #define PWM_AUDIO
diff --git a/quantum/audio/audio_pwm.c b/quantum/audio/audio_pwm.c
index 328a253a7..f820eec1b 100644
--- a/quantum/audio/audio_pwm.c
+++ b/quantum/audio/audio_pwm.c
@@ -6,7 +6,7 @@
#include <avr/io.h>
#include "print.h"
#include "audio.h"
-#include "keymap_common.h"
+#include "keymap.h"
#include "eeconfig.h"
diff --git a/quantum/audio/song_list.h b/quantum/audio/song_list.h
index fc6fcdeef..8022ca672 100644
--- a/quantum/audio/song_list.h
+++ b/quantum/audio/song_list.h
@@ -28,6 +28,14 @@
Q__NOTE(_E4), Q__NOTE(_C4), \
Q__NOTE(_E4),
+/* Requires: PLAY_NOTE_ARRAY(..., ..., STACCATO); */
+#define IN_LIKE_FLINT \
+ E__NOTE(_AS4), E__NOTE(_AS4), QD_NOTE(_B4), \
+ E__NOTE(_AS4), E__NOTE(_B4), QD_NOTE(_CS4), \
+ E__NOTE(_B4), E__NOTE(_CS4), QD_NOTE(_DS4), \
+ E__NOTE(_CS4), E__NOTE(_B4), QD_NOTE(_AS4), \
+ E__NOTE(_AS4), E__NOTE(_AS4), QD_NOTE(_B4),
+
#define GOODBYE_SOUND \
E__NOTE(_E7), \
E__NOTE(_A6), \