Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (25) Code (4) Doc (3) Quark (14) Plugin (4) SCDoc ↗ Forum ↗ Google ↗
  1. PWM crossfade by kymatica (Jonatan Liljedahl) Code

    A demonstration of transitioning between notes in a sequence, by pulsewidth modulation. play { var notes = [ 400, 500, 450, 376, 600 ]; var dur = 1/20; var freq = Demand.kr(Impulse.kr(dur, [0,0.5]), 0, Dseq(notes, inf)); ...

  2. Walsh-Hadamart transformations in supercollider by 56228375 (56228375) Code

    ... ormations. The Walsh-Hadamard transform mathematically decomposes a signal into PWM square waves. This is different from the Fourier transform which decomposes signals into sine waves. The Walsh-Hadamard transform also has the cool property ...

  3. Frequency modulated pulse by nathanielvirgo (nathanielvirgo) Code

    ... ulator and the outer one is // clipped to make the pulse wave ) ( // with PWM too { Clipper8.ar(SinOsc.ar(SinOsc.ar(XLine.kr(1,8000,20)).range(50,1000), 0, 10)+LFTri.ar(8,mul:9.9), -0.2, 0.2) !2}.play )

  4. sound | harmonics by yota (yotamorimoto) Code

    ... VarSaw.ar(~f, 0, LFTri.kr(0.05).range(0, 1)).dup * 0.5; }.play; ) // #5 // pwm ( { OnePole.ar( LFPulse.ar(~f, 0, LFTri.kr(XLine.kr(0.1, 2, 10), 0).range(0.01, 0.99), 2, -1)*0.4, 0.85 ).dup }.play; ) // #6 // wavefold { ...

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow