Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1500) Code (97) Doc (308) Help (89) Quark (1000) Plugin (6) SCDoc ↗ Forum ↗ Google ↗
  1. Dispatch Quark

    ... .asString ++ "\n\n\n"); this.action = { arg disp, str, key, nickname; defer { d.selectRange(d.text.size-1, 0); // deselect user str = "~" ++ key ++ " = " ++ str; if(str.last !== $;) { str = str ++ $; }; d.selectedString_( "\n" ++ "//" + nic ...

  2. ProxyChainGui Quark

    ... new slotnames: ".post; newState[\slotNames].postcs; namedButtons.clear; buttons.select { |bt| specialButtons.includes(bt).not }.do { |but, i| var newName = newState[\slotNames][i]; but.states_(but.states.collect(_.put(0, newName ? "-"))); b ...

  3. extVGSound_eventFor Quark

    ... s(nil)) { ("VGSynth: one synthspec missing...").postvg; synthSpecs = synthSpecs.select(_.notNil); }; synthSpecs = synthSpecs.flopDict ?? { failureEvent }; // for graceful failure. }; outval = inval.copy; outval.putAll(synthSpecs); if(outval ...

  4. edit-gui Quark

    ... return }; ~jumpInTextView = { |view, step = 1| var str = view.string, i = view.selectionStart, newI; if(step < 0) { i = i - 1 }; newI = ~scanDelimiters.(str, i, step, end: "\n"); if(newI.notNil) { newI = newI.value; // Ref(index) means mis ...

  5. UGUI Quark

    ... ( U ) ) { UMapSetChecker( unit, { mapSetAction.value( this ) } ); } { nil }; }).select(_.notNil); unit.connect; } { mapCheckers = [ UMapSetChecker( unit, { mapSetAction.value( this ) } ) ]; }; composite = CompositeView( parent, bounds ).res ...

  6. XiiPredators Quark

    ... ay)}); preyArray.do({|prey| prey.supplyPreyArray(preyArray)}); preyArray.choose.selected = true; a.addToDrawList(preyArray); a.addToDrawList(predatorArray); a.frameRate = 0.05; // -- the buffers ldSndsGBufferList = {arg argPoolName; poolnam ...

  7. Block Quark

    ... al(id) } }; 50.do{ if(registered.value.not, { 0.1.wait }) }; inUse = liveBlocks.select(_.notNil).collect{|item| item[2] }; if(inUse.includesEqual(bufferID).not, { ids.do{|id| BStore.removeID(id) }; }); }); action.(); }; { this.initCond(bloc ...

  8. Ntk Quark

    ... sVoice, test; theseVoices = []; voices.do({arg thisVoice; thisVoice = thisVoice.select({arg thisNote; thisNote.measure == measure; }); theseVoices = theseVoices.add(thisVoice); }); (voice.notNil and: { test = voice < theseVoices.size; test. ...

  9. nf_plotter_example Quark

    ... 1-ch8 raw data #9-11 accelorometre (not used) #12-19 ch1-ch8 (bandEnergyAvg for selected bands) #20 nf-threshold #21 ~phaseCalcFuncVal (phase coherence between two ~bandEnergyAvg e.g. ~bandEnergyAvg[6] and ~bandEnergyAvg[7]) #22 ~phaseCalcF ...

  10. SimpleTransformer Quark

    ... gName, value| this.set( argName, value, constrain ); }); } doesNotUnderstand { |selector ...args| if( selector.isSetter ) { this.set( selector.asGetter, *args ) } { ^this.get( selector ); }; } rate { ^this.get( \rate ) } loop { ^this.get( \ ...

prev 61 62 63 64 65 66 67 68 69 70 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow