[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-users] gui for synth
(
s.waitForBoot({
SynthDef("test", { arg out, freq=330, amp=0.6;
Out.ar(out, SinOsc.ar(freq,0,amp))
}).store;
SynthDescLib.global.at(\test).makeWindow;
});
)
or JITLib style
Ndef(\sin, { |freq=330, amp=0.2, bla=12| SinOsc.ar(freq) * amp });
Ndef(\sin).play;
// freq.asSpec and amp.asSpec exist,
// \bla does not, so define it
Spec.add(\bla, [200, 2000, \exp]);
NodeProxyEditor(Ndef(\sin), nSliders: 5);
best, a
--
--
Alberto de Campo
Bergstrasse 59/33
A-8020 Graz, Austria
e-mail : adc@xxxxxxxx
--
_______________________________________________
sc-users mailing list
info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/