[music-dsp] SVF stereo operation
Urs Heckmann
urs at u-he.com
Thu Oct 9 04:58:00 EDT 2003
Am Donnerstag, 09.10.03, um 13:13 Uhr (Europe/Berlin) schrieb Paul
Chana:
> 3. Its been suggested that i should process in blocks. This plugin is
> meant for use in VSt. I dont have details about the block size (I know
> ther is a blocksize variable that i can look at, but isnt it different
> each time?) Also surely eventually each sample needs to be processed
> on its own. So how does the whole "process as a block" work?
In the VST Source Code Archive ( http://www.u-he.com/vstsource ),
there's an example VST ( "SyncExample" in processes category ). It
might be useful in this respect (allthough I must admit it is not as
easy to understand as I thought it was when I wrote it).
What I do is, I know "sampleFrames" and I chop it in pieces of 64
samples and a remainder. These are my blocks. Then I do every step of
my process (filters etc.) subsequently for one block. If everything is
done I go to the next block. Hence I can outsource complex stuff before
processing a block and do it only once per 64 samples, not for every
sample. That's quite easy, once you get the clue...
Cheers,
;) Urs
urs heckmann
urs at u-he.com
www.u-he.com
More information about the music-dsp
mailing list