# HG changeset patch # User diego # Date 1042501514 0 # Node ID 8fd72eae88862fd0cd58828ec2c2487f8be21133 # Parent d07ab8e088a986ae3d86bee0b0b50c06d8cf338d Small updates for correctness and consistency. diff -r d07ab8e088a9 -r 8fd72eae8886 DOCS/sound.html --- a/DOCS/sound.html Mon Jan 13 23:38:49 2003 +0000 +++ b/DOCS/sound.html Mon Jan 13 23:45:14 2003 +0000 @@ -257,14 +257,15 @@
2.3.2.3.1 Up/Down-sampling
-

MPlayer fully supports sound up/down-sampling. This filter can be used if you +

MPlayer fully supports sound up/down-sampling through the + resample filter. It can be used if you have a fixed frequency sound card or if you are stuck with an old sound card that is only capable of max 44.1kHz. This filter is automatically enabled if it is necessary, but it can also be explicitly enabled on the command line. It has three switches:

-
srate <8-192>
+
srate <8000-192000>
is an integer used for setting the output sample frequency in Hz. The valid range for this parameter is 8kHz to 192kHz. If the input and output sample frequency are the same or if this parameter is @@ -291,7 +292,7 @@

Example:
-   mplayer -af resample=44100:0:1

+   mplayer -af resample=44100:0:0

would set the output frequency of the resample filter to 44100Hz using exact output frequency scaling and linear interpolation.

@@ -345,8 +346,8 @@
2.3.2.3.3 Sample format converter
-

This filter is a sample format converter. It is automatically enabled when - needed by the sound card or another filter.

+

The format filter converts between different sample formats. It + is automatically enabled when needed by the sound card or another filter.

bps <number>
@@ -364,7 +365,7 @@

Example:
-   mplayer media.avi -af format=4:float

+   mplayer -af format=4:float media.avi

would set the output format to 4 bytes per sample floating point data.

@@ -372,8 +373,9 @@
2.3.2.3.4 Delay
-

This filter delays the sound to the loudspeakers in order to make the sound - in the different channels arrive at the same time to the listening position. +

The delay filter delays the sound to the loudspeakers such that + the sound from the different channels arrives at the listening position + simultaneously. It is only useful if you have more than 2 loudspeakers. This filter has a variable number of parameters:

@@ -406,7 +408,8 @@
2.3.2.3.5 Software volume control
-

This filter is a software volume control. Use this filter with caution since +

Software volume control is implemented by the volume audio + filter. Use this filter with caution since it can reduce the signal to noise ratio of the sound. In most cases it is best to set the level for the PCM sound to max, leave this filter out and control the output level to your speakers with the master volume control of the mixer. @@ -441,7 +444,8 @@

2.3.2.3.6 Equalizer
-

This filter is a 10 octave band graphic equalizer, implemented using 10 IIR +

The equalizer filter represents a 10 octave band graphic + equalizer, implemented using 10 IIR band pass filters. This means that it works regardless of what type of audio is being played back. The center frequencies for the 10 bands are:

@@ -480,9 +484,10 @@

would amplify the sound in the upper and lower frequency region while canceling it almost completely around 1kHz.

+
2.3.2.3.7 Panning filter
-

This filter can be used for mixing the channels arbitrarily. It is basically +

Use the pan filter to mix channels arbitrarily. It is basically a combination of the volume control and the channels filter. There are two major uses for this filter:

@@ -522,7 +527,8 @@
2.3.2.3.8 Sub-woofer
-

This filter adds a sub woofer channel to the audio stream. The audio data +

The sub filter adds a sub woofer channel to the audio stream. + The audio data used for creating the sub-woofer channel is an average of the sound in channel 0 and channel 1. The resulting sound is then low-pass filtered by a a 4th order Butterworth filter with a default cutoff frequency of 60Hz and added to @@ -554,7 +560,8 @@

2.3.2.3.9 Surround-sound decoder
-

This filter is a decoder for matrix encoded surround sound. Dolby Surround is +

Matrix encoded surround sound can be decoded by the surround + filter. Dolby Surround is an example of a matrix encoded format. Many files with 2 channel audio actually contain matrixed surround sound. To use this feature you need a sound card supporting at least 4 channels. This filter has one parameter:

@@ -573,7 +580,7 @@

Example:
  mplayer -af surround=15 -channels 4 media.avi

-

would add a surround sound decoding with 15ms delay for the sound to the rear +

would add surround sound decoding with 15ms delay for the sound to the rear speakers.