Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (159) Code (15) Doc (65) Help (25) Quark (51) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. PM stack tweet by kymatica (Jonatan Liljedahl) Code

    A long chain of phasemodulating sinewaves, modulation amount growing for 4 minutes, ending in noise. play{x=0;(50..120).do{|f|f=f/2;x=SinOsc.ar(f+[0,1],x*Line.kr(1,3,240,doneAction:2))};tanh(x+Ringz.ar(Impulse.ar(2),45,0.3,3))}

  2. PM stack tweet II by mstep (mstep) Code

    play{x=0; (60..100).do{|f| x=SinOsc.ar(f+[0,f], x*Line.kr(1,5,60,doneAction:2))}; cos(x+Ringz.ar(Impulse.ar(2),45,0.3,3))};

  3. Band-limited hard sync oscillator by nathanielvirgo (nathanielvirgo) Code

    ... .ar. All we need to do is sum up a variable number of them with the appropriate phases and amplitudes. Since Saw.ar doesn't have a phase control, I implemented the phase offsets using delays. (Using BufDelay means that they all share the sa ...

  4. 4 operator phase modulation synth by davidmorgan (david_morgan) Code

    Note: you can configure more than 4 operators by changing the value of the numops variable. ( SynthDef(\pm4, { var numops = 4; var fb = LocalIn.ar(numops); var gate = \gate.kr(1); var in_freq = \freq.ar(261).lag(\glis.kr(0)); ...

  5. A Modular Approach To Phase Modulation by bp (bp) Code

    In messing around with PM/FM synthesis, I had this idea to make a SynthDef that represents one individual operator in a PM synth. Then the operators are wired together by busses and played together in a Pbind. This moves the wiring logic ou ...

  6. supercollider implementation of padsynth algorithm. by 56228375 (56228375) Code

    ... = freq/(1+spread) and hi = freq*(1+spread) (hi-lo+1).do({ |j| var mag, phase, val; var index = j.linlin(0, hi-lo, lo, hi); // only fill up lower half of spectrum: // right half later is derived from this left half to ...

  7. Stuff On My Lawn - 115modulations by melliott (melliott) Code

    ... end: sinfreq * glissf, dur: rel ); snd = SinOsc.ar( freq: ramp, phase: 0, mul: env, add: 0); snd = Pan2.ar(snd, pan); Out.ar(out, snd); }).add; SynthDef("fm2", {arg freq = 440, modindex = 10, amp = 0.1, pos = 0 ...

  8. phase modulation dx11 algoritms by gentleclockdivider (gentleclockdivider) Code

    ... l 8 algoritms of the dx11 opamt defines the output level and thus the amount of phase modulation going into the carrier ( SynthDef(\dex11algo1,///op4--->op3-->op2--->op1 { | pitch=60, op1att=0.001,op1dec=5.250,op1amt=1,op1tune= ...

  9. Nooge by rwentk (rwentk) Code

    ... odRate = 5.5, modDepth = 0.0005, eqFc = 800, eqQ = 3; var signal, tapPhase, tap, tapPhaseL, tapPhaseR, tapL, tapR; var timeMod, eqMod; //Drop the input slightly to avoid clicky clipping signal = 0.7*In.ar(18, 2); si ...

  10. freeze playback by till-bovermann (LFSaw) Code

    ... t = rateDir.abs < 1; var rateScale = BufRateScale.kr(bufnum); // possible modulation sources are e.g. LFPulse, LFTri, SinOsc.. // for the system to work properly, the integrated signal should be 0, (i.e. going equal parts backwards ...

1 2 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow