On Wed, Apr 27, 2005 at 09:02:40PM +0200, julien.breval@tremplin-utc.net wrote:
you should use |vd~| or |delread~| rather than |tabread4~| (this one is for reading in |array| or |table|)
thanks for the tip. It's working much better now. :)
to get a granular effect, change the delay time just before you trigger the amplitude envelope; you can omit the amplitude enveloppe but it's good for fragmenting sounds (some people also add a synchronized filter and/or a pitch shift) most of the time, the enveloppe lasts between 10 and 100 ms; you can use constant or variable enveloppe times (you can also add a random density parameter for the "trigger enveloppe" event)
use some feedback too if you want to get more complex fragmented things
to remove the doppler effect, there are two basic methods: 1. use a sample and hold, like in the sampler.transpose.pd example by Miller Puckette (this method is rather suited to constant enveloppe time / synchronous granular synthesis; the whole granulator is scheduled by a single |phasor~|)
OK, so using a samphold~, phasor~, and vd~, I've got the envelope-less granulator going, but how do I trigger the envelope with sub-block accuracy? I can use vline~ create the envelope itself, but getting it started is the problem.
-spencer