Re: [music-dsp] Nyquist–Shannon sampling theorem

2014-03-26 Thread Thor Harald Johansen

I'm guessing this somehow scratches at the surface of what I've read
about no signal being properly band limited unless it's infinit.


You're talking about Sinc filtering (ideal low pass filter), which is 
essentially an IIR filter that needs infinite past and future samples. 
In practice, a very steep filter is used to attenuate the signal above 
the Nyquist frequency to almost nothing. A Lanczos (windowed Sinc) 
filter will be close to ideal.


For synthesis of non-sinusoidal test waveforms, a BLIT (Band-Limited 
Impulse Train) oscillator will give you a perfectly band limited signal.


Thor




smime.p7s
Description: S/MIME Cryptographic Signature
--
dupswapdrop -- the music-dsp mailing list and website:
subscription info, FAQ, source code archive, list archive, book reviews, dsp 
links
http://music.columbia.edu/cmc/music-dsp
http://music.columbia.edu/mailman/listinfo/music-dsp

Re: [music-dsp] Merry Christmas - and some music

2010-12-25 Thread Thor Harald Johansen

Also, you may want to make 's' a little bit leaky for stability:

s -= 0.001 * s;

(22.05 Hz 6dB/oct highpass if 44.100 Hz sample rate)


A little correction: Do this to the integrated values (saw, triangle, 
square), not 's', as mistakenly written above!


Thor
--
dupswapdrop -- the music-dsp mailing list and website:
subscription info, FAQ, source code archive, list archive, book reviews, dsp 
links
http://music.columbia.edu/cmc/music-dsp
http://music.columbia.edu/mailman/listinfo/music-dsp