Skip to content

Instantly share code, notes, and snippets.

@tomhayes
tomhayes / drumseq
Last active April 10, 2019 22:14
Sonic Pi Drum Sequencer
#DRUM SEQUENCER
use_bpm 125
#PATTERNS (1=on, 0=off, 8 steps but add more if needed)
kickpattern = (bools 1,0,0,0,1,0,0,0)
snarepattern = (bools 0,0,0,1,0,0,1,0)
hatpattern = (bools 1,0,1,0,1,0,1,1)
#RESOLUTION (set step resolution in 0.25s)
seqres = 0.25
<LinearLayout
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<TextView
android:text="Guest List"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />