-
... *findValuesForKey { arg commandLine, key, delimiter=$ ; var j, k, indices, res, keySize; key = key ++ delimiter; keySize = key.size; Pipe.do(commandLine, { |l| indices = l.findAll(key); indices !? { indices.do { |j| j = j + keySize; while { ...
-
/* \single_chord This is the standard UMap for UPattern. The UMap turns the pattern into a single chord player. I.e. it plays a number of copies of the chain at the same time, with the same duration as the whole UPattern (can be inf) n: num ...
-
///////// Example for an external MIDI device /////// /* Doepfer Pocket fader box has 16 sliders. // For a usage example, see "Tutorials/Connecting_external_MIDI_devices".openHelpFile; thisProcess.nowExecutingPath.basename.split($.).first.p ...
-
/* \single_chord This is the standard UMap for UPattern. The UMap turns the pattern into a single chord player. I.e. it plays a number of copies of the chain at the same time, with the same duration as the whole UPattern (can be inf) n: num ...
-
... .stringify(obj.asString) }); if(obj.isKindOf(Dictionary), { out = List.new; obj.keysValuesDo({ arg key, value; out.add( key.asString.asCompileString ++ ":" + JSON.stringify(value) ); }); ^("{" ++ (out.join(", ")) ++ "}"); }); if(obj.isNil, ...
-
... Buf, topMelodyMIDIBuf, macrorhythm, microrhythmSelector, arpegPatSelector, adaptKeysForTopMelody, mode, parms| var new; BP.exists(newBPname).not.if({ new = PR(parentName).chuck(PR(childName).chuck(BP(newBPname), nil, parms), nil, parms); // ...
-
... em-midi (SC has other ways of doing that), the only "midi" about it is that the keys are numbered according to the MIDI standard. *new(window, bounds, octaves, startnote); window - A SCWindow in which the MIDIKeyboard will appear bounds - T ...
-
... in .selected of this object."); var list = ListView.new(win) .items_( bufNames.keys.collect{|k| k.asString }.asArray ).action_({|obj| var index = obj.value; var fn = list.items[index]; var polybufIndex = bufNames.at(fn); if(preview, { this ...
-
... D.next ++ ".txt"; params = params?IdentityDictionary.new; paramsString = params.keys(Array).collect({|k| k.asString ++ "=" ++ params[k].asString.urlEncode}).join("&"); if (url.contains(separator)){separator = "&"}; cmd = "curl -H \"%\" \"%\ ...
-
/* \rec_soundBuf This UMapDef can be used to replace a regular BufSndFile (soundFile) on \bufSoundFile, \grainSoundFile, \loopSoundFile and \trigSoundFile units. It creates a single-channel (mono) buffer that can record audio from previous ...