Created
August 2, 2021 22:00
-
-
Save tunalad/9787017ca67ef648107f41e13a6cc508 to your computer and use it in GitHub Desktop.
[Sonic Pi] OST for a horror game that doesn't exist -> sunset ride
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
| # OST for a horror game that doesn't exist -> sunset ride | |
| # This code is used for making 11th track on the above mentioned beat tape | |
| # Final audio is sligthly altered | |
| use_debug false | |
| use_synth :saw | |
| live_loop :metronome do | |
| sleep 0.5 | |
| end | |
| live_loop :chords, sync: :metronome do #<<<<<<<<<<<<<<<<<<<<<<<<<< | |
| #stop | |
| with_fx :reverb, room: 1 do | |
| play_chord [:E2, :E2+3, :E2+9] | |
| sleep 1 | |
| play_chord [:E2-2, :E2+1, :E2+7] | |
| sleep 1 | |
| end | |
| end | |
| live_loop :melo, sync: :metronome do #<<<<<<<<<<<<<<<<<<<<<<<<<<<< | |
| #stop | |
| with_fx :reverb, room: 1 do | |
| play choose(scale(:E4, :minor)), amp: 0.25 | |
| sleep 0.25 | |
| end | |
| end | |
| live_loop :drums, sync: :metronome do #<<<<<<<<<<<<<<<<<<<<<<<<<<<< | |
| #stop | |
| drmpt = 12 | |
| if drmpt == 1 then | |
| sample :drum_bass_soft, amp: 1.25 | |
| sleep 1 | |
| sample :drum_snare_soft, amp: 1.5 | |
| sleep 1 | |
| else | |
| sample :drum_bass_soft, amp: 1.5 | |
| 4.times do | |
| sample :drum_cymbal_open, amp: 0.1 | |
| sleep 0.25 | |
| end | |
| sample :drum_snare_soft, amp: 1.5 | |
| 4.times do | |
| sample :drum_cymbal_open, amp: 0.1 | |
| sleep 0.25 | |
| end | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment