Created
July 3, 2020 21:25
-
-
Save manualbashing/020e96c7149875386dbed89950efc21e to your computer and use it in GitHub Desktop.
Nervous Beat #SonicPi
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
| define :whoosh do | |
| use_synth :pulse | |
| play :F, amp: 0.2, release:3, attack:2 | |
| play :E, amp: 0.2, release:3, attack:2 | |
| sample :ambi_lunar_land, amp: 0.4 | |
| end | |
| live_loop :nervous_beep do | |
| with_fx :bitcrusher, phase: 0.5, decay: 8 do | |
| use_synth :saw | |
| play_pattern [:E,:A,:D,:G,:B], amp: 0.2 if one_in(10) | |
| play_pattern_timed [:E,:A,:D,:G,:B], 0.5, amp: 0.2 | |
| whoosh if one_in(4) | |
| sleep 0.5 | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment