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

[sc-dev] Spec.specs overwritten by Crucial.sc



hi,

the default specs in Spec.specs are overwritten by Crucial.sc since some keys are the same, but unfortunately the units fields are missing:

x = Spec.specs[ \freq ];
x.units;	// --> empty string

because in ControlSpec (ControlModel.sc)

			\freq -> ControlSpec(20, 20000, \exp, 0, 440, units: " Hz"),

and in Crucial.sc:

			'freq'->ControlSpec.new(20, 20000, 'exp', 0, 440),


(others which aren't overwritten, still have their units, like \lofreq)

is it possible to remove duplicate keys from Crucial.sc or otherwise add the units fields?

thx, -sciss-