[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sc-users] SupercolliderAU and FFT
Hi List & thanks for your help before 0001.
So I've having some success with the supercolliderau wrapper however
I'm trying to do something with bhob's PV ugens. I have placed the scx
files from the package in the SupercolliderAU's plugin folder and
matched the pluginSpec info to the synthdef properly however the below
(slight variation of the PVrandcomb helpfile) example crashes logic.
Does anyone have any thoughts??
It's because of the buffer right?
Thanks in advance.
R
(
b = Buffer.alloc(s,2048,1);
SynthDef("randcomb", { arg out=0, bufnum=0, soundBufnum=2,
wipe = 0.5, trig = 0.4;
var in, chain;
in = AudioIn.ar(1);
chain = FFT(bufnum, in);
chain = PV_RandComb(chain, wipe, trig);
Out.ar(out, IFFT(chain).dup);
}).writeDefFile;
)
and the pluginSpec.plist file..
<plist version="1.0">
<dict>
<key>Synthdef</key>
<string>randcomb</string>
<key>Params</key>
<array>
<dict>
<key>ParamName</key>
<string>trig</string>
<key>MinValue</key>
<real>0.1</real>
<key>MaxValue</key>
<real>100</real>
<key>DefaultValue</key>
<real>0.4</real>
</dict>
<dict>
<key>ParamName</key>
<string>wipe</string>
<key>MinValue</key>
<real>0.1</real>
<key>MaxValue</key>
<real>1</real>
<key>DefaultValue</key>
<real>0.1</real>
</dict>
</array>
</dict>
</plist>