-
... uper.new.prototype_(prototype) } canAccept { arg ting; ^ting.isArray and: {ting.every(_.isNumber)} // ... and every is in itemSpec } default { ^prototype } defaultControl { ^this.default } storeArgs { ^[prototype] } } // abstract class for ...
-
... ng, replaceString = "", ignoreCase = false; // find / replace part of string in every slot of array // everything in the array is converted to string // numbers which after the find/replace action still // could be interpreted as numbers ar ...
-
... e used to implement little languages. // silly but simple: understand a Saw for every SinOsc this .preProcessor = { |code| code.replace( "SinOsc" , "Saw" ) }; { SinOsc .ar(200) * 0.1 }.play; preProcessor = nil ; // reset to nil.
-
TempoClockGui : ObjectGui { // displays current status of a tempoclock; updates every beat classvar namewidth = 100, nameheight = 18, numheight = 40, numwidth = 70, height = 50, width = 600, spec; var <w, <name, <namev, <bars, <beats, updat ...
-
... ); m.elAt.action = { |el| el.postln }; ( Tdef(\spoof, { // play five events for every element m.elementsDict.do { |elem| var desc = elem.elemDesc; var midiChan = desc[\midiChan]; var midiNum = desc[\midiNum]; var msgType = desc[\midiMsgType ...
-
... ain notes \mtranspose, Pseq([Pseq([0],3),Pseq([-5],3)],inf), // switched mode every 3 notes (*2) \gtranspose, Pseq([Pseq([0],36),Pseq([4],36),Pseq([[-3]],36),Pseq([2],36)],inf), \ctranspose, Pser([Pseries(-4,1,6) +.x Pseq([0], 144) ...
-
... ostf( key ); } }; }; ^oldObject; } *startObjectsIfRunning { if( ULib.allServers.every(_.serverRunning) ) { this.startObjects; }; } *startObjects { objects.keysValuesDo({ |key, value| value.prepareAndStart; if( this.verbose ) { "starting UMa ...
-
/* \timer This UMap measures the elapsed time between triggers. Every time a trigger is received, the UMap will output the time between that and the previous trigger. The value can be scaled from a within a time range to the output range of ...
-
/* \timer This UMap measures the elapsed time between triggers. Every time a trigger is received, the UMap will output the time between that and the previous trigger. The value can be scaled from a within a time range to the output range of ...
-
... note). One must provide a list of entries that can be checked and unchecked on every beat of the grid. Each index of the values List will contain every checked item, or be equal to nil if no entry has been checked. The size of the grid is ...