«Spring saw» by Paul Anderson

on 23 Apr'13 01:53 in physical model

Feeding 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;
)
raw 162 chars (focus & ctrl+a+c to copy)
reception
comments
grirgz user 26 Apr'13 01:47

I don't hear the difference with ( { PlayBuf.ar(1, b, loop: 1)*Saw.ar(4); }.play; ) Is there any ?

ww1way user 01 May'13 05:51

@grirgz, ye, nearly no difference, including the values.

wondersluyter user 02 May'13 20:39

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