thank you very much !
there’s a typo sever: s in your demo.
and IdentityDictionary.newFrom('freq', [20, 20000, \exp], 'pan', [-1, 1, \lin]/*...*/) throws ERROR: Message 'keysValuesDo' not understood..
got it to work with:
(
s.waitForBoot({
Ndef(\myNdef,{
Pan2.ar( SinOsc.ar(\freq.kr(200),0,0.5), \pan.kr(0) );
}).play;
});
)
(
~reg = RegAutoMapSrvLL(
server: s,
synth: Ndef(\myNdef),
paramScale: IdentityDictionary().put('freq', [20, 20000, \exp], 'pan', [-1, 1, \lin]),
// paramScale: IdentityDictionary.newFrom('freq', [20, 20000, \exp], 'pan', [-1, 1, \lin]/*...*/),
paramExclude: [\amp],
defaultName: "regressor_default_name",
defaultPath: "/home/user/"
// defaultPath: "/home/user/"
);
)