-
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)); ...
-
... 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 ...
-
... 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 )
-
... 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 { ...