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

Re: [sc-dev] UGen Creation q



Oh, okay.  So for primitives you might have:

Class {
     *method {
       _Primitive_
       ^this.primitiveFailed;
     }
}

And for plugins you might have:

Plugin {
     method {
     }
}

Where Plugin and method are identical in name to what's defined in the C code.




On Mon, 13 Jan 2003 09:52:45 -0800 James McCartney <asynth@xxxxxx> wrote:

> 
> writing plugins to scsynth is entirely a
> different thing than writing a 
> primitive for sclang.
> 
> On Monday, January 13, 2003, at 08:55 AM,  
> wrote:
> 
> > So when do you have to include the primitive
> name (in your SC code), 
> > like:
> >
> > Class {
> >       *method {
> >           _Primitive_
> >        }
> > }
> >
> >
> > And when do you just need to name the SC
> class the same as your Obj-C 
> > class?
> >
> >
> -- 
> --- james mccartney   james@xxxxxxxxxxxxxx   
> SuperCollider - a real time synthesis
> programming language for the 
> PowerMac.
> 
> 
> _______________________________________________
> sc-dev mailing list
> sc-dev@xxxxxxxxxxxxxxx
> http://www.create.ucsb.edu/mailman/listinfo/sc-dev
>