Dear list,<br><br>I added a sample scrubber (etymology; <a href="http://www.webopedia.com/TERM/A/audio_scrubbing.html">http://www.webopedia.com/TERM/A/audio_scrubbing.html</a> ) called "scrub" to Fluxa/Redacted.<br>
<br>It takes a sample filename and a node, then uses the output of this node to determine where in the file to read. This is normalised from 0 to 1. So;<br><br>(scrub "sample.wav" (ramp 0 1 5)) ;play back the sample over 5 seconds, regardless of it's original length (for example to sync to (seq ))<br>
<br>(scrub "sample.wav" (lfo-revsaw 1)) ;looped playback with a cycle of a second<br><br>(scrub "sample.wav" (lfo-sine 1)) ;"back&forth" looping<br><br>You can also do primitive time-stretching by adding some signals and and it should be able to cut breakbeats with some infrastructure in Racket. It should also be good for wave-table style things, given a collection of waves consisting of a known amount of cycles. And you can do lots of funny weird noises too, of course.<br>
<br>I'm using the asynchronous sample loader that (sample ) uses too, so files are cashed and won't be heard immediately.<br><br>Yours,<br>Kas.<br>