Created
July 2, 2016 15:40
-
-
Save hopbit/64dd66bfb6b71f025b9bad918e1c0a46 to your computer and use it in GitHub Desktop.
Simple live loop presenting panning option in Sonic Pi
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
live_loop :left_right do | |
curr_pan = tick % 2 == 1 ? 1 : -1 | |
sample :loop_amen, pan: curr_pan | |
sleep sample_duration(:loop_amen) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment