[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] SupercolliderAU and FFT



How would you allocate a buffer within the AU system?

Josh

******************************************
Joshua Parmenter
joshp@xxxxxxxxxxxxxxxx
Post-Doctoral Research Associate - Center for Digital Arts and Experimental Media
Raitt Hall - University of Washington
Seattle, Washington 98195

http://www.dxarts.washington.edu
http://www.realizedsound.net/josh/


On May 13, 2006, at 12:21 PM, rod wrote:

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>

_______________________________________________
sc-users mailing list
sc-users@xxxxxxxxxxxxxxx
http://www.create.ucsb.edu/mailman/listinfo/sc-users