Created
April 28, 2015 19:15
-
-
Save st01c/4682902cfed6fe00d1ff to your computer and use it in GitHub Desktop.
Blixa Bargeld Hamlet Maschine sample
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
| # @st01c Signal Culture res Day 2 'Hamlet Maschine' sample | |
| load_sample "/Users/martinzeilinger/Music/LC/blixab.wav" | |
| print sample_duration "/Users/martinzeilinger/Music/LC/blixab.wav" | |
| sd = sample_duration "/Users/martinzeilinger/Music/LC/blixab.wav" | |
| blixab = "/Users/martinzeilinger/Music/LC/blixab.wav" | |
| step = 0.02 | |
| stpcnt = 0 #for debug only | |
| startt = 0.5 | |
| fint = 0.5 | |
| live_loop :blixab do | |
| with_fx :bitcrusher, bits: 7, mix: 0 do | |
| sample blixab, start: startt, finish: fint | |
| startt = startt-(step) if startt > 0.03 | |
| fint = fint+(step) if fint < 0.97 | |
| stpcnt += 1 #for debug only | |
| print [startt, fint, stpcnt] #for debug only | |
| print (fint-startt)*sd #for debug only | |
| sleep sd*(fint-startt) | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment