«Spring saw» by Paul Anderson
on 23 Apr'13 01:53 inFeeding sound file multiplied by a slow saw wave into the spring physical model. Fascinating results ensue.
1 2 3 4 5 6 7 8 9
b = Buffer.read(s, Platform.resourceDir +/+ "sounds/a11wlk01.wav"); // This is very cool! ( { Spring.ar(PlayBuf.ar(1, b, loop: 1)*Saw.ar(4)); }.play; )
I don't hear the difference with ( { PlayBuf.ar(1, b, loop: 1)*Saw.ar(4); }.play; ) Is there any ?
@grirgz, ye, nearly no difference, including the values.
Feeding the output of Spring.ar into an oscillator, however....
b = Buffer.read(s, Platform.resourceDir +/+ "sounds/a11wlk01.wav");
( { var freq, sig, xfade; freq = Spring.ar(PlayBuf.ar(1, b, loop: 1)*Saw.ar(4), LFNoise2.kr(1).range(0, 20), XLine.kr(0.1, 0.00001, 30)); freq = freq * 400 + 1000; xfade = LFNoise2.kr(2).range(0, 1); sig = (SinOsc.ar(freq) * xfade.sqrt) + (VarSaw.ar(freq) * (1 - xfade).sqrt); }.play; )