Created
June 21, 2019 16:57
-
-
Save madskjeldgaard/ecf8e9f3bba5fb3bba483cdd04a9bf2d to your computer and use it in GitHub Desktop.
Livecoding time stretch
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
| // Try live coding this, Balint! Change some parameters and then reevalute | |
| ( | |
| Ndef(\balintthedragon, { | |
| arg buffer, // If you don't set the buffer argument, it will automatically take whatever buffer you have loaded in your server | |
| grainsize=0.5, | |
| rate=0.001, | |
| freqScale=0.25, | |
| volume=1, | |
| rand=0.1; | |
| Warp1.ar( | |
| 1, // Number of channels in the buffer | |
| buffer, | |
| pointer: LFSaw.kr(rate), | |
| freqScale: freqScale, | |
| windowSize: grainsize, | |
| envbufnum: -1, | |
| overlaps: 8, | |
| windowRandRatio: rand, | |
| interp: 4, | |
| mul: volume | |
| ) | |
| }).play; | |
| ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment