11-24-2004 03:38 AM
11-24-2004
08:03 AM
- last edited on
07-22-2026
02:53 PM
by
Content Cleaner
You would probably have better luck working with .wav files instead of .mp3's. There are several VIs that come with LabVIEW to read and write .wav files, but nothing to directly to alter the pitch or speed. You can read in the raw sound data and then manipulate in LabVIEW, so you might be able to what you want that way. If you do a search on .wav, you'll get quite a few results on what you can do with wave files.
If you'd rather not mess with that, I'd look for an external application that can alter the .mp3 or .wav the way you want and has an ActiveX or .dll that you can call in LabVIEW to control it. You can do this with Windows Media Player, but as far as I know, it can't alter the sound like you want. There's an example of how this works on the NI website here [broken link removed; example no longer available]. That would at least show you how to play an mp3 in LabVIEW.
Ed

Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.11-24-2004 08:08 AM