1. #creativePact 2011 Day 4

    This is now in Stereo but the Delay is half as loud as the original sound. Maybe tomorrow I’ll look at having multiple repeats or something - I would have done it today but was Dancing with Gerry til 5am :/


    ~gate = Bus.audio(s, 2);

    ~delay = Bus.audio(s, 2);

    {Out.ar([0, 1], DelayN.ar(In.ar(~delay, 2), 5, 2, 0.5))}.play

    {Out.ar([0, 1, ~delay], In.ar(~gate, 2))}.play;

    {Out.ar(~gate, SoundIn.ar)}.play;

  2. #creativePact 2011

    This now has a Delay effect added, providing a two second delay coming out of the Right Hand channel. Lovely.


    ~gate = Bus.audio(s, 2);

    ~delay = Bus.audio(s, 2);

    {Out.ar(1, DelayN.ar(In.ar(~delay, 2), 5, 2))}.play

    {Out.ar([0, ~delay], In.ar(~gate, 2))}.play;

    {Out.ar(~gate, SoundIn.ar)}.play;

  3. #creativePact Day 10

    Here is my submission for today. I just wanted to put MouseButton in where possible from previous days. It did make me wish MouseButton was MousePressed, so I don’t have to remember the difference from Processing, but now I have to use my memory. Boo!

    (

    {

    {SinOsc.ar(LFNoise0.ar(MouseButton.kr(rand(5, 10), rand(0.2, 0.4), 5), 1000), 0, 0.2)}.play

    }.dup(20)

    )

  4. #creativePact Day 9

    #creativePact, look what I done found - a MouseButton ugen (I’d wanted one for ages, like in #Processing). Run the Code, move the mouse about and click for beautiful chordal movement!

    (

    {SinOsc.ar(MouseButton.kr(220, 196, 1.5), 0, MouseX.kr(0.03, 0.07)) }.play;

    {SinOsc.ar(MouseButton.kr(277.2, 293.7, 1.5), 0, MouseX.kr(0.07, 0.03)) }.play;

    {SinOsc.ar(MouseButton.kr(329.6, 392.0, 1.5), 0, MouseY.kr(0.03, 0.07)) }.play;

    {SinOsc.ar(MouseButton.kr(440, 493.9, 1.5), 0, MouseY.kr(0.07, 0.03)) }.play;

    )

  5. #creativePact Day 8 - addendum

    #creativePact, after my failings at pacting yesterday (due to the trip to the pub), I felt really guilty, so quickly changed the chordal panner from Day 7, so the corners still have 4 notes, rather than 2.

    (
    {SinOsc.ar(220, 0, MouseX.kr(0.02, 0.05)) }.play;
    {SinOsc.ar(277.2, 0, MouseX.kr(0.05, 0.02)) }.play;
    {SinOsc.ar(329.6, 0, MouseY.kr(0.02, 0.05)) }.play;
    {SinOsc.ar(440, 0, MouseY.kr(0.05, 0.02)) }.play;
    )

  6. #creativePact Day 7

    For today’s #creativePact I’m having a play with the phase of a wave, and how it creates Constructive and Destructive interference :

    (

    {SinOsc.ar(MouseY.kr(220, 440), 0, 0.1) }.play;

    {SinOsc.ar(MouseY.kr(220, 440), MouseX.kr(0, 2pi), 0.1) }.play;

    )

    This could also be done with four waves:

    (

    {SinOsc.ar(220, 0, 0.05) }.play;

    {SinOsc.ar(220, MouseX.kr(0, 2pi), 0.05) }.play;

    {SinOsc.ar(220, 0, 0.05) }.play;

    {SinOsc.ar(220, MouseY.kr(0, 2pi), 0.05) }.play;

    )

    But I also felt like making this rather lovely chordal note panner thing:

    (

    {SinOsc.ar(220, 0, MouseX.kr(0, 0.05)) }.play;

    {SinOsc.ar(277.2, 0, MouseX.kr(0.05, 0)) }.play;

    {SinOsc.ar(329.6, 0, MouseY.kr(0, 0.05)) }.play;

    {SinOsc.ar(440, 0, MouseY.kr(0.05, 0)) }.play;

    )

    Lovely A major. (I nearly had to type this into my Blackberry, but for the grace of the University Wireless)

  7. #creativePact Day 6

    #creativePact - because @Benjamin_Wall is distracting me with The Inbetweeners, I had no choice but to chuck in an extra envelope, and make do.

    (

    {

    {SinOsc.ar(LFNoise0.ar([0.8, 10].rand, EnvGen.kr(Env.linen(2, 12, 8, 1000, -8))

    ), 0, EnvGen.kr(Env.linen(1, 12, 8, 0.03, -8))

    )}.play;

    }.dup(25);

    )

  8. #creativePact Day 5

    #creativePact - It’s a lazy sunday, so here is a lazy rehash of yesterday, it now has an envelope, which has its uses.

    (

    {

    {SinOsc.ar(LFNoise0.ar(rand(0.8, 10), 1000), 0, EnvGen.kr(Env.linen(1, 8, 8, 0.02, -8))

    )}.play

    }.dup(20)

    )

  9. #creativePact Day 4

    #creativePact, today I decided to go to Manchester and watch Indiana Jones & The Temple of Doom. In the world of Academia I would refer to this as ‘research’. After yesterday’s #creativePact being a rehash of the day before, I decided to come up with something new today, and it sounds beautiful ;) :

    (

    {

    {SinOsc.ar(LFNoise0.ar(rand(0.8, 10), 1000), 0, 0.2)}.play

    }.dup(20)

    )