2008/5/22 AlgoMantra <
algomantra@gmail.com>:
I'm not 100% sure I understand the concept of
granular synthesis, and I can't afford a book right now, so I'm asking
if you guys got an example/demo of the technique which I could study
(preferably in ChucK)?
I would lurrrv an example in Chuck too!
Ok, pasted below is a small ChucktudE in grains and blitsaw. First it synthesises a theme, then it uses grains to manipulate the theme..... Well, that was the plan. The result is more like "first it synthesises a theme, then does stuff with it and a ending is bolted on because I got a bit bored with it and grains are hard to use on themes". :¬)
Still, it demonstrates a few nice tricks with grains and it's a start for exploration, I hope. I also strongly suspect that requesting and using voices from LiSa too quickly (a few hundred per second) will crash the whole VM. Badly. These crashes may also have been caused by some other factor, there are quite a few variables flying around, after all. Uses some tricks with time and timing which could be eductational and/or confusing.
==================================
//"A night with LiSa", composed by Kassen
//permision granted to copy for fun and educational value
//No waranties, no refunds; mind your speakers and CPU