-
... { ^next } }; ^nil } collect { |function| ^this.asStream.collect(function).all } select { |function| ^this.asStream.select(function).all; } do { |function| this.asStream.do(function) } reject { |function| ^this.select({ |...args| function.(* ...
-
... hape,mul: pulseLevel); //sin alias. // Opción B: (permite hard sync) sigPulse = Select.ar(phase<((pulseMod)-1),K2A.ar([1,0]))*pulseLevel; // Opción C: //sigPulse = LFPulse.ar(freq: scaledFreq, width: pulseShape, mul: pulseLevel); // Opción ...
-
... und= false; //--try multiple ports if many with similar name SerialPort.devices.select{|path| serialPortNames.any{|name| name.matchRegexp(path)} }.do{|path| var str= "", byte, timer; if(portFound.not, { port= try{SerialPort(path, 38400, crt ...
-
... s // will be picked randomly for these slots. //// Define which Ndef-presets to select for any loaded sound processes, //// including the four sound slots NTMI.initialPresetNames = [ 'bleepo' -> 'vocca', 'xFMSH' -> 'border', \revFB -> \slol ...
-
... aZ.refreshFunc}.defer; }); }); } {str2 == 'rmv'} { getTrack = (aZ.mixTrackNames.select{|item| item.asString.contains("track") }.last).asString.divNumStr; aZ.removeTrack(\track, getTrack[1]); } ; }, { "could not find assemblage".warn; }); }, ...
-
... nge(0.1, 5) ).range(-20, 0).dbamp }); inf.do { presetsToChoose = NdefPreset.all.select { |pre| pre.settings.size > 3 }; envir.numNdefs = presetsToChoose.size; preset !? { presetsToChoose.removeAt(preset.key) }; preset = presetsToChoose.choo ...
-
... Point.new(buttonWidth, buttonHeight), ) .action_({ arg button; // In case user selects new synth during a running demo, STOP that demo right away: playButton.valueAction = 0; // Now update currentSynth currentSynthText.string = button.stri ...
-
... 6.do { 1.wait; NTMI.pre.stepNdefInf(NTMI.ndefs[0], nil) }; NTMI.g.setFrontText("Select sound processes:"); 2.do { 1.wait; NTMI.slots.stepNext(0); NTMI.slots.playAt(0); NTMI.pre.stepNextInf(NTMI.ndefs[0]); NTMI.pre.butAction(0); }; NTMI.g.se ...
-
... " example. // It's nicest if there's an editor command to add {}.draw about the selected region, else you can write it in. ( { var m = LFSaw.kr(0.4, 0) * 24 + (LFSaw.kr([8, 7.23], 0) * 3 + 80); CombN.ar(SinOsc.ar(m.midicps, 0) * 0.04, 0.2, ...
-
... ct({ |pair| if(pair[0] != pair[1], { pair[0].asInteger }, { nil }) }); if(margs.select({ |i| i.notNil }).size > 0, { this.midiConnect(*margs); }, { this.midiConnect; }) }, 0, { this.midiDisconnect } ) }) .focusColor_(Color.green) ; if(GUI.i ...