Created
May 19, 2015 12:22
-
-
Save alcluith/94a62f236172d260dca2 to your computer and use it in GitHub Desktop.
Cherry Pi
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
| #cherry pi | |
| # Welcome to Sonic Pi v2.1.1 | |
| # Claire Quigley, May 2015 | |
| # To listen, edit, etc. download Sonic Pi here: http://sonic-pi.net/ | |
| use_random_seed(540) | |
| live_loop :tune do | |
| with_fx(:echo, phase: [0.25,0.125].choose) do | |
| use_synth :mod_sine | |
| play choose([:e4, :g4, :b4, :a4]), amp: rrand(0,2) | |
| sleep choose([0.5,1]) | |
| end | |
| end | |
| live_loop :guitars do | |
| with_fx :reverb do | |
| with_fx :distortion do | |
| sample :guit_e_fifths | |
| sleep 2 | |
| sample :guit_e_fifths, rate: -1 | |
| sleep 2 | |
| end | |
| end | |
| end | |
| live_loop :beat do | |
| sample :drum_bass_soft | |
| sample :bass_trance_c, amp: 1.5 | |
| sleep 2 | |
| sample :drum_bass_soft | |
| sleep 0.5 | |
| sample :drum_bass_soft | |
| sleep 0.5 | |
| sleep 1 | |
| end | |
| live_loop :noise1 do | |
| sample :ambi_glass_rub, release: 1 | |
| sleep sample_duration(:ambi_glass_rub) | |
| end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment