-
SynthDefPool a public library of handy SynthDefs Run this line: SynthDefPool .gui The main purpose of this quark is as a public pool for SynthDef s that are useful/instructive/cool. Please feel free to contribute to it. HOW TO ADD A NEW SYN ...
-
... 'icon', "*icontrols" ); /// or a nanoKontrol 2 k = MKtl( 'nk2', "*kontrol2"); k.gui; Ndef( \sound1).play(0.25); Ndef( \sound1).gui; // to see params change // setting the continuous controls: ( // sl 0 can set one param each of sound1 and s ...
-
... SVGFile .read( Document .current.path.dirname ++ "/example.svg" ); f.asRect; asGUICode ( penClass ) returns a string with executable GUI-style pen code. If you copy the code to a file, enclose it in curly brackets ( { } ) and use it as a d ...
-
Crucial { *initClass { Class.initClassTree(GUI); // this skin is cleaner and more basic than the default // GUI.setSkin(\crucial) in your startup GUI.skins.put(\crucial, ( fontSpecs: ["Helvetica", 11.0], fontColor: Color.black, background: ...
-
/* Env.test UnitTest.gui */ TestEnv : UnitTest { test_equality { var a,b,c; a = Env([ 0, 1.0, 1.0, 0 ], [ 0.01, 1.0, 1.0 ], 'lin', nil, nil); b = Env([ 0, 1.0, 1.0, 0 ], [ 0.01, 1.0, 1.0 ], 'lin', nil, nil); c = Env([ 0, 2.0, 1.0, 0 ], [ 0. ...
-
Crucial { classvar <>documentDir = ""; *initClass { Class.initClassTree(GUI); // this skin is cleaner and more basic than the default // GUI.setSkin(\crucial) in your startup GUI.skins.put(\crucial, ( fontSpecs: ["Helvetica", 11.0], fontCol ...
-
Grid a simple GUI grid This GUI widget can be useful in various situations such as representing scales, step sequencers, etc. In some cases it might be better to use the class BoxGrid . The grid is basically a graphical representation of 2 ...
-
// Sherman Filterbank 2 Descriptionfile /* m = MKtl(\x, "*bank-2"); m.gui; */ ( deviceName: "Sherman FilterBank 2", protocol: \midi, deviceType: \filterbank, elementTypes: [\button, \knob], status: ( linux: "unknown", osx: "unknown", win: " ...
-
... sesRandomInit = true; // headless platform or regular desktop? NTMI.defaults.hasGui = \View.asClass.notNil; NTMI.defaults.hasSmallScreen = false; // tell NTMI my username, e.g. for automatic networking NTMI.defaults.myname = Platform.userHo ...
-
... 'icon', "*icontrols" ); /// or a nanoKontrol 2 k = MKtl( 'nk2', "*kontrol2"); k.gui; Ndef( \sound1).play; Ndef( \sound1).gui; // to see params change // use a global dict q for intermediate variables and functions q = q ? (); // setting the ...