Hydrogenaudio Forums

Hydrogenaudio Forum => General Audio => Topic started by: #FatalError on 2013-11-17 20:36:01

Title: convert a wav or a mp3 file in a flac file (.raw)
Post by: #FatalError on 2013-11-17 20:36:01
hi I need to convert a wave file ( or a mp3 file) in a flac file with  output in RAW format with one channel  and 8000hz.
Can I do it with a batch file? is it possible?
Title: convert a wav or a mp3 file in a flac file (.raw)
Post by: saratoga on 2013-11-17 20:54:26
Let me see if I understand:

You want to take MP3 or FLAC files and decode them to raw PCM files that have been resampled to 8KHz mono.

Is that correct?  For a command line program that can be called from a batch file, sox is probably your best bet.
Title: convert a wav or a mp3 file in a flac file (.raw)
Post by: #FatalError on 2013-11-17 21:14:08
Let me see if I understand:

You want to take MP3 or FLAC files and decode them to raw PCM files that have been resampled to 8KHz mono.

Is that correct?  For a command line program that can be called from a batch file, sox is probably your best bet.

thanks fot the fast answer
yes i have to convert a wav or a mp3 file to 8khz mono.
:-)
how can i use sox?
I am not an expert in batch I usually use  vb.net

ps is possible to do it without any software?
SimplePortal 1.0.0 RC1 © 2008-2020