Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2366) Code (121) Doc (629) Help (191) Quark (1309) Plugin (116) SCDoc ↗ Forum ↗ Google ↗
  1. USoundFilePlotWindow Quark

    ... ection = x.linlin( left, right, 0, numFrames ).dup; clickedSlice = slices.detectIndex({ |item| var itemPos; itemPos = frameToX.( item ); (itemPos @ 14).dist( x@y ) <= 14; }); if( mod.isShift ) { if( clickedSlice.notNil ) { if( selectedSlice ...

  2. complex-copy-paste_jit_MFunc_style Quark

    ... a sound on/off // return whether is was turned on or off ( q.srcTogPlay = { |q, index, value| var proxy = q.allSnds[index]; var willBeOn = if (value.notNil) { value > 0 } { proxy.getHalo(\isOn).not; }; [\srcTogPlay, index, value].postln; if ...

  3. ClusterBasic Quark

    ... Basic)){ clusterObject.prCheckSize(item); switch(item.class) {ClusterBus}{ item.index } {ClusterBuffer}{ item.bufnum } {item} }{ ClusterArg(clusterobject.items.collect{ item }) } } } }; recursF2 = { |array,i| array.collect{ |item| if(item.i ...

  4. Vowel Quark

    ... orm[0]); this.dBs.add(form[1]); this.widths.add(form[2]);}) } removeFormants { |index| index.reverseDo({|item,i| this.freqs.removeAt(item); this.dBs.removeAt(item); this.widths.removeAt(item); }) } ampAt {|freq, filterOrder = 1| // var half ...

  5. AlgaScheduler Quark

    ... currentExecActionOffset = 0; //reset it here, so that nested calls have proper index offset //Execute and remove action server.makeBundle(server.latency, func); this.removeAction(action); //Reset currentExecAction (so it's reset for new st ...

  6. AutomationClient Quark

    ... which // to continue recording (for internal calls). // Returns the new cursor index. record { |time, val, cursor=(-1)| var cursorTime, startedRecording; startedRecording = false; // if not recording yet, accurately determine the position. ...

  7. MIDIPort Quark

    ... ourceInports: in MIDIIn.connect(inport, device), inport need not be the same // index as sources[i] -- this lets you specify how you want them // sources[0..2] -- you can do MIDIPort.init([2, 0, 1]) and you'll get // MIDIIn.connect(0, MIDIC ...

  8. PSPdiv Quark

    ... pattern. Layers are slightly shifted, so that the event from a pattern of lower index is calculated before an event from a pattern of higher index, if events are scheduled to happen at the same time. div - Integer or array of array of numbe ...

  9. Readme Quark

    ... ources_apiv2.html#sound-analysis // https://www.freesound.org/docs/api/analysis_index.html ~snd.getAnalysis( "lowlevel.pitch", {|val| val.lowlevel.pitch.mean.postln; }, true) // Text search // https://www.freesound.org/docs/api/resources_ap ...

  10. default-synths Quark

    ... rom, ( instrument: \dirt_from, in: { ~dirt.audioRoutingBusses.wrapAt(~from ? 0).index } ) ) ); // panic button - equivalent of ctrl-. ( ~dirt.soundLibrary.addSynth(\superpanic, (play: { ~dirt.orbits.do(_.freeSynths) })) ); // pitch shifted ...

prev 111 112 113 114 115 116 117 118 119 120 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow