Feb 24, 2011 at 9:00 PM
Edited Feb 24, 2011 at 9:00 PM
Having been around the traps, and ventured down many blind alleys I ask this question before jumping into NAudio.
My application is in VB .NET built on Visual Studio 2005.
A bit of background - StarTraX (free download from http://www.gpsanimator.com) replays track files that you download from your GPS in Google Earth. It's used to replay activities such as gliding, paragliding and hanggliging as well as skiing, cycling
driving etc. Any activity where you might carry a GPS.,
I would like to add a feature that replicates the audio output from a variometer (the vertical speed indicator used by the gliding fraternity to identify thermal lift). This sounds something like this http://www.gpsanimator.com/demo.wav . The tone rises
and falls with the value of the vertical speed (VS), and the frequency of the pulse changes with the rate of change of VS.
The VS is calculated from the track file, which provides position data roughly every one to 10 seconds, depending on the GPS characteristics.
Whilst I'm a moderate coder with a good understanding of the physics of sound, I have not previously worked with any audio applications. Over the past couple of days, using System.Media SoundPlayer I have successfully imported and replayed wave files into
my app - playing them asynchronously, but I'm using pre-recorded clips whcih have a pre-determined duration which I'm not able to clip to modify the pulse frequency. Also, I'll have to generate scores of samples to get a reasonable range of pitches.
So... my question is - Is NAudio the way for me to go to achieve these objectives?
And has anyone got some helpful suggestion?