Created
February 26, 2012 20:34
-
-
Save charlieroberts/1918859 to your computer and use it in GitHub Desktop.
Intro code snippet for Gibber
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d = Drums("xoxo", _4); // x = kick, o = snare, quarter note (_4) gets the beat | |
s = Synth(); // create an oscillator accepting note messages | |
s.fx.add( Reverb() ); // add Reverb to our synth | |
s.note("A#4"); // test synth by telling it to play a note | |
a = Arp("C2m7", _4); // arpeggiate a C minor 7 chord with quarter notes | |
a.slave(s); // control the synth with our arpeggiator |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment