Re: OT - Command line manipulation of sound files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Kevin J. Cummings wrote:
> On 09/06/2010 09:53 PM, Robert wrote:
>    
>> I attacked the seemingly simply task of producing an audio CD from a
>> collection of MP3 files and  have concluded that it's not as easy as it
>> sounds. UNLESS GUI front ends are used!  I would much rather stick with
>> CLI because scripting works better that way.
>>      
> Check out bbb.  I have bbb-0.0.3-1.i386.rpm installed on my server (from
> a *long* time ago).  You should be able to find it from
> www.flyn.org/projects/bbb/download.html.  I think the current version is
> 0.0.4.
>
> bbb is a replacement for burn_baby_burn.  Both are a set of scripts for
> ripping/burning and generally dealing with CD/CD-R/CD-RWs.
>
> I burned many a CD-R with WAV files using it years ago.
>
>    
>> I decided that the first step must create a .wav file for each .mp3.  I
>> found many scripts to do that; kept coming back to the very simple
>>
>>      mpg123 -w outfile.wav infile.mp3
>>
>> That has worked fine for all the mp3 files I've given it, producing .wav
>> files that play properly with the command
>>
>>      play outfile.wav
>>
>> Further, the .wav file will be played properly by VLC Player AND if
>> chosen by k3b as a file to be written to an audio CD, that CD will play
>> fine in the original factory CD player in my '98 Chevy pickup.
>> BUT I have spent most of today finding and trying, then rejecting
>> command-line solutions for writing to CD.
>> > From http://sharkysoft.com/tutorials/linuxtips/cdcommands/
>> I find this one
>>
>>      cdrecord -v -pad speed=1 dev=5,0,0 -dao -audio -swab *.wav
>>
>> Which yields cdrecord: Inappropriate audio coding in '$first_file.wav'
>>
>> Then, from
>> http://www.pallier.org/ressources/linux_howtos/linux_howto.html#tth_sEc24 we
>> have
>>
>>      cdrecord dev=5,0,0 -pad speed=0 -audio *.wav
>>
>> Which doesn't work, either.
>>
>>
>> Again, I have no problem with k3b EXCEPT that I must manually select
>> which songs to burn to the CD rather than let a script do it ... and
>> surprise me.
>>
>> Any ideas?
>>
>> Thanks!
>>
>>      
>
>    
The source (mp3) is not a desirable way to reproduce a audio cd.
The mp3 has undergone a huge loss in the making of the mp3 so when you 
try and make a cd that is to be played on a home stereo or car deck you 
will notice a tinny sound.

You can't make something out of nothing.

If you want a high quality cd use sources like cd itself, wav files that 
have just been produced by ripping a cd, Flac (Free lossless audio 
codec), iso files, m4a, ape..... these are the most common sources for a 
proper cd.

A cd runs at 1411kbit/second
Wav files run at 800- 1411kbit/second
Flac files are just compressed wav
ape is pretty much like flac just a different compression scheme
m4a is a lossy type compression but produces mp4 at 800kbit/second 
giving a very good quality sound




If you must burn from mp3 make sure the bitrate of the mp3 source is at 
least 192 224, 320 is max bitrate for lame mp3
Anything lower than 192 is not going to be worth the blank cd.




-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux