summaryrefslogtreecommitdiffstats
path: root/src/notes.h
diff options
context:
space:
mode:
authorgrm <grm@eyesin.space>2025-02-22 02:36:27 +0200
committergrm <grm@eyesin.space>2025-02-22 02:36:27 +0200
commit500b9a07b93d6cd3e771edc5698e06d163da60f1 (patch)
tree08aace91a7ec7600b254b986bf5458362dab33f3 /src/notes.h
parent04b3dbe0a339c42d7b2085bcd6149e9277d699a1 (diff)
downloadsynth-project-500b9a07b93d6cd3e771edc5698e06d163da60f1.tar.gz
synth-project-500b9a07b93d6cd3e771edc5698e06d163da60f1.tar.bz2
synth-project-500b9a07b93d6cd3e771edc5698e06d163da60f1.zip
a year of changes (web, better soundcard handling, biquad)
Diffstat (limited to 'src/notes.h')
-rw-r--r--src/notes.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/notes.h b/src/notes.h
index ed6b3e6..bab7117 100644
--- a/src/notes.h
+++ b/src/notes.h
@@ -16,7 +16,8 @@ static float note_B[] = {30.87, 61.74, 123.47, 246.94, 493.88, 987.77, 1975.53,
static float *notes[12] = {note_C, note_Db, note_D, note_Eb, note_E, note_F, note_Gb, note_G, note_Ab, note_A, note_Bb, note_B };
-static char *
+// do I really want inline? used to be static
+inline char *
int_to_note(int n)
{
switch (n) {