Author Topic: Mp3 To Wav File Conversion  (Read 3987 times)

bam

  • Hero Member
  • *****
  • Posts: 1213
    • View Profile
    • http://thegrinder.ws
Mp3 To Wav File Conversion
« on: September 12, 2006, 05:24:13 am »
anyone know what will do this? mencoder? perhaps, or is there another alternative?
SL-C3100 current: Stock/Tetsu 18h
Socket BT CF Card
Linksys WCF-12 802.11b/Cheapie USB Ethernet

The Grinder

pelrun

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
Mp3 To Wav File Conversion
« Reply #1 on: September 12, 2006, 05:31:53 am »
Xmms can do it; just change the output plugin to Disk Writer.
SL-C3100 with usb power mod running debian eabi
pdaXii13 still on the NAND for dualbooting
16GB SDHC! (a new one, after I sat on the old one and it went kaput)
D-Link 660 wifi, Socket Bluetooth rev H
External 9800mAh LiIon battery and slimline dvd drive
Homebrew microphone and remote

Stubear

  • Hero Member
  • *****
  • Posts: 1164
    • View Profile
    • http://
Mp3 To Wav File Conversion
« Reply #2 on: September 12, 2006, 10:42:26 am »
Code: [Select]
sox file.mp3 new_file.wav
Stu
SL-C1000, Hand converted to English with Japanese Input
Running X apps via X/Qt
iRiver USB host cable; Diatec P-Cord usb power cable (extendable); Acro's Reel Cable USB (A to A, B, Mini-B,  & Mini-B 8pin); GreenHouse 1Gb PicoDrive+; 2x256Mb Hagiwara SD cards; 128Mb Transcend CF card; 512Mb PQI CF card; AmbiCom WL1100C-CF 11B WLAN card

bam

  • Hero Member
  • *****
  • Posts: 1213
    • View Profile
    • http://thegrinder.ws
Mp3 To Wav File Conversion
« Reply #3 on: September 13, 2006, 03:50:52 am »
sox compiled well, but I did not have lame.c or lame.h(and all the includes included, so I assume it includes a mp3-->wav codec in the source for sox or no??
SL-C3100 current: Stock/Tetsu 18h
Socket BT CF Card
Linksys WCF-12 802.11b/Cheapie USB Ethernet

The Grinder

Stubear

  • Hero Member
  • *****
  • Posts: 1164
    • View Profile
    • http://
Mp3 To Wav File Conversion
« Reply #4 on: September 13, 2006, 07:02:25 am »
hmm, not sure about that, I've always complied it on a desktop with lame, libvorbis etc installed.

Give it a try and see

Stu
SL-C1000, Hand converted to English with Japanese Input
Running X apps via X/Qt
iRiver USB host cable; Diatec P-Cord usb power cable (extendable); Acro's Reel Cable USB (A to A, B, Mini-B,  & Mini-B 8pin); GreenHouse 1Gb PicoDrive+; 2x256Mb Hagiwara SD cards; 128Mb Transcend CF card; 512Mb PQI CF card; AmbiCom WL1100C-CF 11B WLAN card

bam

  • Hero Member
  • *****
  • Posts: 1213
    • View Profile
    • http://thegrinder.ws
Mp3 To Wav File Conversion
« Reply #5 on: September 13, 2006, 08:44:31 pm »
works good as long as libmad is installed, at least from mp3-->wav, pretty fast too, 34mb wav file in less than a minute
SL-C3100 current: Stock/Tetsu 18h
Socket BT CF Card
Linksys WCF-12 802.11b/Cheapie USB Ethernet

The Grinder

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Mp3 To Wav File Conversion
« Reply #6 on: September 19, 2006, 03:15:55 pm »
If you use Windows, download CDex
http://www.cdex.n3.net/
It's a well known CD ripper in a small package, and can convert  mp3 > wav, wav > mp3

I've used it for 15 yrs. It has a lot of settings. I always have used Lame for encoding.
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

melee

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
    • http://
Mp3 To Wav File Conversion
« Reply #7 on: September 21, 2006, 12:39:45 pm »
Quote
anyone know what will do this? mencoder? perhaps, or is there another alternative?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=141202\"][{POST_SNAPBACK}][/a][/div]

Hi

Always plenty of ways to skin a cat.

This is part of my commandline script for managing CD burning, striping etc.

## recode to .wav for cd burning and change name from mp3 to wav

   for i in *.mp3; do lame --decode $i `basename $i .mp3`.wav; done

Obviously requires lame and basename requires Perl I think.

To do the opposite I use:-


       for i in /tmp/track_*.wav
          {
          lame -h $i $i.mp3
          }
      
      
      cd /tmp
      rename .wav.mp3 .mp3 *.wav.mp3
      
      for i in *.inf *.wav
          {
          rm $i
          }
      cd /
      
   
I think rename was deprecated on some systems, seem to remember I had to add it to mine when I changed distros some while back

regards

Melee
C860 - with Sharp ROM
1GB SD and 2 GB & 256MB CF
WiFi, Bluetooth and Sharp CF camera cards
Ubuntu 6.06
(WinXP if I really have to)