-
... Def, addNumPartialsToSynthDef] + ".").postvg; ^failureEvent }; if (synthSpecs.isArray) { if (synthSpecs.includes(nil)) { ("VGSynth: one synthspec missing...").postvg; synthSpecs = synthSpecs.select(_.notNil); }; synthSpecs = synthSpecs.flop ...
-
... Jack is not running.".postln; } }; } *getconnections{ var pp, line1, line2, destArray; connections = (); pp = Pipe.new(prepend++"jack_lsp -c", "r"); line1 = pp.getLine; while({line1.notNil}, { destArray = Array.new; while { line2 = pp.getLi ...
-
... nnot vary depending on which buffer you use. Class Methods RecordBuf. ar ( inputArray , bufnum: 0 , offset: 0.0 , recLevel: 1.0 , preLevel: 0.0 , run: 1.0 , loop: 1.0 , trigger: 1.0 , doneAction: 0 ) RecordBuf. kr ( inputArray , bufnum: 0 , ...
-
... target times // blink start time is (target - blinkDuration) // new blink list array blinkList = { var min, sec, target, start; list.collect({ arg item; if(item.isString, { min = item.split($:).at(0).asInteger; sec = item.split($:).at(1).a ...
-
... arams an ~add ~add = [4, 9]; ~step = 2; ~len = 4; ~add = [4, 9, 13]; // replace array element ( ~a[0] = Pbind ( \midinote , 80 + Pseq ((0.8, 0.6..0)) + PL ( \add ), \dur , 0.05 ); ) x.stop;
-
... ue( 0.6 ) ]] ).radius_( 5 ); f = SmoothButton ( w, 80 @ 20 ).states_([[ "radius=Array" ]]).radius_( [ 0 , 10 , 4 , 7 ] ); border border width in px (default 2). The color of the border cannot be changed; it is always dark grey and white whe ...
-
... stlen - 1 ); ^ldata.meanF; } betweenPeakRiseDecay{ var ldata, result; result = Array.fill( 4, 0); if ( crossOn, { crossIDoff = 0 } ); if ( (crossIDon < data.size) and: (crossIDoff < data.size ), { ldata = data.copyRange( crossIDoff, crossI ...
-
... occur (soft takeover). Ndef ( \test , { |freq=200| Splay.ar( SinOsc .ar(freq * Array.rand(12, 0.95, 1.05))) }); Ndef ( \test ).play(vol: 0.1); Ndef ( \test ).gui(4) Ndef ( \test ).set( \freq , 300); // 3 midi steps == 0.02362; Ndef ( \test ...
-
... FILE: //(need to reboot interpreter in case new file is plotted) if(x.isKindOf(Array).not, { x= CSVFileReader.read("/Users/khofstadter/Library/Application Support/SuperCollider/downloaded-quarks/OpenBCI-SuperCollider/savedData/OpenBCI-RAW- ...
-
... to do this: ( SynthDef ( "help-multichannel FFT" , { arg out=0; // bufnum is an array var in, chain; in = [ SinOsc .ar(200, 0, 0.2), WhiteNoise .ar(0.2)]; chain = FFT ( LocalBuf ([2048, 2048]), in); // each FFT has a different buffer // now ...