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.
Euclidean Rhythm<br />
• Use a callback on every 16th note and<br />
check for each track if a hit has to be sent<br />
void on16Callback() {<br />
for (u<strong>in</strong>t8_t i = 0; i < 4; i++) {<br />
if (euclids[i].track.isHit(<br />
MidiClock.div16th_counter)) {<br />
MD::triggerTrack(euclids[i].<br />
pitchEncoder.getValue(), 100);<br />
}<br />
}<br />
}