Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (996) Code (19) Doc (190) Help (49) Quark (724) Plugin (14) SCDoc ↗ Forum ↗ Google ↗
  1. PitchCircle Quark

    ... a, Color.cyan]; if(aSets[0].isArray.not, { "Sets must be contained in an Array".error; ^this }); aLabel = aLabel ? aSets; usrView.drawFunc = { this.makeCircle; aSets.do({|thisset, i| aColor = if (i > 6, {Color.rand}, {colors[i]}); this.make ...

  2. step1-regressions Quark

    ... r: // the level needs the slot, snd t 1 1 1 -6) warns instead of throwing an // error and leaving a stray Ndef 'inBus-6' (found in the session audit, 30 Oct 2026). ~radTest.("snd-missing-bus", setup: ["start 2 1", "snd t 1 1 -6"], check: { ...

  3. MixerUI Quark

    ... min); indicators[item].value = rms; indicators[item].peakLevel = peak; }); } { |error| }; }.defer; }, ("/rms")).fix; } addRemoteControlListener { OSCFunc ({|msg| { var event = (); var orbitIndex; event.putPairs(msg[1..]); orbitIndex = event ...

  4. synthDefAutogui Quark

    ... specs // if not set a default mapping if (synthDef.isNil && synthDesc.isNil) { Error("SynthDefAutogui: SynthDef '%' not found. Call .add on the SynthDef first.".format(name)).throw }; ctrlNames = if(synthDef.notNil){synthDef.allControlName ...

  5. VGScaleRetune Quark

    ... aleRetune(newWin); }.defer(0.1); }; }.defer(0.1); }; } { "workscale - File load error".warn; }; } }); Button(compSCT, Rect(0,0, 160,25)) .states_([["reset to VGG scale"]]) .action_({ VGScale.workScales[laras] = VGScale.refScales[laras].copy ...

  6. CVWidgetEditor Quark

    ... s).value_(active); }); cBox; }; midiConnectAll = { try { MIDIIn.connectAll } { |error| error.postln; "MIDIIn.connectAll failed. Please establish the necessary connections manually".warn; } }; switch(GUI.id, \cocoa, { modsDict = KeyDownActio ...

  7. MoreSpecs Quark

    ... KindOf(AbstractPlayer) and: { thing.spec == this }) } constrain { arg ... args; Error("AudioSpec cannot constrain").throw; } } // an array of mono/stereo signals MultiTrackAudioSpec : AudioSpec { var <>tracks; *new { arg tracks=2,numChannel ...

  8. SoundFileAnalysis Quark

    ... ich.asArray.collect { |name| var func = analysisMethods[name]; if(func.isNil) { Error("no analysis method found with this name:" + name).throw }; func }; synthDefFunctions.do { |synthDefFunc, i| var name = synthDefFunc.identityHash.abs.asSy ...

  9. MoreSpecs Quark

    ... KindOf(AbstractPlayer) and: { thing.spec == this }) } constrain { arg ... args; Error("AudioSpec cannot constrain").throw; } } // an array of mono/stereo signals MultiTrackAudioSpec : AudioSpec { var <>tracks; *new { arg tracks=2, numChanne ...

  10. ATSAnalyzer Quark

    ... numFrames, sr, i; sf = SoundFile.openRead(path.standardizePath); if(sf.isNil) { Error("ATSAnalyzer: could not open file: " ++ path).throw; }; numChannels = sf.numChannels; numFrames = sf.numFrames; sr = sf.sampleRate.asInteger; // Read all ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow