I'm working on a program that deals with sound samples and I have no idea how to solve this programming problem:
How do I find the period of a wave that may cross the origin many times in one period?
I know what the wave function, f, is at any time, t, because I have used a cubic spline to interpolate the wave.
There are two reasons I need to know this: 1) I want to be able to "tune" the wave to middle C 2) I want to be able to loop a sample without hearing clicks every time the sample loop.
Please reply in the news
-- _____________________________________________________________________ thomas delbert wilkinson 038 henday lister hall university of alberta If god were perfect, why did He create discontinuous functions? http://ugweb.cs.ualberta.ca/~wilkinso/naindex.html