You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
542 B
Plaintext
15 lines
542 B
Plaintext
s.reboot;
|
|
s.quit
|
|
|
|
b = Buffer.read(s,"../../release-packaging/AudioFiles/Tremblay-AaS-SynthTwoVoices-M.wav".resolveRelative);
|
|
|
|
// basic param
|
|
{FluidTransients.ar(PlayBuf.ar(1,b.bufnum,loop:1))}.play
|
|
|
|
// sexier params
|
|
{FluidTransients.ar(PlayBuf.ar(1,b.bufnum,loop:1),80,threshFwd:MouseX.kr(0,5),threshBack:MouseY.kr(0,2))}.play
|
|
|
|
// null test (the process add a latency of (blockSize + padding - order) samples
|
|
{var sig = PlayBuf.ar(1,b.bufnum,loop:1); [FluidTransients.ar(sig).sum - DelayN.ar(sig, 1, ((256 + 128 - 20)/ s.sampleRate))]}.play
|
|
|