«Feedback resonator» by 38nonprivate

on 12 Aug'11 19:07 in feedbacknoise

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.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// 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);

)
descendants
«Re: Feedback resonator» by Don Smith (private)
full graph
raw 642 chars (focus & ctrl+a+c to copy)
reception
comments