Howto convert audio file zeld

Da Poetry Hacklab.

#zeld AT freaknet DOT org

 ____   ___  _____ _____ ______   __
|  _ \ / _ \| ____|_   _|  _ \ \ / /
| |_) | | | |  _|   | | | |_) \ V /
|  __/| |_| | |___  | | |  _ < | |
|_|    \___/|_____| |_| |_| \_\|_|                       


           _       _
 _ __ ___ (_)_ __ (_)
| '_ ` _ \| | '_ \| |
| | | | | | | | | | |
|_| |_| |_|_|_| |_|_|


 _   _  _____        _______ ___
| | | |/ _ \ \      / /_   _/ _ \
| |_| | | | \ \ /\ / /  | || | | |
|  _  | |_| |\ V  V /   | || |_| |
|_| |_|\___/  \_/\_/    |_| \___/


    __                            
 _  \ \
(_)  | |
 _   | |
(_)  | |
    /_/




##HOWTO Convert (almost) any audio format (.m4a/.rm/.wma/.mp3) to .wav or mp3

 **** mplayer -quiet -vo null -vc dummy -ao pcm:waveheader:file="rawaudio.wav" "convertthis.rm" ****

##If u sobstitute convertthis.rm to convertthis.mp3 is the same...


 -> Fixing Broken WAV File Headers Using Mplayer

   mplayer -quiet -vo null -vc dummy -ao pcm:waveheader:file="audio_FIXED.wav" audio_BROKEN.wav



 -> Converting your .wav to other formats 

    > To mp3 
      Using lame 

       lame -V0 -h -b 320 --vbr-new input.wav output.mp3


	Explain:

	-V n 0 <= n <= 9

	    * Enable VBR (Variable BitRate) and specifies the value of VBR quality (default = 4). 0 = highest quality. 

	-h

	     * Use some quality improvements. Encoding will be slower, but the result will be of higher quality.
	     The behaviour is the same as the -q 2 switch. This switch is always enabled when using VBR. 

        -b n

	     * For MPEG1 (sampling frequencies of 32, 44.1 and 48 kHz) n = 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320
	     * For MPEG2 (sampling frequencies of 16, 22.05 and 24 kHz) n = 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, 160
	     * Default is 128 for MPEG1 and 64 for MPEG2. 

	--vbr-new
             * Invokes the newest VBR algorithm. During the development of version 3.90, considerable tuning was done on this algorithm, and it is now considered to
	       be on par with the original --vbr-old. It has the added advantage of being very fast (over twice as fast as --vbr-old).


    > To ogg 

    oggenc input.wav

Strumenti personali