I know this is a fairly simple question but I can't convince myself of the right answer.
For a 5KHz triangle wave, being sample at Fs sampl/second, what's a suitable choice for Fs such that an accurate reconstruction of the cont. time wave can be generated?
My first thought was to satisfy Nyquist, so sample at twice at the wave rate. But, is there something I'm missing here? Like for the square wave, where technically the sample rate is infinite for a perfect reconstruction, is there something similar here?
Thanks!
you need to learn a bit about Fourier Series, and then, if this is for music synthesis, what bandlimited waveforms are. there is such a thing as a "bandlimited triangle wave" just as there is a "bandlimited sawtooth" or a "bandlimited square wave". if you want to generate a wavetable of such a bandlimited wave, there's a pretty easy way to do it with the FFT and inverse FFT.
– robert bristow-johnson Nov 09 '17 at 09:36