Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    SynthDef( \fm_sin_1, { var freqs = 250.collect{|n| SinOsc.ar(n + 1.0.rand).range(rrand(10, 10000), rrand(10, 10000)) } * 10; var oscs = freqs.collect{|f| SinOsc.ar(freq: f) }; Out.ar(0, oscs.mean) })

  2. kickRingz Quark

    SynthDef("kickRingz", {arg freq = 40, decay = 0.25, amp = 1; var snd; snd = Ringz.ar( in: LPF.ar( in: Impulse.ar(0), freq: 1000), freq: freq, decaytime: decay, mul: 7 * amp).tanh.sin*2; Out.ar(0, snd!2); }).add;

  3. Event patterns and LFOs Quark

    ... ted and which already include // the fix of a minor bug which blocked adding of SynthDefs. // See below for an equivalent example with shared memory. // If you're using a version <= 3.4.4 you can fix it by yourself, // adding this method to ...

  4. NPVoicer Quark

    ... NPVoicer with an Ndef in it g.prime( \default ); // prepare it with the default synthdef g.play; // play it // start a sound with key 48, with its won set of params g.put(48, [ \freq , 48.midicps]); // a second note at 51 g.put(51, [ \freq ...

  5. sound_example_filters_and_scopeview Quark

    //advanced sound+freqscope example - using ScopeView and custom synthdef instead of FreqScopeView //note: this is more like a template showing how to get and use the bci data in scsynth ( ~openbci= CytonSerial("/dev/tty.usbserial-DM00DRM0", ...

  6. MoscaEffects Quark

    ... s, convsig); }; }; }; }; } finalize { | multyThread, server, maxOrder, irBank | SynthDef(\b2Fx, { var sig = decodeFunc.value(); Out.ar(afmtBus, sig); }).send(server); if (multyThread) { } { effectInstances.get.do({ | effect | if (effect != ...

  7. SimplePlayerEffect Quark

    ... new(subject).numChannels_(numChannels) } storeArgs { ^[subject,numChannels] } asSynthDef { var subjectNumChannels; subjectNumChannels = subject.numChannels; if(subjectNumChannels.isNil,{ subject.asSynthDef; // force patch to build subjectNu ...

  8. SimplePlayerEffect Quark

    ... ew(subject).numChannels_(numChannels) } storeArgs { ^[subject, numChannels] } asSynthDef { var subjectNumChannels; subjectNumChannels = subject.numChannels; if(subjectNumChannels.isNil, { subject.asSynthDef; // force patch to build subjectN ...

  9. zkarpluck2P Quark

    ... lpassFq, 0.02)); // SendTrig.kr( EnvGen.kr( env, t_trigDel ) , 0, note ); // in synthdef // note: "gate" arg fixed to constant of 1, to keep plugin alive, "relase" arg not used: son = DWGPluckedStiff.ar(freq, 10, 1 ,pos,idecay,hfqLoss,inp, ...

  10. EQBand Quark

    ... rq: reciprocal of q. numChannels: how many channels do you need? The predefined synthdefs support one and two channels; if you need more, follow the templates in EQ synthdefs.rtf . *newFromArray(a, numChan, sr) Used by MultiEQ. a contains [ ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow