Browse Source

Fixed bugs in examples

akshaycadambi 5 years ago
parent
commit
96c62c4850

examples/01-BareMinimum.ino → examples/01.BareMinimum/BareMinimum.ino


+ 2 - 0
examples/02-SineOscillator.ino

@@ -7,6 +7,8 @@ MSynth: A modular-synthesis library for Arduino
 Author: Akshay Cadambi (akshay19.92@gmail.com)
 */
 
+#include "MSynth.h"
+
 void setup()
 {
     MSynth.init();

+ 2 - 0
examples/03-SynthDefs.ino

@@ -8,6 +8,8 @@ MSynth: A modular-synthesis library for Arduino
 Author: Akshay Cadambi (akshay19.92@gmail.com)
 */
 
+#include "MSynth.h"
+
 void setup()
 {
     MSynth.init();

+ 15 - 0
keywords.txt

@@ -0,0 +1,15 @@
+MSynth KEYWORD1
+sample KEYWORD1
+
+Sine KEYWORD1
+Saw KEYWORD1
+ReverseSaw KEYWORD1
+Tri KEYWORD1
+Square KEYWORD1
+
+audioLoop KEYWORD2
+WavetableSynth KEYWORD2
+void setFreq KEYWORD2
+sample freqMod KEYWORD2
+virtual sample KEYWORD2
+