Skip to content

Instantly share code, notes, and snippets.

@fronx
Created October 31, 2011 21:04
Show Gist options
  • Select an option

  • Save fronx/1328951 to your computer and use it in GitHub Desktop.

Select an option

Save fronx/1328951 to your computer and use it in GitHub Desktop.
tracks = {
hihats: [0,0,1,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,1,0],
snare: [0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1],
kick: [1,0,0,0,1,0,0,0,0,0,1,0,0,0,1,0,0,1,1,0,0,1,0,0]
};
samples = {
hihats: sounds.woody10,
snare: sounds.woody5,
kick: sounds.woody1
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment