Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2836) Code (566) Doc (808) Help (347) Quark (1105) Plugin (10) SCDoc ↗ Forum ↗ Google ↗
  1. Performance Unit - Buffers (part 2) by makary-kleinschmidt (rumush) Code

    ... , s.sampleRate*~len, 2); ~buf4 = Buffer.alloc(s, s.sampleRate*~len, 2); /* SynthDefs */ SynthDef(\tone1, { arg gate = 1, freq = 440, out = 2, index=100, modMix = 0, dur; var env = EnvGen.ar(Env.linen(0.0005, dur-0.001, 0.0005, 1, ...

  2. Amen Break Glitches by phrontist (Bjorn Westergard) Code

    ... men-break-glitches ~amen = Buffer.read(s, "/home/bjorn/Downloads/amen.wav"); SynthDef(\loop, {| out = 0, bufnum = 0, gate = 1, pos = 0, speed = 1, freq = 0, endfreq = 0.001, sustain, wobble = 3, boost = 1| var player,env,amp; freq ...

  3. SCluster Quark

    ... ifRunning({ forkIfNeeded{ name= this.defName; if(SynthDescLib.at(name).isNil, { SynthDef(name, {|outBus, gate= 1, atk= 2, rel= 4, on= 1, amp= 0, vol= 0| var onEnv= EnvGen.kr(Env.asr(atk, 1, rel), on); var freqs= In.kr(\sClusterFre_bus.ir, n ...

  4. Midterm Question 2 by mason-mccormack (Mason McCormack) Code

    ( SynthDef("sawSynth", {arg freq, amp; Out.ar(0, Splay.ar(LPF.ar(in: Saw.ar(freq * [0.99, 1.0, 1.001, 1.008], mul:Env.perc(attackTime:0.1, releaseTime:2, level:amp).kr(2)),freq: 2000))) }).add; ) ( Pbind( \instrument, "sawS ...

  5. IRand Help

    ... Generates a single random integer value in uniform distribution from lo to hi ( SynthDef ( "help-IRand" , { Out .ar( I Rand (0, 1), //play on random channel between 0 and 1 FSinOsc .ar(500, 0, Line .kr(0.2, 0, 0.1, doneAction:2)) ) }).send( ...

  6. pluck Quark

    SynthDef("pluck", {arg amp = 0.1, freq = 440, decay = 5, coef = 0.1, pan = 0; var env, snd; env = EnvGen.kr(Env.linen(0, decay, 0), doneAction: 2); snd = Pluck.ar( in: WhiteNoise.ar(amp), trig: Impulse.kr(0), maxdelaytime: 0.1, delaytime: f ...

  7. Sound file chunks: Workaround for single-precision buffer indexing by jamshark70 (jamshark70) Code

    ... l chunks of a sound file into buffers that are within reach of BufRd. Then, the SynthDef can advance from one buffer to the next during playback. Each buffer holds one extra sample, to try to give BufRd's linear interpolation enough info ...

  8. FreeSelfWhenDone Help

    ... ut }.play; ) // record for four seconds b = Buffer .alloc(s, 44100 * 4.0, 1); ( SynthDef ( "help-RecordBuf" ,{ arg out=0,bufnum=0; var formant, recbuf; formant = Formant .ar( XLine .kr(400,1000, 4), 2000, 800, 0.125); recbuf = RecordBuf .ar ...

  9. Example of Karplus-Strong Synthesis with Pluck by bruno-ruviaro (Bruno Ruviaro) Code

    Simple SynthDef using Pluck, and a few Pbinds demonstrating making use of it. ( SynthDef("plucking", {arg amp = 0.1, freq = 440, decay = 5, coef = 0.1; var env, snd; env = EnvGen.kr(Env.linen(0, decay, 0), doneAction: 2); snd = Pluck. ...

  10. Out Doc

    ... annels or single output to write out. You cannot change the size of this once a SynthDef has been built. Inherited class methods Undocumented class methods Out. numFixedArgs Instance Methods Inherited instance methods Undocumented instance ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow