[sc-users] buffer in SCAU

0001 0001 at ooo000ooo.org
Thu Aug 24 16:13:02 PDT 2006


hi. it's possible to do it from the lang, but not when doing  
standalone plugins.
as discussed before, this is a possible improvement, but I'm not sure  
how to go about it.


.
g



El 24/08/2006, a las 14:49, thor escribió:

>
>
> Hi Gerard, list
>
> Is it possible to allocate a buffer on a SCAU server?
>
> I've done some tests and I don't get it to work.
>
> If it's possible, where would one load the buffer in the following  
> code?
>
> // from an SCAU helpfile:
> (
> var name, func, specs, componentSubtype, builder;
>
> name = "workshopplug2"; // name of your plugin
> func =  {|freq=440|
> 	a = SinOsc.ar(freq, mul:0.5);
> 	Out.ar([0,1], a);//Output to AU host
> };
>
> specs =  #[
> 	[ 200, 900 , \linear, 0.1 ]
> 	];
> 	
> componentSubtype = "WORD"; // this must be a four chars code. It  
> sould be unique in your system within all SuperColliderAU plugins.
>
>
> builder = AudioUnitBuilder.new(name, componentSubtype,func, specs);
> builder.makePlugin;
> )
>
>
>
> thor
> _______________________________________________
> sc-users mailing list
> sc-users at create.ucsb.edu
> http://www.create.ucsb.edu/mailman/listinfo/sc-users




More information about the sc-users mailing list