Last active
August 29, 2015 14:21
-
-
Save alcluith/e17a75bf3688f74c40c1 to your computer and use it in GitHub Desktop.
Haunted
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
| #haunted | |
| # Welcome to Sonic Pi v2.1.1 | |
| # Claire Quigley, May 2015 | |
| # To listen, edit, etc. download Sonic Pi here: http://sonic-pi.net/ | |
| use_bpm 60 | |
| sq = 0.25 #sixteenth note | |
| qt= 0.30 #quaver triplet | |
| q = 0.5 #Eight note | |
| c = 1 #Quarter note | |
| m = 2 #Half note | |
| sb = 4 #Whole note | |
| live_loop :desc do | |
| with_fx :echo do | |
| use_synth :mod_saw | |
| sleep sb | |
| sleep m | |
| play scale(:c5, :minor_pentatonic).choose, | |
| decay: rand,res: 0.05, amp: 0.3 | |
| sleep 0.5 | |
| play scale(:c5, :minor_pentatonic).choose, | |
| decay: rand,res: 0.05, amp: 0.3 | |
| sleep 0.5 | |
| play scale(:c5, :minor_pentatonic).choose, | |
| decay: rand,res: 0.05, amp: 0.3 | |
| sleep 0.5 | |
| play scale(:c5, :minor_pentatonic).choose, | |
| decay: rand,res: 0.05, amp: 0.3 | |
| sleep 0.5 | |
| end | |
| end | |
| live_loop :chordy do | |
| use_synth :mod_dsaw | |
| use_synth_defaults amp: 0.3 | |
| play_chord [:c3,:ef3, :g3] | |
| sleep 2 | |
| play_chord [:f3,:af3, :c4] | |
| sleep 2 | |
| play_chord [:g3,:bf3, :d4] | |
| sleep 2 | |
| play_chord [:c3,:ef3, :g3] | |
| sleep 2 | |
| end | |
| live_loop :noisy do | |
| use_synth :pnoise | |
| play 45, amp: 5, cutoff: 50 | |
| sleep 1 | |
| end | |
| live_loop :sample1 do | |
| sync :chordy | |
| sample :ambi_haunted_hum | |
| sleep 2 | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment