[Sc-devel] Embedding Specs in SynthDefs

Scott Wilson sdwilson at wesleyan.edu
Mon Jul 30 23:04:09 PDT 2007


On 30 Jul 2007, at 21:35, James Harkins wrote:

>
> You mentioned that there is a potential sync problem with this, but I
> think Felix is onto what would be the best solution for performance.
> Keep the precompiled .scsyndef files for the server to load directly,
> and get the specs from the now-hypothetical Instrument class. You
> would not need to rebuild the instruments, just load the text files
> which would save the Instrument objects (with specs) into an in-memory
> library. You would have a lot of functions sitting around in memory to
> build the UGen graphs, but there is no obligation to execute those
> functions every time you load your piece. (It's the function
> execution, in buildUGenGraph, that takes the time.)

That's basically what I had in mind.

S.



More information about the Sc-devel mailing list