Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3508) Code (266) Doc (1134) Help (293) Quark (1779) Plugin (36) SCDoc ↗ Forum ↗ Google ↗
  1. extVGSound_eventFor Quark

    ... Def, addNumPartialsToSynthDef] + ".").postvg; ^failureEvent }; if (synthSpecs.isArray) { if (synthSpecs.includes(nil)) { ("VGSynth: one synthspec missing...").postvg; synthSpecs = synthSpecs.select(_.notNil); }; synthSpecs = synthSpecs.flop ...

  2. SCJConnection Quark

    ... 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 ...

  3. RecordBuf Doc

    ... 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 , ...

  4. SCLOrkWatch Quark

    ... 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 ...

  5. PLslide Quark

    ... 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;

  6. SmoothButton Quark

    ... 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 ...

  7. SensorData Quark

    ... 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 ...

  8. softSet Help

    ... 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 ...

  9. nf_plotter_example Quark

    ... 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- ...

  10. FFT Overview Help

    ... 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 ...

prev 281 282 283 284 285 286 287 288 289 290 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow