-
... with the highest amplitude, otherwise the first one in the frequency array. // example, execute line by line d = Dissonance .make([100,200,300,400,500],[32, 16, 8, 4, 2], 0.49, 4.01, 0.01); //-> [1/2, 3/5, 2/3, 3/4, 4/5, 1/1, 5/4, 4/3, 3/2 ...
-
// example for useful conveniences q = q ? (); // helpful things to find all the files in this setup folder: q.utilDir = thisProcess.nowExecutingPath.dirname; q.topDir = q.utilDir.dirname; q.fulldirnames = (q.topDir +/+ "*/").pathMatch; q.d ...
-
/* This is an example startup file. If you want to modify it, best copy it elsewhere to keep the git repository clean. You can then load it by calling "path/to/my/superdirt_startup.scd".load from the supercollider startup file The supercoll ...
-
... a given measure. getMeterFromBeat (beat) Return the XMLMeter for a given beat. Examples // simple example ( // create an XMLScore z = XMLScore .new; // add a voice to the XMLScore z.add(y = XMLPart (meter: XMLMeter (4, 4), key: XMLKey .maj ...
-
... eableCollection or IdentityDictionary, \n" ++ "see PbindFx help for details and examples.\n" } miSC_getFxOrderData { |fxDataSize, maxSplitSize = 8, doCheck = true| // this makes an input check if doCheck == true // receiver can be // (1) an ...
-
... ave no way of disagreeing to become an argument. The class Polite implements an example of how such nicer behaviour may go. This could also be implemented as a Lift. So we see perhaps some convergence around ExtendableObject and Lift. */ Po ...
-
/* From AI by Example book p. 125 */ NonPenetrationConstrain{ *new{ arg entity,entList; entList.do{ arg obstacle; case {obstacle.isKindOf(Wall)} {NonPenetrationConstrainWall(entity, obstacle, 0.05)} {obstacle.isKindOf(Entity)} {NonPenetrati ...
-
... nelView toplevel synthbox control panel AUTHOR: Marinus Klaassen (2012, 2021Q3) EXAMPLE: SynthBoxControlPanelView(\default).front */ SynthBoxControlPanelView : View { var <>metaData, <gui, <defName, <>randomAction, <>playTrigger, <>playTogg ...
-
///////// Example for an external MIDI device /////// /* This is the default slider values for the 16n faderbank device. */ ( deviceName: "16n", protocol: \midi, deviceType: \faderbox, elementTypes: [\fader], status: ( linux: "unknown", osx ...
-
... Stacked coin tossed with random weight. AUTHOR: Marinus Klaassen (2012, 2021Q3) EXAMPLE: a = Pbernoulli2(5,0.1,inf).asStream; b = a.nextN(200); b.plot; b.histo(100,0,1.0).plot; */ Pbernoulli2 : Pattern { var <>n, <>weight, <>length; *new { ...