08-01-2013 02:46 PM
Hi!
I have this problem, that I don't know how to convert my recorded Wave into FLAC format. Is there any way I can do it easily?
Solved! Go to Solution.
08-01-2013 03:15 PM
Not sure if this a spam bot, where the the next reply will be with a link to some commerical software that has a trial.
In either case one of the first links was Xrecode
It looks like they have a portable version (so no installer needed) and it works with the command line.
http://xrecode.com/cmdline.txt
That's the quick and dirty solution. There is probably a better one using some .Net/ActiveX product
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
08-01-2013 03:50 PM - edited 08-01-2013 03:51 PM
I have been probably misunderstood. I need to do this in my app in LabVIEW, so it would be great if someone had some .dll's that are know to work with LV and that I can use in my VI. A site with well described coding algorithm would be ok too (even better because I could make the encoding myself). 🙂 Though thank You for help. 🙂
08-01-2013 03:52 PM
@FLACConverter wrote:
I have been probably misunderstood. I need to do this in my app in LabVIEW, so it would be great if someone had some .dll's that are know to work with LV and that I can use in my VI. A site with well described coding algorithm would be ok too (even better because I could make the encoding myself). 🙂 Though thank You for help. 🙂
Why reinvent the wheel? If someone has a commandline program that will do the converting, why not call that program from the commandline using LabVIEW?
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
08-01-2013 04:18 PM
He's probably unaware that you can do this.
OP, use System Exec.vi to call the aforementioned tool from cmd line.
08-08-2013 02:50 PM - edited 08-08-2013 02:52 PM
I'm trying to use the System Exec, but i get a quite annoying error:
C:\Programs is not recognized as an internal or external command, operable program or batch file.
While I try to use command:
C:\Users\xxxxx\Documents\LabView Projects\flac.exe -f abc.wav
I also got this VorbisEnc.dll for FLAC encoding, but I have no idea how to use the .NET connectivity tools to use it (or maybe else - I don't know what arguments should I pass to the dll to get the conversion). Anyone has some experience with stuff like this?
http://speedy.sh/2ywwY/VorbisEnc.dll
The flac.exe was downloaded from here:
http://sourceforge.net/projects/flac/files/flac-win/flac-1.2.1-win/
Thank You for help in advance!