Submit
Browse
Anonymous
Login
RSS
SuperCollider Code
Fork Code: PWM crossfade
name
code content
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)); freq = LFPulse.kr(8, 0, LFTri.kr(dur, 1).range(0, 1)).range(*freq).max(376); LPF.ar(Saw.ar(freq * [1,0.99],0.5),8000); }
code description
A demonstration of transitioning between notes in a sequence, by pulsewidth modulation.
use markdown for formating
category tags
comma separated, i.g. "wild, siren" (do not enter default SC class names, please)
ancestor(s)
comma separated identificators, i.g. "1-C,1-1,1-4M,1-x"
Private?
the code will be accessible by direct url and not visible in public activity
signup to submit public code without captcha
comment of change