[Sc-devel] Embedding Specs in SynthDefs
James Harkins
jamshark70 at gmail.com
Sun Jul 29 23:08:19 PDT 2007
On Jul 29, 2007, at 6:03 AM, Scott Wilson wrote:
> My initial instinct would be to use array ordering when specifying,
> but probably to store the specs in the file in the same way as
> parameter names are stored: with an index to the corresponding
> parameter in the parameter array. For the Control.names case it
> might be simplest to copy the spec if desired, since I think that's
> the exception rather than the rule, but perhaps there's some clever
> way of referring to another spec that would save having to have a
> numberOfParametersToWhichThisSpecApplies value stored for every
> spec. So something like
>
> indexInParamArray, spec1...
> indexInParamArray, special flag and ref to spec1
>
> Either way I think that would take care of 2 and 3.
I don't think we can assume that every control in the array should
have the same spec. If I'm not mistaken, one of the most common uses
for that technique is to provide envelope values, in which case
breakpoint, duration, shape and curve should not use the same spec.
I don't have a solution in mind, but some kind of decision needs to
be reached, something that will not make the new feature too
complicated to use.
hjh
: H. James Harkins
: jamshark70 at dewdrop-world.net
: http://www.dewdrop-world.net
.::!:.:.......:.::........:..!.::.::...:..:...:.:.:.:..:
"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal." -- Whitman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.create.ucsb.edu/pipermail/sc-devel/attachments/20070729/69148d88/attachment.htm
More information about the Sc-devel
mailing list