01-28-2007 11:46 PM
01-29-2007 03:24 AM
MP3 is a licensed format, so LabVIEW does not have VIs for reading or writing it. I think you will have to convert it to a wave file and then use the sound VIs to load it into LabVIEW. If you search the web, you might some DLLs or programs with ActiveX interface which will allow you to convert it programmatically.
To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here, here, here, here and here are a few you can start with and here are some tutorial videos. You can also contact your local NI office and join one of their courses.
In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).
01-29-2007 07:48 AM
01-29-2007 07:59 AM
From all these options, the second and fourth are probably the easiest.
01-30-2007 08:41 AM
08-27-2011 12:03 PM
Hey I'm having a project about sending and receiving voice files trough NI PXI 1042Q in 100MHz.. the thing is that I need to convert the mp3 files into bitstream to channel code, modulate and sending it through a NI PXI 5610 and receive it with a NI - PXI 5142.. Does anyone knows how can I do the conversion?.. thanks
Regards
08-28-2011 01:07 AM
I don't think the basic answer would have changed since this thread was created - you will probably need to either do this yourself manually or find a program which can decode the MP3 into the raw wave format and then read that data.
Since you're on a PXI system, however, I'm guessing that the sound VIs wouldn't work and that even if they do, you wouldn't be able to run the external program (an EXE or a DLL) needed to make the conversion. That's just a guess, though. Checking should be easy enough. If you can, converting the files beforehand to a format LV can read there would probably help.
08-29-2011 01:32 PM
ok... Thanks.. I'm trying it now with .wav files, but I'm in the same situation... It's kind of frustrating.....
08-30-2011 05:37 AM
Hi,
If you are using wav format, use Sound File Read Simple.Vi or Sounf File Read.Vi in functions palette. Both read data from .wav file into a array of waveform. Sound File Read Simple.Vi do it automatically while other does manually.
Hope this helps.
Thanks,
Sanjoe
08-30-2011 07:10 AM
thank you man 😃