Last active
June 4, 2016 01:39
-
-
Save AlexandreRangel/2e37dfe4ef77842b1a15e58d6f99ae65 to your computer and use it in GitHub Desktop.
Sonic Pi 2.10 music code
This file contains hidden or 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
use_bpm 36 | |
x = 0 | |
128.times do | |
use_synth ring(:dsaw,:dpulse,:dtri)[x] | |
play (ring(60,62,65,60)[x])- ring(12,4,8,4,6,4)[x], | |
attack: ring(2,4,2,8)[x], | |
sustain: ring(2,4)[x], | |
release: ring(2,4,2,8,8)[x], | |
detune: ring(1,0.25,4,2,8,0.1,2,0.5)[x*7], | |
detune_slide: ring(2,8,2,4,2,6,2,8)[x], | |
cutoff: ring(40,60,20,40,60)[x*3], | |
cutoff_slide: [4,2,8][(x/2.0).to_i], | |
pan: ring(-0.5,0.5)[x], | |
pan_slide: ring(8,16,8)[x], | |
amp: ring(0.8,1.2)[x], | |
amp_slide: ring(3,6,3)[x] | |
sleep ring(2,3,6,3,3,6)[x] | |
x = x + 1 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment