Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ets[key]; } *controlNames{|key| // get controlNames by instatiating a temporary SynthDef (hack!) ^SynthDef(\tmp, presets[key], [\ar, \kr]).allControlNames } *ar {|key(\reson), in, sreim| uninitialized.if{ this.init; }; ^presets[key].value(i ...

  2. steelDrum Quark

    /* A SynthDef by Josh Mitchell, August 2019. SCLOrk, Santa Clara University */ SynthDef("steelDrum", { arg freq = 440, amp = 0.1, out = 0, pan = 0, att = 0.01, dec = 1.5, curve = -6, filterHarmonic = 6; var resFreqArray, resAmpArray, resDec ...

  3. MdaPiano Doc

    ... 0), // varying velocity mul: 0.2 ) }.play ) x.free; // Now let's define a piano synthdef: ( SynthDef(\help_mdapiano, { |out=0, freq=440, gate=1| var son = MdaPiano.ar(freq, gate, release: 0.9, stereo: 0.3, sustain: 0); DetectSilence.ar(son, ...

  4. How to tempo-sync LFOs in Patterns across multiple instances of a Synth by 0-4w (defaultxr) Code

    ... duled to start if you provide these parameters and use the math examples in the SynthDef. The modulo (%) operation is required because otherwise, high values of \tbeat will cause the oscillators to take a while to actually start. SynthDef(\ ...

  5. binary_ops_1_kr_bench Quark

    SynthDef( \binary_ops_1_kr, { var src1, src2; Out.ar(0, K2A.ar(300.collect{ src1 = WhiteNoise.kr; src2 = WhiteNoise.kr; ((src1 * src2) + src1) + max(src1, src2) + min(src1, src2) - src1.pow(0.9).mod(0.3) + ((src2 * 100).round - src1) + thre ...

  6. beating Quark

    SynthDef("beating", {arg freq = 440, amp = 0.1, art = 1; var env, snd1, snd2; env = EnvGen.ar(Env.perc(0.01, art), doneAction: 2); snd1 = SinOsc.ar(freq); snd2 = SinOsc.ar(Line.kr(freq+15, freq, art)); Out.ar(0, Pan2.ar(Mix([snd1, snd2]), 0 ...

  7. RedGrandMst Quark

    ... song name RedMst .clear; RedMst .clock= TempoClock (150/60); RedMst .quant= 2; SynthDef ( \fast , { |freq| Out .ar(0, SinOsc .ar(freq, 0, Line .kr(0.2, 0, 0.1, doneAction: 2)))}).add; RedTrk ( \a , Pbind ( \instrument , \fast , \dur , 1, \ ...

  8. sputter Quark

    /* This SynthDef started with an idea for a "1-bit resonator." One method for creating a regular resonator is to send a sound through a very short delay and add that back to the original, with some amounnt of feedback. In my one bit version ...

  9. LocalBuf Doc

    ... nsional for numChannels > 1. offset is the starting index (default: 0) WARNING: SynthDef permits a maximum of 65536 (2**16) unique constant values in one definition. A very large array of distinct values can corrupt the SynthDef's binary fo ...

  10. Melody by 0-9M (unknown) Code

    ( SynthDef(\kick, { |out = 0, pan = 0, amp = 0.3| var body, bodyFreq, bodyAmp; var pop, popFreq, popAmp; var click, clickAmp; var snd; bodyFreq = EnvGen.ar(Env([261, 120, 51], [0.035, 0.08], curve: \exp)); ...

prev 81 82 83 84 85 86 87 88 89 90 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow