Algorithmic Music in a Box
wesen - Manuel Odendahl - http://ruinwesen.com/
wesen - Manuel Odendahl - http://ruinwesen.com/
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Hello World<br />
• Scale Pitch to match a scale, for example<br />
m<strong>in</strong>or scale<br />
void setup() { }<br />
void loop() { }<br />
void handleGui() {<br />
if (BUTTON_PRESSED(BUTTON_1))<br />
MidiUart.sendNoteOn(scalePitch(random(60,<br />
80), 60, m<strong>in</strong>orScale),<br />
random(100));<br />
}