Skip to content

Instantly share code, notes, and snippets.

View jweather's full-sized avatar

Jeremy Weatherford jweather

View GitHub Profile
@jweather
jweather / gist:200c7925a38b08215b8f
Created March 23, 2015 18:27
Sonic Pi: untitled composition
# based on https://vimeo.com/50061269 by Andrew Sorensen
use_bpm 90
use_synth :dsaw
loops = [0, 0, 0, 0, 0]
define :pat do |notes, amps, time, count, rel, loop|
with_fx :reverb do
count.times do |i|
play notes[i], amp: loops[loop]*rrand(amps[i]-0.05, amps[i]+0.05), release: rel