Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2836) Code (566) Doc (808) Help (347) Quark (1105) Plugin (10) SCDoc ↗ Forum ↗ Google ↗
  1. SamplerPrepare Quark

    ... it(); } init { section = 0; wait = 0; rate = 1; position = 0; expand = nil; } //SynthDef env controls are fixed-size; oversized arrays make scsynth read //garbage ("envelope went past end of inputs") — resample on the way in. ampenv_ {|envA ...

  2. function-hacks Quark

    ... \test).play; // the playInside function // example: start a synth explicitly ( SynthDef(\plick, { |out, freq = 220, amp = 0.1, sustain = 1| var sig, env; env = EnvGen.ar(Env([0, amp, 0], [0.001, sustain]), doneAction:2); sig = SinOsc.ar(fr ...

  3. playInMixerGroup Quark

    ... x] }); ^Synth(this, args, (target ?? { gc.server }).asTarget, addAction); } } + SynthDef { playInMixerGroup { |mixer, target, patchType, args| var result; (args.notNil and: { args.includes(\outbus) }).not.if({ args = args ++ [\outbus, mixer ...

  4. sStream Quark

    ... ; }); } ) }!numVoices) )); }; clock= TempoClock(1, queueSize:8192); //--audio { SynthDef(\sStream, {|outBus= 0, synBus, atk= 0.1, rel= 1, on= 1, vol= 0| var onEnv= EnvGen.kr(Env.asr(atk, 1, rel), on); var syn= In.ar(synBus, 2)*0.2; var lv= ...

  5. ParameterSpace.help Quark

    ... rameterDict.put( ~space.points[3], \freqmod, 300 ); ); s = Server.local.boot; ( SynthDef( \ParameterSpaceHelp, { |out=0,amp=0.2,freq=100,freqmod=40| Out.ar(out, SinOsc.ar( SinOsc.ar( freqmod, 0, 20, freq ), 0, amp ) ); }).send(s); ) x = Syn ...

  6. SGME_Echo Quark

    ... // *new { |server| settings = SGME_Settings.get; ^super.new.init(server); } *addSynthDef { lag = 0.2; SynthDef(\SGME_Echo, { arg inputBus, inFeedbackBus, inputBusMix, inFeedbackBusMix, inputBusDelay, inFeedbackBusDelay, outputBus, delay, mi ...

  7. PlayerRecorder Quark

    ... server.waitForBoot({ if(server.dumpMode != 0,{ server.stopAliveThread; }); InstrSynthDef.clearCache(server); if(server.isLocal,{ InstrSynthDef.loadCacheFromDir(server); }); this.bufferAndThen(path,do); nil }); },{ this.bufferAndThen(path,do ...

  8. PlayerRecorder Quark

    ... erver.waitForBoot({ if(server.dumpMode != 0, { server.stopAliveThread; }); InstrSynthDef.clearCache(server); if(server.isLocal, { InstrSynthDef.loadCacheFromDir(server); }); this.bufferAndThen(path, do); nil }); }, { this.bufferAndThen(path ...

  9. SatieOSC Quark

    ... his.newOSC(\audioplugins, this.getAudioPlugins, "/satie/plugins"); this.newOSC(\synthdefs, this.getSynthDefs, "/satie/synthdefs"); this.newOSC(\pluginDetails, this.getPluginDetails, "/satie/plugindetails"); this.newOSC(\responderAddress, th ...

  10. ZeroXBufWr Quark

    ... , gate, doneAction: doneAction); // allows to ensure buffer writing before x in SynthDef with ZeroXBufWr <! x write <! out; ^out } }

prev 91 92 93 94 95 96 97 98 99 100 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow