Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3894) Code (643) Doc (1121) Help (424) Quark (1675) Plugin (31) SCDoc ↗ Forum ↗ Google ↗
  1. extFunction Quark

    ... .replace("[", "").replace("]", ""); synthDef = "SynthDef(" ++ key.cs ++ ", {arg out=0," ++ string2 ++ "; var output;" ++ 10.asAscii ++ "output = Out.ar(out, " ++ this.cs ++ ".(" ++ string ++ "))});"; if(post, {synthDef.postln}); ^synthDef.i ...

  2. RedSFPlayer Quark

    ... false; }); }, { (this.class.name++": file"+path+"not found").warn; }); } loop {|out= 0, rate= 1, fadeTime= 0| this.prPlay(out, rate, fadeTime, true); } play {|out= 0, rate= 1, fadeTime= 0| this.prPlay(out, rate, fadeTime, false); } stop {|f ...

  3. playInMixerGroup Quark

    ... args| var result; // this looks funny, but it's right: // if you DON'T provide outbus, we assume you want the mixer's bus // if you DO provide it, we assume you know what you're doing and want to override (args.notNil and: { args.includes( ...

  4. extBuffer-playDialog Quark

    ... f audiofile + Buffer { *playDialog { // convenience method arg mul = 1, rate=1, out=0, server, free=true, startFrame = 0, numFrames, bufnum; ^Buffer.readPlay(server, nil, free, startFrame, numFrames, bufnum, mul, rate, out); } *readPlay { a ...

  5. lead-vc Quark

    { var n = 10; SynthDef(\fmHarm, { |out, gate = 1, fund = 50, freq = 440, freqlag = 0.08, cDetune = 1, mDetune = 1, cbuf, mbuf, index = 1, amp = 0.1, pan = 0, atk = 0.05, dcy = 0.1, sus = 0.7, rel = 0.12| // -1 because you actually get sideb ...

  6. add-default-params-for-unknown-synthDef Quark

    ... nthDef isn't known to sclang. ( ~dirt.soundLibrary.defaultEvent = ( msgFunc: { |out, freq=440, amp=0.1, pan=0, sustain=1| [ \out, out, \freq, freq, \amp, amp, \pan, pan, \sustain, sustain ].asControlInput } ) ); // this synthdef is just a t ...

  7. UPat Quark

    ... nc( unit ); unit.setArg( \u_prepared, true ); }; } getControlInput { |unit| var out; out = unit.get( \value ); if( unit.get( \u_useSpec ) == false ) { out = unit.getSpec( \value ).unmap( out ); }; if( out.isUMap ) { out = out.asControlInput ...

  8. UPat Quark

    ... nc( unit ); unit.setArg( \u_prepared, true ); }; } getControlInput { |unit| var out; out = unit.get( \value ); if( unit.get( \u_useSpec ) == false ) { out = unit.getSpec( \value ).unmap( out ); }; if( out.isUMap ) { out = out.asControlInput ...

  9. kiks Quark

    ... 0.0,freq=100,decay=0.3,stickDecay=0.01, noise=1.0,drive=1.0,amp=1.0; var finger,out; finger = Decay2.ar( Impulsar.ar(trig), 0.001, stickDecay, (BrownNoise.ar(noise) + (1.0 - noise)) ).fold2(0.5); out=HardShaper.ar( Enveloper2.ar( finger + S ...

  10. _SynthLib Quark

    ... utions by Jan Kees van Kampen to be expanded ... unified parameter interface: - out - amp - pan - dur - attack - decay - ..?.. - freq for tonal sounds */ q = q ? (); q.origSynthDefs = q.origSynthDefs ?? { SynthDescLib.global.synthDescs.keys ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow