Skip to content

Instantly share code, notes, and snippets.

@LukasNowok

LukasNowok/bufferWolf.scd

Last active Jul 15, 2016
Embed
What would you like to do?
layering buffers
({
var path = ...; // path to soundfile
var buf = Buffer.read(s, path);
var count = 500; // number of iterations
s.sync; // wait for the buffer to load
count.do // play and layer the buffer a bazillion times
{
{PlayBuf.ar(buf.numChannels, buf, [0.5, 1, 1.5].wchoose([1, 2, 1].normalizeSum), 1, buf.numFrames.rand, 1)*count.reciprocal}.play;
};
}.fork)
@hakanjonsson

This comment has been minimized.

Copy link

@hakanjonsson hakanjonsson commented Jul 15, 2016

Thanks for sharing

@novadeviator

This comment has been minimized.

Copy link

@novadeviator novadeviator commented Jul 15, 2016

great name of the file. thanks for sharing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment