A simple string synthesizer implementing the Karplus-Strong algorithm. Licensed under the GNU LGPL.

Dependencies:   mbed

Revision:
0:ce6724069f0a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Notes.h	Wed Jan 09 22:46:12 2013 +0000
@@ -0,0 +1,120 @@
+/* 
+ * libmbed-synth An audio synthesis library capable of running
+ * alongside other activities.
+ * Copyright (C) <2009> Michael Sheldon <mike@mikeasoft.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library 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
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+*/
+
+#ifndef MBED_NOTES_H
+#define MBED_NOTES_H
+
+#define NOTE_G0        24.50
+#define NOTE_A_FLAT0   25.96
+#define NOTE_A0        27.50
+#define NOTE_B_FLAT0   29.14
+#define NOTE_B0        30.87
+#define NOTE_C1        32.70
+#define NOTE_C_SHARP1  34.65
+#define NOTE_D1        36.71
+#define NOTE_E_FLAT1   38.89
+#define NOTE_E1        41.20
+#define NOTE_F1        43.65
+#define NOTE_F_SHARP1  46.25
+#define NOTE_G1        49.00
+#define NOTE_A_FLAT1   51.91
+#define NOTE_A1        55.00
+#define NOTE_B_FLAT1   58.27
+#define NOTE_B1        61.74
+#define NOTE_C2        65.41
+#define NOTE_C_SHARP2  69.30
+#define NOTE_D2        73.42
+#define NOTE_E_FLAT2   77.78
+#define NOTE_E2        82.41
+#define NOTE_F2        87.31
+#define NOTE_F_SHARP2  92.50
+#define NOTE_G2        98.00
+#define NOTE_A_FLAT2   103.83
+#define NOTE_A2        110.00
+#define NOTE_B_FLAT2   116.54
+#define NOTE_B2        123.47
+#define NOTE_C3        130.81
+#define NOTE_C_SHARP3  138.59
+#define NOTE_D3        146.83
+#define NOTE_E_FLAT3   155.56
+#define NOTE_E3        164.81
+#define NOTE_F3        174.61
+#define NOTE_F_SHARP3  185.00
+#define NOTE_G3        196.00
+#define NOTE_A_FLAT3   207.65
+#define NOTE_A3        220.00
+#define NOTE_B_FLAT3   233.08
+#define NOTE_B3        246.94
+#define NOTE_C4        261.63
+#define NOTE_C_SHARP4  277.18
+#define NOTE_D4        293.66
+#define NOTE_E_FLAT4   311.13
+#define NOTE_E4        329.63
+#define NOTE_F4        349.23
+#define NOTE_F_SHARP4  369.99
+#define NOTE_G4        392.00
+#define NOTE_A_FLAT4   415.30
+#define NOTE_A4        440.00
+#define NOTE_B_FLAT4   466.16
+#define NOTE_B4        493.88
+#define NOTE_C5        523.25
+#define NOTE_C_SHARP5  554.37
+#define NOTE_D5        587.33
+#define NOTE_E_FLAT5   622.25
+#define NOTE_E5        659.26
+#define NOTE_F5        698.46
+#define NOTE_F_SHARP5  739.99
+#define NOTE_G5        783.99
+#define NOTE_A_FLAT5   830.61
+#define NOTE_A5        880.00
+#define NOTE_B_FLAT5   932.33
+#define NOTE_B5        987.77
+#define NOTE_C6        1046.50
+#define NOTE_C_SHARP6  1108.73
+#define NOTE_D6        1174.66
+#define NOTE_E_FLAT6   1244.51
+#define NOTE_E6        1318.51
+#define NOTE_F6        1396.91
+#define NOTE_F_SHARP6  1479.98
+#define NOTE_G6        1567.98
+#define NOTE_A_FLAT6   1661.22
+#define NOTE_A6        1760.00
+#define NOTE_B_FLAT6   1864.66
+#define NOTE_B6        1975.53
+#define NOTE_C7        2093.00
+#define NOTE_C_SHARP7  2217.46
+#define NOTE_D7        2349.32
+#define NOTE_E_FLAT7   2489.02
+#define NOTE_E7        2637.02
+#define NOTE_F7        2793.83
+#define NOTE_F_SHARP7  2959.96
+#define NOTE_G7        3135.96
+#define NOTE_A_FLAT7   3322.44
+#define NOTE_A7        3520.00
+#define NOTE_B_FLAT7   3729.31
+#define NOTE_B7        3951.07
+#define NOTE_C8        4186.01
+#define NOTE_C_SHARP8  4434.92
+#define NOTE_D8        4698.64
+#define NOTE_E_FLAT8   4978.03
+
+
+#endif
\ No newline at end of file