Damn, JITlib is impressive. Frankly, it would be
nice to have a better documentation (at least an
in-depth tutorial, like the one James did for
Patterns)
Best
-a-
On 5 Mar 2009, at 10:40, Alberto de Campo wrote:
(
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 : <mailto:adc@xxxxxxxx>adc@xxxxxxxx
--
_______________________________________________
sc-users mailing list
info (subscription, etc.):
<http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml>http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive:
<https://listarc.bham.ac.uk/marchives/sc-users/>https://listarc.bham.ac.uk/marchives/sc-users/
search:
<https://listarc.bham.ac.uk/lists/sc-users/search/>https://listarc.bham.ac.uk/lists/sc-users/search/
--------------------------------------------------
Andrea Valle
--------------------------------------------------
CIRMA - DAMS
Università degli Studi di Torino
--> <http://www.cirma.unito.it/andrea/>http://www.cirma.unito.it/andrea/
--> <http://www.myspace.com/andreavalle>http://www.myspace.com/andreavalle
--> <http://www.flickr.com/photos/vanderaalle/>http://www.flickr.com/photos/vanderaalle/
-->
<http://www.youtube.com/user/vanderaalle>http://www.youtube.com/user/vanderaalle
--> <mailto:andrea.valle@xxxxxxxx>andrea.valle@xxxxxxxx
--------------------------------------------------
"The objectives of SuperCollider have been taken
a stage further with the development of SAOL,
the fruits of a research project based at MIT,
launched in 1998"
(P. Manning, Electronic and Computer Music,
revised and expanded edition, 2004)