galentheengineer Posted August 14, 2015 Report Share Posted August 14, 2015 Hi all, Is there a VI that allows me to load an mp3 file, read the mp3 file, convert it to a .wav file, and then create the .wav file in the same directory? Thanks! Quote Link to comment
ThomasGutzler Posted August 17, 2015 Report Share Posted August 17, 2015 You'll need 3rd party libraries to read mp3 files. Once you've got the waveform, you can use LabVIEW native methods such as "Sound File Write Simple.vi" to write a .wav file. Try this really old post as a starting point or Google yourself Quote Link to comment
hooovahh Posted August 17, 2015 Report Share Posted August 17, 2015 I've always done this with the command line version of VLC. Here is the example command for converting a WAV to an MP3 I bet there is a way to reverse this. cmd /c ""C:\Program Files\VideoLAN\VLC\vlc.exe" -I dummy --sout "#transcode{vcodec=none,acodec=mp3,ab=128,channels=2,samplerate=44100}:std{access=file,mux=wav,dst=C:\temp\out.mp3}" "C:\Temp\out.wav" vlc://quit" Quote Link to comment
galentheengineer Posted August 29, 2015 Author Report Share Posted August 29, 2015 I gave up on making a LabVIEW VI. Does anyone have a separate reliable program that converts an mp3 file to a wav file? Quote Link to comment
JKSH Posted August 29, 2015 Report Share Posted August 29, 2015 Does anyone have a separate reliable program that converts an mp3 file to a wav file? See hooovahh's post above. 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.