Created
April 10, 2019 22:02
-
-
Save datramt/266bb69d1a10a8bea95f054e6fdb9839 to your computer and use it in GitHub Desktop.
live hiss
This file contains 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 :live_hiss do | |
in_thread do | |
loop do | |
adjusted_stretch_2_bpm = current_bpm/7.5 | |
sample :vinyl_hiss, beat_stretch: adjusted_stretch_2_bpm | |
sleep adjusted_stretch_2_bpm | |
end | |
end | |
end | |
live_hiss |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment