-
... sts the compile string, i.e. the code needed to recreate the receiver (here the array) ( var n = 3; (1..n).do { |num| { num.rand }.dup(200).postcs }; ) // in streams, tasks and routines, this works just as well: ( fork { var n = 14; (1..n). ...
-
... riplets to tripletIDs basic = this.bases.collectAs({ arg char; char.asString }, Array); tripletDict = IdentityDictionary.new; count = 0; basic.do({ arg item1; basic.do({ arg item2; basic.do({ arg item3; tripletDict.put((item1++item2++item3) ...
-
... ((8 * index/~dataspacechanwidth).sin) } //~data.heatMap(title: "training data (array)"); // You need the "heatMap" quark to run this line - visualises the data nicely ~dataspace.loadCollection(~data.flop.flatten); //~dataspace.heatMap(titl ...
-
... ying on when the actual synth is being started. objects such as Env or Float or Array will pass themselves as an instrOnly arg, thus fixing them in the synthDef objects such as Sample can be used in the course of the ugenGraph evaluation to ...
-
... . - Kind of private methods and variables (useful for inspection) - clients ( ) Array with the current clients. setters ( ) IdentityDictionary that keeps track of which clients are setters for which nodes. network ( ) The SWDataNetwork to w ...
-
... ope; ) b.free; ⧉ ✔ Or, you can calculate the transfer function in a client-side array (Signal class) then convert it to a wavetable and send the data over. b = Buffer.alloc(s, 1024, 1); // size must be power of two plus 1 t = Signal.chebyFi ...
-
... e = inDef.asSymbol; def = nil; }; if( this.def.notNil ) { args = this.def.asArgsArray( inArgs ? [] ); } { args = inArgs; "UModDef '%' not found".format(inDef).warn; }; } def { ^def ?? { defName.asUModDef } } defName { ^defName ?? { def.name ...
-
... bal[ id ] = nil; global.changed( id ); }); } *disposeAllGlobal { global.keys.as(Array).do({ |key| global[ key ].do(_.free); global[ key ] = nil; global.changed( key ); }); } *reloadAllGlobal { var keys; keys = global.keys.asArray; this.disp ...
-
... 0].asSymbol }; MKtlDesc.loadDescs("*", 0); loadedNames = MKtlDesc.allDescs.keys(Array).sort; // empty if every desc file was loaded as a desk nonLoaded = pathNames.difference(loadedNames); this.assert(nonLoaded.isEmpty, "all % desc.scd file ...
-
... start at the beginning of the bar, you can give the bar length as a number. An array of two numbers tells SuperCollider the bar length and the phase. To see how this works in practice, let's take the C major scale above and play two copies ...