Skip to main content

Experimental Sound - Weird Siren

Log in or register to check out files.
Robsteranium's picture
Checkin DateUsernameFiles
Fri, 10/23/2009 - 16:50RobsteraniumFile1.mp3

Another SC experiment.

This is a sine-wave synth. The pitch is modulated with another sine wave. The pitch modulation is then itself modulated by another sine wave.

The pitch modulation is controlled by the mouse coordinates. Moving on the x-axis (horizontal pointer position) varies the base pitch. The y-axis (vertical) determines the range of pitch modulation. I played around a bit with the position to demonstrate the range of sounds.


SynthDef.new(\weirdsiren, { Out.ar(0,
SinOsc.ar( //Main Synth
SinOsc.ar( //pitch mod lfo
SinOsc.kr( //freq mod of pitch mod lfo
0.1, //freq
0, //phase
100 //mul
//-100 //add
),
0, //pitch mod phase
MouseY.kr(1600, 300, 1), //pitch mod multiplier is pointer up/down (pitch change)
MouseX.kr(1, 440, 1) //pitch mod add is pointer left/right (base pitch)
),
0, //Main Synth mul
0.25 //Main Synth add
))
}).send(s);

Cover (front)