LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

mp3 file recording

Hello

I would like to know is there is a way to record sound files in mp3 or wma or other ( compressed format).
For the moment my application runs with wav format but that takes lot of space.

i could make the compression after but application generate sound files continuously and HDD quickly filling

ifnot, If anyone kows a batch convertion soft  (wav ->mp3)  that could  operate  conversion  on  wav files progressivly as wav files
appears in his work path ...

Best regards

Tinnitus

CLAD / Labview 2011, Win Xp
------------------------------------------------------
Mission d'une semaine- à plusieurs mois laissez moi un MP...
RP et Midi-pyrénées .Km+++ si possibilité de télétravail

Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
Don't forget to valid a good answer / pensez à valider une réponse correcte
0 Kudos
Message 1 of 4
(3,359 Views)

There are probably dlls (possible activeX or .net objects) which will perform such compression but I havent tried this.  One word of caution,  such compressions are lossy and have been optimized as to not compromise the fidelity of audio track (voice and music frequencies). these assumptions might be different from your data and you could possible compromise the data if you compress it.  This depends on the data you are analyzing.

Paul 

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 2 of 4
(3,338 Views)
Hello Tinnitus,   (Hope this is just a 'nick and not medical condition)

Another thing to keep in mind is that there's a licensing issue when compressing to mp3 format.  It is proprietary. 

That aside; if you have a look for "command line wav to mp3" in your favorite search engine, you should get several hits.

http://www.sonicspot.com/encoders.html   -   This page has links to several projects. 

If you're just looking to compress the files to save space and would like to avoid any licensing issues, have a look at the Ogg Vorbis format.  There are tons of open source conversion tools out there for this format.  Unlike mp3, it's lossless.  Although your files probably won't be quite as small. 


One of our customers recently asked for a quote to do the exact same thing.   You working for anyone I know?  Smiley Wink
---------------------
Patrick Allen: FunctionalityUnlimited.ca
0 Kudos
Message 3 of 4
(3,324 Views)
Ogg Vorbis is definiately not lossless, but is a bit better than mp3 for the filesize. If you want lossless then you can use the FLAC codec, which can be used in an ogg container.
0 Kudos
Message 4 of 4
(3,307 Views)