earlevel wrote:I'm not sure whether you got my point—you seem to have misinterpreted it, but I might be wrong.Andrew Souter wrote:...however a "bright" waveform such as a raw saw or sqaure, has a 1/f amplitude ratio, so the 1024th partial is down ~60dB anyway... and one could project that the average waveform has even less energy at the 1024th partial.earlevel wrote:
2048 or 4096 are good choices for audio rate, the main reason to go lower is so you can sweep a bright waveform (sawtooth) to sub audio without the bandlimited nature becoming apparent.
2048 samples, 1024 partials, is enough 99% of the time...
What I meant was...play this on your good monitors or headphone (unfortunately, it's mp3 for better browser compatibility, but good enough to get the point across):
http://www.earlevel.com/main/wp-content ... 48-20s.mp3
By 5 seconds you're already losing apparent harmonics, by 8, 9, 10 it sounds like you're sweeping a lowpass filter down with it...A real sawtooth would not get dull as you dropped.
But here's with 32k tables:
http://www.earlevel.com/main/wp-content ... mp-20s.mp3
As I said, 2048 is a good minimum number. I like going another octave with 4096, gives full bandwidth to 20 Hz, and allows a bit lower before crapping out.
ya, I got the point. i know a little about this topic:
https://www.galbanum.com/products/archi ... eforms2010
there was an earlier thread here talking about "inharmonic waveforms" where I mentioned there really is no such thing, but the best compromise might be to create waveforms with lots of high frequency partials and then transpose playback down several octaves.... in this kind of very extreme application where the fundamental freq might be 1hz or 0.1hz or even much lower AND there is a lot of energy in the very high partials, THEN it might be desirable to have more than 2048 samples... but this is a rather extreme usage case, and is probably better accomplished with other synthesis/DSP methods if this kind of chaotic texture thing is the goal. (seemed really cool to me 18 years ago when I first tried it with waveforms made in MetaSynth -- which is what started me on the waveform journey... but the various interpolation artifacts and aliasing there was partially responsible for it's coolness in this case.)
I think for pitch bending saw wavs (even by extreme amounts) 2048pt is plenty... you could always ad some waveshaping to regenerate higher harmonics if it was a concern...
note for LFO use, very long waveforms can be cool. I used 65536pt in this:
https://www.galbanum.com/products/piscis/
(sadly rapture is no more I guess. too bad. it had a very nice waveform/wavetable playback engine. the cleanest of its day AFAIK.)
but if you are using something that long you had better have some energy in the extreme partials, otherwise with proper interpolation, there is no point and it is just a waste of disk space...