-
/* \p_time_humanize Creates an pattern UMap intended to use on the 'timeToNext' value of UPatterns. It can add a random factor to start times of events. The UMap will internally track the original time, so that it doesn't drift away. time: ...
-
... allows to play events in superdirt from sclang Event.addEventType(\dirt, { var keys, values; var dirt = ~dirt ? SuperDirt.default; if(dirt.isNil) { Error("dirt event: no dirt instance found.\n\n// You could try:\nSuperDirt.default = ~dirt; ...
-
... ityDictionary.new; params.put(\api_key,Freesound2.api_key); paramsString=params.keys(Array).collect({|k|k.asString++"="++params[k].asString.urlEncode}).join("&"); if (url.contains(separator)){separator="&"}; cmd = "curl '"++this.url++separa ...
-
/* basic desc file for Beatstep default setup See also rel0, rel-16 descs for relative control with examples. MKtl('bs', "arturia-beatstep"); MKtl('bs').trace.gui; // TODO: * setting an encoder to a value from SC, so encoder continues movin ...
-
// // gyrosc iphone/ipad app // has lots of movement sensors: // gyro, accel, comp, matrix, rrate, quat, grav, mag, gps // implemented as example: gyro and accel, // others can be added later as needed. /* todo: * add others movement sensor ...
-
When you understand that Ndef can be used to modulate pattern keys, it opens a whole new world ( ~name = "saw"; SynthDef(~name, { arg out=0, amp=0.1, gate=1, pan=0, spread=0.8, freq=200, doneAction=2, ffreq=300, rq=0.3; var sig; sig ...
-
... }); global[ 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; t ...
-
... deepDoAssoc { |assoc| size = max(size, assoc.keyDropSize) }; ^size } findMaximalKeySize { var size = 0; this.deepDoAssoc { |assoc| size = max(size, assoc.keySize) }; ^size } } // set is for random choice. + Set { deepFindRule { arg list, in ...
-
... : Pdef , Pbind Description Pbindef keeps a reference to a Pbind in which single keys can be replaced, combining PbindProxy and Pdef . It plays on when the old stream ended and a new stream is set and schedules the changes to the beat. the d ...
-
... {|key| ^moduleDict[key] } // borrowed from Modality Toolkit (+Dictionary) pr_allKeys {|species| var dict = this.moduleDict, ancestry = []; while { dict.notNil } { ancestry = ancestry.add(dict); dict = dict.parent; }; ^ancestry.collect { |di ...