Skip to content

Instantly share code, notes, and snippets.

@shawngraham
Created February 29, 2016 02:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save shawngraham/032312584f7c30e67f57 to your computer and use it in GitHub Desktop.
Save shawngraham/032312584f7c30e67f57 to your computer and use it in GitHub Desktop.
#require 'csv'
#data = CSV.parse(File.read("/Users/shawngraham/jesuit/jes2.csv"), {:headers => true, :header_converters => :symbol})
#trying to get a bit more performative with the sonic-pi. Two columns of topics.
use_bpm 50
live_loop :amen_break do
sample :loop_amen, beat_stretch: 2 #,cutoff: 70
sleep 2
end
with_fx :ring_mod do
live_loop :vortex do
# use_random_seed 800
#notes = (scale :e3, :minor_pentatonic, num_octaves: 3)
notes = (ring 58, 69, 42, 42, 45, 44, 50, 53, 49, 41, 48, 49, 43, 48, 44, 49, 43, 42, 51, 69)
16.times do
play notes.choose, release: 0.1, amp: 1.5 #delete the .choose or add it in
sleep 0.125
end
end
end
with_fx :rlpf do
live_loop :secondvortex do
# use_random_seed 800
#notes = (scale :e3, :minor_pentatonic, num_octaves: 3)
notes = (ring 63, 56, 61, 60, 77, 52, 55, 56, 52, 55, 53, 65, 58, 67, 62, 57, 66, 58, 68, 58)
16.times do
play notes.choose, release: 0.1, amp: 1.5 #delete .choose or add it in as desired
sleep 0.125
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment