[sc-users] buffer in SCAU
thor
th.list at gmail.com
Thu Aug 24 14:49:03 PDT 2006
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.create.ucsb.edu/pipermail/sc-users/attachments/20060824/e2d82c7b/attachment.htm
More information about the sc-users
mailing list