Showing posts with label code. Show all posts
Showing posts with label code. Show all posts

Thursday, June 21, 2012

kilobeat

Another ChucK experiment! This one is more interesting, I think, and as a bonus, I kept the source code this time to share! :D

Here is the source: http://pastebin.com/nDAkvSKj

Yes, I know, it is terribly written code, but give me a break, I have been learning for less than a day :P

And, in case you do not have ChucK installed, here is an .ogg file recorded directly from ChucK, with no post-processing or edits: http://www.mediafire.com/?4w1g89x7g7i7pb7

There are five main ugens being utilized here: 3 Kaplus-Strong string synths, a pure Sine bass, and a low Sawtooth wave with a short release and a resonant low pass filter. Harmonics are where the pitches are generated, there is no midi or western pitches utilized here. It is called "kilobeat" because there are exactly 1024 beats in the entire piece. It generates sound for several minutes, and then ends with a droning sine wave, though technically, it is not ended but instead halted for a one week (!) period of time. So, if you are VERY patient, then there are more than 1024 beats ;)

The piece runs through many time signatures, with bizarre "swings" not possible for a human to play in time, as far as I know... Maybe Mike Patton could do it? :P

Saturday, April 9, 2011

Friday, April 8, 2011

Ring Onward (Supercollider)

Neato thingy I made in super collider, with the help of the super-nice <joshpar> on #supercollider, one of the actual developers of the program! It works by pushing the Ringing filter to its limits, using constant impulses (that popping sound you hear). Its my new genre! I call it: "Demonic Zombie Noise Trance"? :3

First, the code!


{
a = Pan2.ar(Mix.new(Impulse.ar([1,2])),0.0);
b = Mix.new(SinOsc.kr([0.1,0.3]));
a.postln;
c = RLPF.ar(Ringz.ar(a,a/2,b*0.5+2), 2500);
LeakDC.ar(Pan2.ar(Mix.new(Limiter.ar(c,1),0)))
}.play;


And now, the link to the MP3: http://www.mediafire.com/?blzmxbad3jrczst

P.S. 2 more supercollider experiments coming up! These won't have the code included, though :(