This is
the native Microsoft Windows
sound format.
530
Running Applications Part IV
To reduce the noise, you can send the file through a low-pass filter. Here??™s an example:
$ sox file1.voc file2.voc lowp 2200
For more information on SoX and to get the latest download, go to the SoX??”Sound eXchange??”
home page (www.sourceforge.net/projects/sox/).
Compressing Music Files with oggenc
The oggenc command takes music or other audio data and converts it from uncompressed formats
(such as WAV, RAW, or AIFF) to the compressed Ogg Vorbis format. Using Ogg Vorbis, audio files
can be significantly reduced in size without a noticeable loss of sound quality. (I used the default
settings in oggenc and reduced a 48MB WAV music file to 4MB.)
In its most basic form, you can use oggenc with one or more WAV or AIFF files following it. For
example:
$ oggenc *.wav
This command would result in all files ending with .wav in the current directory to be converted
to Ogg Vorbis format. An OGG file is produced for each WAV file, with oggenc substituting .ogg
for .wav as the file suffix for the compressed file. Ogg Vorbis files can be played in many different
audio players in Linux, including the XMMS player (described earlier).
In addition, a number of handheld music players support Ogg Vorbis formats.
Pages:
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023