Submit
Browse
Anonymous
Login
RSS
SuperCollider Code
Fork Code: Feedback resonator
name
code content
// Resonator, must subtract blockSize for correct tuning ( SynthDef("testRes", { var freq = 300, localIn, input, limitLevel = 0.2, output; var feedbackAmt = 0.999; freq = MouseY.kr(20, 678, \exponential).poll; feedbackAmt = MouseX.kr(0.2, 0.99999).poll; localIn = LocalIn.ar(1); input = LFNoise1.ar(freq * 16, 0.2); input = input + Dust2.ar(freq); LocalOut.ar( HPF.ar(LPF.ar(DelayC.ar(input + (localIn * feedbackAmt), 2, freq.reciprocal - ControlRate.ir.reciprocal), freq * 8), freq * 0.125) ); output = Limiter.ar(localIn, limitLevel, 0.01) * limitLevel.reciprocal; OffsetOut.ar(0, output ! 2); }).play(s); )
code description
Using filtered feedback with a noise input to produce a tone. Some bass notes turn a little noisy if the freq is left at one value for a few seconds. It's worth scoping this too. Room for improvement: some of the vars could / should be arguments.
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