Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (4) </ 1 2 [3] 4 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Internet Radio< Next Oldest | Next Newest >
jpeters Offline





Group: Members
Posts: 804
Joined: April 2006
Posted: Oct. 23 2007,11:14 QUOTE

To save and edit large large radio programs:

1. Play with xmms, rip with streamripper. This can produce a large mp3 file (or if you're lucky, breaks them into individual selections)
2. Convert to wav using sox. "/opt/sox/sox file.mp3  file.wav"
3. Edit with audacity.  I found that loading a large mp3 file into audacity quickly ate up all my ram, but it had no problem with a wav
4. Load exported wav file into wavbreaker to separate into individual selections.

To save disk space, convert back to mp3 format with lame or sox

All the above programs are in the repository.
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Oct. 23 2007,15:09 QUOTE

For converting from mp3 to wav, I'd use Lame, it's smaller, faster and more accurate than sox..

Also saves you the trouble of getting the sox extension at all..


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
jpeters Offline





Group: Members
Posts: 804
Joined: April 2006
Posted: Oct. 23 2007,15:42 QUOTE

Quote (curaga @ Oct. 23 2007,11:09)
For converting from mp3 to wav, I'd use Lame, it's smaller, faster and more accurate than sox..

Also saves you the trouble of getting the sox extension at all..

Does the version in the repository (ver 3.97) do that? I tried 'lame file.mp3 file.wav'  and it created an mp3 with the name 'file.wav'
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Oct. 23 2007,16:53 QUOTE

It's lame --decode file.mp3 file.wav

since it's a mp3 encoder, it's decoding if you do it other way around :)


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
jpeters Offline





Group: Members
Posts: 804
Joined: April 2006
Posted: Oct. 23 2007,19:25 QUOTE

Quote (curaga @ Oct. 23 2007,12:53)
It's lame --decode file.mp3 file.wav

since it's a mp3 encoder, it's decoding if you do it other way around :)

..tried it, but got errors:
Ibitstream problem; resynicing:  mpg123: Can't rewind stream

I found a sox script that also uses mpg123; It produced a wav file that sounds like it's on fast forward (probably the -c2 which I think is the speed):

mpg123 -b 10000 -s -r 44100 "$1" | /opt/sox/sox -t raw -r 44100 -s -w -c2 - "$2"

Edit: The -c2 is what doubled the speed; -c1 is normal speed.
This script (mp32wav) runs with: 'mp32wav file.mp3 file.wav'
Requires loading sox (the mpg123 player comes with dsl).

Mp32wav produces a wav file that loads right into wavbreaker. 'Sox file.mp3 sox.wav' produces a format unrecognized by wavbreaker, although running it through audacity changes it to one wavbreaker reads.  (I haven't fiddled with the sox switches)
Back to top
Profile PM 
17 replies since Oct. 14 2007,20:38 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (4) </ 1 2 [3] 4 >/
reply to topic new topic new poll
Quick Reply: Internet Radio

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code