Monday, April 07, 2008

CC3 Week 5 - Sound Generation II

In this week's exercise I have experimented with lots of different unit generators. I am still getting used to putting in argument values that work with the sound. I had trouble getting then envelope generator to work. I did get a sound but it's not much to talk about.


AUDIO
Samples of each patch [368KB]




// ONE
(
{
a = SinOsc.ar(
freq: MouseX.kr(220, 660), mul: 0.25, add: 1
)
}.play;
)


// TWO
(
{ Mix.fill(
8,
{ LFTri.ar(MouseY.kr(50,1000,1 ), 0, 0.05) }
);
}.play;
)


// THREE
(
{
LFPulse.ar(
freq: LFPulse.kr(freq: 130, mul: 4, add: 2),
mul: EnvGen.kr(Env.adsr(0.5, 0.04, 0.01, 0.1),
LFPulse.kr(3)
)
)
}.scope.play
)


// FOUR
(
{
XFade2.ar(
SyncSaw.ar,
SyncSaw.ar(500),
MouseX.kr(-1,1), 0.3)
}.scope(1);
)


//FIVE
(
{
LFPar.ar(
MouseX.kr(50,1000,1),
0,
0.1
)
}.play
)




[1] Christian Haines. "Creative Computing: Semester 1 - Week 5 - Sound Generation II". Lecture presented at the Electronic Music Unit, University of Adelaide, South Australia, 8th April 2008.

No comments: