[chuck-users] report on my first livecoding gig

Cesare Marilungo cesare at poeticstudios.com
Mon Jun 4 07:36:49 EDT 2007


Kassen wrote:
>
>
> On 6/2/07, *Loscha* <loscha at gmail.com <mailto:loscha at gmail.com>> wrote:
>
>     I'd love to see your code, Kassan.
>
>
>
> As promissed, a version of that bassline for your enjoyment. Copying 
> for educational purposes permitted, permission for public performance 
> also granted but only in modified form ( ;¬) ). No waranties, no refunds.
> ------------------
> //the Blit's waveform will reset sometimes if the Blit is modulated, 
> creating a click,
> //the JCRev turns those into pleasant sounds but they realy
> // need those gains or there will be terrible clipping distortion.
> //I quite like the sound this one makes in this form.
>
> Blit b => JCRev r => dac;
> .5 => b.gain;
> .5 => r.gain;
>
> 40 => int foo;
> int bar;
>
> while(1)
>   {
>   for(1 => int n; n < 5; n++)
>     {
>     n => b.harmonics;
>     0.25::second => now;
>     }
>   //very simple algorithem to create the melody.
>   //i'd like to hear about other or better tricks, anyone?
>   //tweak the numbers for variations
>   (++bar % 5) +=> foo;
>   if(foo > 43) 40 => foo;
>   Std.mtof(foo) => b.freq;
>   }
> ---------------
>
> I contrasted this against some randomised sound made by the Shakers, 
> of which I sporked multiple versions, then added one or two shreds of 
> Shakers with the PRCRev for contrast. This'll give you some pleasant 
> (to me) mellow techno-ish stuff very quickly with enough parameters to 
> tweak and have fun with.
>
> Nothing especially clever here but it has a good ratio of fun per line 
> of code.
>
> Happy tweaking!
> Kas.
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
>   
Inspiring!

With so few lines of code!

c.

-- 
http://www.cesaremarilungo.com



More information about the chuck-users mailing list