Created
July 7, 2016 09:48
-
-
Save tedthetrumpet/66f8b57fb72b4c56081610d1ac9e77d7 to your computer and use it in GitHub Desktop.
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
~changesamples = { | |
|x="hitz01"| | |
if ( ["hitz01","soh","hamburg", "iowa"].indexOfEqual(x) != nil, | |
{ var path = "/Users/jsimon/Music/SuperCollider Recordings/" ++ x ++ "/"; | |
Buffer.freeAll; | |
~bufs = (path ++ "*.aiff").pathMatch.collect({ |i| Buffer.read(s, i)});}, | |
{"that's not a sample folder".error; nil}) | |
}; | |
~changesamples.(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment