-
shortcuts to get function variables/arguments state as dictionary // variables ({ var aa = 3, bb = aa + 1, cc = 5; { |d v| d.inject((), { |a i k| a[i] = v[k] }) }.(thisFunctionDef.varNames, this.getBackTrace.vars); }.()) // argumen ...
-
... //scsynth.org/t/sorting-list-of-dictionaries-by-keys/705, https://scsynth.org/t/dictionary-and-array-inside-patterns/747, https://scsynth.org/t/orchestral-texture-v1/994/3). I made it to test it with some beautiful pan pipe sound files ...
-
... s tmp_array = Array.newClear(); tmp_buffers.do{ |item, index| var d = Dictionary.new; var string = PathName(item.path).fileNameWithoutExtension; var output = string.findRegexp("[abcdefgABCDEFG]#?[0123456789]"); var noteNa ...
-
... e", "stop", "activeSense", "reset" ]; // Register sources ~sources = Dictionary.new; MIDIClient.sources.do({ |mep| ~sources.add(mep.uid -> mep.device.catArgs(", ", mep.name)); }); // Register the debugger MIDIdef.freeAll; ...
-
render each synthdef in a given dictionary as one-shot sound file. ( q = (); q.numChans = 1; q.sRate = 48000; q.dur = 2; q.dirname = thisProcess.nowExecutingPath.dirname; q.subDirname = q.dirname +/+ "%-%sec-%chan".format(q.sRate, q.d ...
-
... zed strings. Inspired by middle eastern 9/8 rhythms. Replace the samples in the dictionary with whatever percussion sounds you have. //An experiment with euclidian patterns, sampled drums and synthesized strings. Inspired by middle eastern ...
-
... z and x - chords: [ceg] - spaces and others symbols are ignored ( ~notedef = Dictionary.newFrom(("CDEFGABcdefgab".as(Array).collect { arg ch, idx; [ch, idx-7] }).flat); ~notedef[$_] = \r; ~notedef[$x] = \r; ~notedef[$z] = \r; ~digitd ...
-
... ay(action: {|array| ~array2 = array}) ~array = ~array1 ++ ~array2; ~mkv = Dictionary.new; // Number of frames to create the chain ~slices=3 // Generate markov chain (~array.size/~slices).do {|idx| var i = (idx * ~slices).as ...
-
... var labels = "", links = "", i = 0; var doDict = { |x, func| if(x.isKindOf(Dictionary)) { x.keysValuesDo { |key, val| func.value(val, i, key) } } { x.do(func) } }; var addNode = { |i, j, key, label = ""| labels = labels ...
-
... this.defKeys = [\slider1,\btn1,\scene1,\scene1LEDs,\pad1]; this.defMap = Dictionary[ \slider1 ->1, \btn1-> 10, \scene1 -> 18, \scene1LEDs -> #[18,26], \pad1 ->36 ]; settings.do{|a| if(a != nil && a.size= ...