|
From: Mike H. <mik...@bl...> - 2010-06-11 13:48:17
|
I don't know of any 'how to' guide for compiling Sox with flac support, although it should be possible. Converting from flac to wav is a relatively simple command line process: flac -sd test.flac -o test.wav would work. The output could be piped. e.g.: flac -sdc test.flac|lame - test.mp3 Derek Sivers has posted some useful examples for converting between flac, wav and mp3: http://www.oreillynet.com/onlamp/blog/2004/11/convert_audio_between_mp3_flac.html TJF wrote: > Hi, > > is there any link to a "how to" integrate FLAC instead of mp3 ? > > Thanks. > > Regards > Thomas > > > > Am 11.06.2010 09:06, schrieb Mike Hirst: >> Paul, >> >> Sox must be compiled sox with lame and libmad to enable mp3 support for >> Windows. There is a 'Code Project' explaining how to do this: >> >> http://www.codeproject.com/KB/aspnet/Compiling_SOX_with_Lame.aspx >> >> Alternatively you could use ffmpeg (www.ffmpeg.org) to make the conversion: >> >> ffmpeg -i test.mp3 test.wav >> >> or use mpg123 (www.mpg123.de): >> >> mpg123 -w test.wav test.mp3 >> >> and then use normalize >> >> http://savannah.nongnu.org/download/normalize/normalize-0.7.7-win32.zip >> >> to make the volume adjustment: >> >> normalize -m 80 test.wav >> >> Best Wishes >> >> Mike Hirst >> >> Paul Martin wrote: >> >>> I’ve read and reread the win32 document but apparently I’m not doing >>> something correctly. I installed Sox. When I go to that directory >>> using the command line and just type in sox, it spits out the help file, >>> so at least I know it’s “working”. What’s not though is when I try a >>> basic conversion. I’m wanting it to convert from an mp3 to a wav file >>> and eventually, drop the volume as well. >>> >>> >>> >>> But, what’ s happening is apparently nothing. For instance, when I type >>> (at the windows command prompt) >>> >>> > sox c:\test\utb20100607.mp3 test.wav >>> >>> I hit return and then it just blinks….with no response. >>> >>> >>> >>> Per it’s instructions, I did install Cygwin and then compile DLL’s for >>> lame and madlib and put them in the sox directly. So, can you give me a >>> clue where I’m going wrong? As I’m just beginning with this, it’s >>> probably several places. LOL. Thanks in advance. >>> >>> >>> >>> Paul >>> >>> >>> ------------------------------------------------------------------------ >>> >>> ------------------------------------------------------------------------------ >>> ThinkGeek and WIRED's GeekDad team up for the Ultimate >>> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the >>> lucky parental unit. See the prize list and enter to win: >>> http://p.sf.net/sfu/thinkgeek-promo >>> >>> >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Sox-users mailing list >>> Sox...@li... >>> https://lists.sourceforge.net/lists/listinfo/sox-users >>> >> > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > Sox-users mailing list > Sox...@li... > https://lists.sourceforge.net/lists/listinfo/sox-users > -- Mike Hirst Managing Director DAS-360° 16 Ocean View Whitley Bay Tyne & Wear NE26 1AL tel: 0191 289 3186 email: mik...@bl... web: http://www.das360.net |