Minor missing #include and static function fixes for mrobe
[kugel-rb.git] / manual / configure_rockbox / sound_settings.tex
blob3aa612a2dac4b8e2749e329e8396997cecd9dd5e
1 % $Id$ %
2 \screenshot{configure_rockbox/images/ss-sound-settings}{The sound settings screen}{}
4 The sound settings menu offers a selection of sound settings you may
5 change to customise your listening experience.
7 \section{\label{ref:volume}Volume}
8 This setting adjusts the volume of your music. Like most professional
9 audio gear and many consumer audio products, Rockbox uses a decibel scale
10 where 0 dB is a reference that indicates the maximum volume that the \dap{}
11 can produce without possible distortion (clipping). All values lower than
12 this reference will be negative and yield a progressively softer volume.
13 \opt{player,recorder,recorderv2fm,ondio,x5,m5,ipodnano,ipodvideo,
14 ipodcolor,ipod1g2g,h10,h10_5gb, sansa}{
15 Values higher than 0 dB are available and can be used to raise the
16 volume more than would otherwise be possible. These volume levels will
17 ordinarily lead to distorted sound, but might work nicely for music that has
18 an otherwise low volume level.}
19 The volume can be adjusted from a
20 \opt{player}{minimum of -78 dB to a maximum of +18 dB.}%
21 \opt{recorder,recorderv2fm,ondio}{minimum of -100 dB to a maximum of +12 dB.}%
22 \opt{h1xx,h300}{minimum of -84 dB to a maximum of 0 dB.}%
23 \opt{x5,m5}{minimum of -73 dB to a maximum of +6 dB.}%
24 \opt{ipodnano}{minimum of -72 dB to a maximum of +6 dB.}%
25 \opt{ipodvideo}{minimum of -57 dB to a maximum of +6 dB.}%
26 \opt{ipodcolor,ipod1g2g,h10,h10_5gb,sansa}{minimum of -74 dB to a maximum
27 of +6 db.}%
28 \opt{ipod3g,ipod4g,gigabeatf,mrobe100}{\fixme{add correct volume range.}}
30 \section{Bass}
31 This setting emphasises
32 \nopt{h1xx,h300}{or suppresses}
33 the lower (bass) frequencies in the sound. A value of 0 dB means that bass
34 sounds are unaltered (flat response).
35 \opt{masd}{The minimum setting is -15 dB and the maximum is 15 dB.}%
36 \opt{masf}{The minimum setting is -12 dB and the maximum is 12 dB.}%
37 \opt{h1xx,h300}{The minimum setting is 0 dB and the maximum is 24 dB.}%
38 \opt{ipodnano,ipodcolor}{The minimum setting is -6 dB and the maximum is 9 dB.}%
39 \opt{ipodvideo}{The minimum setting is -12 dB and the maximum is 12 dB.}%
40 \opt{x5,sansa,h10,h10_5gb}{The minimum setting is -24 dB and the maximum is 24 dB.}
42 \opt{ipodvideo}{
43 \section{Bass Cutoff}
44 This setting controls the frequency below which the bass adjustment applies.
45 The setting has a range from 1 to 4, where a bigger number affects a bigger
46 range of bass frequencies. The actual cutoff frequency used for each setting
47 value will vary with sample rate.
50 \section{Treble}
51 This setting emphasises
52 \nopt{h1xx,h300}{or suppresses}
53 the higher (treble) frequencies in the sound. A value of 0 dB means that
54 treble sounds are unaltered (flat response).
55 \opt{masd}{The minimum setting is -15 dB and the maximum is 15 dB.}%
56 \opt{masf}{The minimum setting is -12 dB and the maximum is 12 dB.}%
57 \opt{h1xx,h300}{The minimum setting is 0 dB and the maximum is 6 dB.}%
58 \opt{ipodnano,ipodcolor}{The minimum setting is -6 dB and the maximum is 9 dB.}%
59 \opt{ipodvideo}{The minimum setting is -12 dB and the maximum is 12 dB.}%
60 \opt{x5,sansa,h10,h10_5gb}{The minimum setting is -24 dB and the maximum is 24 dB.}
62 \opt{ipodvideo}{
63 \section{Treble Cutoff}
64 This setting controls the frequency above which the treble adjustment applies.
65 The setting has a range from 1 to 4, where a bigger number affects a smaller
66 range of treble frequencies. The actual cutoff frequency used for each setting
67 value will vary with sample rate.
70 \section{Balance}
71 This setting controls the balance between the left and right channels. The
72 default, 0, means that the left and right outputs are equal in volume.
73 Negative numbers increase the volume of the left channel relative to the
74 right, positive numbers increase the volume of the right channel relative
75 to the left.
77 \section{Channels}
78 A stereo audio signal consists of two channels, left and right. The
79 \setting{Channels} setting determines if these channels are to be combined in
80 any way, and if so, in what manner they will be combined.
81 Available options are:
83 \begin{table}
84 \begin{center}
85 \begin{tabularx}{\textwidth}{lX}\toprule
86 \textbf{Setting} & \textbf{Description} \\\midrule
87 Stereo
88 & Leave the audio signal unmodified. \\
90 Mono
91 & Combine both channels and send the resulting signal to both stereo
92 channels, resulting in a monophonic output. \\
94 Custom
95 & Allows you to manually specify a stereo width with the
96 \setting{Stereo Width} setting described later in this chapter. \\
98 Mono Left
99 & Plays the left channel in both stereo channels. \\
101 Mono Right
102 & Plays the right channel in both stereo channels. \\
104 Karaoke
105 & Removes all sound that is common to both channels. Since most
106 music is recorded with vocals being equally present in both channels
107 to make the singer sound centrally placed, this often (but not
108 always) has the effect of removing the voice track from a song. This
109 setting also very often has other undesirable effects on the sound. \\
110 \bottomrule
111 \end{tabularx}
112 \end{center}
113 \end{table}
115 \section{Stereo Width}
116 Stereo width allows you to manually specify the effect that is applied
117 when the \setting{Channels} setting is set to ``custom''.
118 All values below 100\% will progressively mix the contents of one channel
119 into the other. This has the effect of gradually centering the stereo image,
120 until you have monophonic sound at 0\%. Values above 100\% will progressively
121 remove components in one channel that is also present in the other. This has
122 the effect of widening the stereo field. A value of 100\% will leave the
123 stereo field unaltered.
125 \opt{masf}{
126 \section{Loudness}
127 When listening at low volumes, the ear will tend to make bass and treble
128 frequencies sound quieter than they really are. To compensate for this,
129 \setting{Loudness} is an effect which emphasises bass and treble in a fashion
130 suited to the human ear. Frequencies in the vocal range are unaffected, since
131 the human ear picks these up very easily at any sound level.
132 It is of course also possible to use this effect at higher volumes for
133 enhanced bass and treble.
136 \opt{masf}{
137 \section{Auto Volume}
138 Auto volume is a feature that automatically lowers the volume on loud parts,
139 and then slowly restores the volume to the previous level over a time
140 interval. This setting allows this time interval to be configured. Short
141 values like 20ms are useful for ensuring a constant volume for in-car use and
142 other applications where background noise makes a constant loudness desirable.
143 A longer timeout means that the change in volume back to the previous level
144 will be smoother, so there will be fewer sharp changes in volume level.
147 \opt{masf}{
148 \section{Super Bass}
149 This setting changes the threshold at which bass frequencies are affected by
150 the \setting{Loudness} setting, making the sound of drums and bass guitar
151 louder in comparison to the rest of the sound. This setting only has an
152 effect if \setting{Loudness} is set to a value larger than 0dB.
155 \opt{masf}{
156 \section{MDB {}-- Micronas Dynamic Bass}
157 The rest of the parameters in this menu relate to the Micronas Dynamic
158 Bass (MDB) function. MDB is designed to enable the user to hear bass
159 notes that the headphones and/or speakers are not capable of reproducing.
160 Every tone has a fundamental frequency (the ``main tone'') and also several
161 harmonics, which are related to that tone. The human brain has a mechanism
162 whereby it can actually infer the presence of bass notes from the higher
163 harmonics that they would generate.
165 The practical upshot of this is that MDB produces a more authentic sounding
166 bass by tricking the brain into believing it is hearing tones that the
167 headphones or speakers are not capable of reproducing.
169 The MDB parameters are as follows:
171 \begin{description}
172 \item[MDB enable:]
173 This turns the MDB feature on or off. For many users this will be the
174 only setting they need, since Rockbox picks sensible defaults for the
175 other parameters. MDB is turned off by default.
176 \item[MDB strength:]
177 How loud the harmonics generated by MDB will be.
178 \item[MDB Harmonics:]
179 The percentage of the low notes that is converted into harmonics.
180 If low notes are causing speaker distortion, this can be set to 100\%
181 to eliminate the fundamental completely and only produce harmonics in the
182 signal. If set to 0\% this is the same as turning the MDB feature off.
183 \item[MDB Centre Frequency:]
184 The cutoff frequency of your headphones or speakers. This is usually
185 given in the specification for the headphones/speakers.
186 \item[MDB shape:]
187 It is recommended that this parameter be set to 1.5 times the centre frequency.
189 This is the frequency up to which harmonics are generated. Some of the
190 lower fundamentals near the cut{}-off range will have their lower
191 harmonics cut, since they will be below the range of the speakers.
192 Fundamentals between the cut{}-off frequency and the lower frequency
193 will have their harmonics proportionally boosted to compensate and restore
194 the `loudness' of these notes.
196 For most users, the defaults should provide an improvement in sound
197 quality and can be safely left as they are. For reference, the defaults
198 Rockbox uses are:
200 \begin{table}[h!]
201 \begin{center}
202 \begin{tabular}{@{}lc@{}}\toprule
203 Setting & Value \\\midrule
204 MDB Strength & 50dB \\
205 MDB Harmonics & 48\% \\
206 MDB Centre Frequency & 60Hz \\
207 MDB Shape & 90Hz \\\bottomrule
208 \end{tabular}
209 \end{center}
210 \end{table}
212 \end{description}
215 \opt{swcodec}{
216 \section{Crossfeed}
217 Crossfeed attempts to make the experience of listening to music on
218 headphones more similar to listening to music with stereo speakers. When you
219 listen to music through speakers, each ear will hear sound originating from
220 both speakers. However, the sound from the left speaker reaches your right
221 ear slightly later than it does your left ear, and vice versa.
223 The human ear and brain together are very good at interpreting the time
224 differences between direct sounds and reflected sounds and using that
225 information to identify the direction that the sound is coming from. On the
226 other hand, when listening to headphones, each ear hears only the stereo
227 channel corresponding to it. The left ear hears only the left channel and
228 the right ear hears only the right channel. The result is that sound from
229 headphones does not provide the same spatial cues to your ear and brain as
230 speakers, and might for that reason sound unnatural to some listeners.
232 The crossfeed function uses an algorithm to feed a delayed and filtered
233 portion of the signal from the right channel into the left channel and vice
234 versa in order to simulate the spatial cues that the ear and brain receive
235 when listening to a set of loudspeakers placed in front of the listener. The
236 result is a more natural stereo image that can be especially appreciated in
237 older rock and jazz records, where one instrument is often hard-panned to
238 just one of the speakers. Many people will find such records tiring to listen
239 to using earphones and no crossfeed effect.
241 Crossfeed has the following settings:
242 \begin{description}
243 \item[Crossfeed:]
244 Selects whether the crossfeed effect is to be enabled or not.
245 \item[Direct Gain:]
246 How much the level of the audio that travels the direct path from a speaker
247 to the corresponding ear is supposed to be decreased.
248 \item[Cross Gain:]
249 How much the level of the audio that travels the cross path from a speaker
250 to the opposite ear is to be decreased.
251 \item[High-Frequency Attenuation:]
252 How much the upper frequencies of the cross path audio will be dampened.
253 Note that the total level of the higher frequencies will be a combination
254 of both this setting and the \setting{Cross Gain} setting.
255 \item[High-Frequency Cutoff]
256 Decides at which frequency the cross path audio will start to be cut
257 by the amount described by the \setting{High-Frequency Attenuation}
258 setting.
259 \end{description}
261 Most users will find the default settings to yield satisfactory results, but
262 for the more adventurous user the settings can be fine-tuned to provide a
263 virtual speaker placement suited to ones preference.
264 % TODO: adapt the guidelines for crossfeed settings found here?
265 % http://www.ohl.to/interests-in-audio/crossfeed-and-eq-for-headphones/
267 Beware that the crossfeed function is capable of making the audio distort
268 if you choose settings which result in a too high output level.
271 \opt{swcodec}{
272 \section{\label{ref:EQ}Equalizer}
273 \screenshot{configure_rockbox/images/ss-equalizer}{The graphical equalizer}{}
274 Rockbox features a parametric equalizer (EQ). As the name suggests, a
275 parametric EQ lets you control several different parameters for each
276 band of the EQ. In some ways the EQ is similar to the \setting{Bass}
277 and \setting{Treble} settings described earlier, but the EQ allows you to
278 control the sound much more carefully.
280 Rockbox's parametric EQ is composed of five different bands:
281 \begin{description}
282 \item[Band 0: Low shelf filter]
283 The low shelf filter boosts or lowers all frequencies below a certain
284 frequency limit, much like what a ``bass'' control found on ordinary
285 stereo systems does.
286 Adjust the ``cutoff'' frequency parameter to decide where the shelving
287 starts to take effect. For example, a cutoff frequency of 50 Hz will
288 adjust only very low frequencies. A cutoff frequency of 200 Hz, on the
289 other hand, will adjust a much wider range of bass frequencies.
290 The ``gain'' parameter controls how much the loudness of the band is
291 adjusted. Positive numbers make the EQ band louder, while negative
292 numbers make that EQ band quieter.
293 The ``Q'' parameter should always be set to 0.7 for the shelving
294 filters. Higher values will add a small boost around the cutoff
295 frequency that is almost always undesirable.
296 \item[Bands 1-3: Peaking filters]
297 Peaking EQ filters boost or lower a frequency range centered at the
298 center frequency chosen.
299 Graphic equalizers in home stereos are usually peaking
300 filters. The peaking filters in Rockbox's EQ lets you adjust three
301 different parameters for EQ bands 1 through 3. The ``center'' parameter
302 controls the center frequency of the frequency range that is affected
303 as described above.
304 The ``gain'' parameter controls how much each band is adjusted, and
305 works as for the low shelf filter.
306 Finally, the ``Q'' parameter controls how wide or narrow the affected
307 frequency range is. Higher Q values will affect a narrower band of
308 frequencies, while lower Q values will affect a wider band of
309 frequencies.
310 \item[Band 4: High shelf filter]
311 A high shelf filter boosts or lowers all frequencies above a certain
312 frequency limit, much like what a ``treble'' control found on ordinary
313 stereo systems does.
314 The high shelf filter is adjusted the same way as the low shelf filter,
315 except that it works on the high end of the frequency spectrum rather
316 than the low end.
317 \end{description}
318 As a general guide, EQ band 0 should be used for low frequencies, EQ bands 1
319 through 3 should be used for mids, and EQ band 4 should be used for highs.
321 \begin {description}
322 \item[Enable EQ:]
323 This option controls whether the EQ is on or off.
325 \item[Graphical EQ:]
326 This option brings up a graphic EQ screen, which allows adjustment of each of
327 the three parameters described above (gain, center frequency, and Q) for each
328 of the five EQ bands.
330 \begin{table}
331 \begin{btnmap}{}{}
332 \opt{IPOD_4G_PAD,IPOD_3G_PAD,IPOD_VIDEO_PAD}{\ButtonScrollFwd}
333 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD}{\ButtonUp}
334 \opt{SANSA_E200_PAD}{\ButtonScrollBack}
335 & Raises the highlighted parameter.\\
337 \opt{IPOD_4G_PAD,IPOD_3G_PAD,IPOD_VIDEO_PAD}{\ButtonScrollBack}
338 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD}{\ButtonDown}
339 \opt{SANSA_E200_PAD}{\ButtonScrollFwd}
340 & Lowers the highlighted parameter.\\
342 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD}{\ButtonLeft}
343 \opt{IPOD_4G_PAD,IPOD_3G_PAD,IPOD_VIDEO_PAD}{\ButtonLeft}
344 \opt{SANSA_E200_PAD}{\ButtonUp}
345 & Moves to the previous EQ band. \\
347 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD}{\ButtonRight}
348 \opt{IPOD_4G_PAD,IPOD_3G_PAD,IPOD_VIDEO_PAD}{\ButtonRight}
349 \opt{SANSA_E200_PAD}{\ButtonDown}
350 & Moves to the next EQ band. \\
352 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonSelect}
353 \opt{IAUDIO_X5_PAD,IPOD_4G_PAD,IPOD_3G_PAD,IPOD_VIDEO_PAD,SANSA_E200_PAD}{\ButtonSelect}
354 & Toggles the cursor among the three parameters (gain, center frequency,
355 Q) for the selected EQ band.\\
357 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonMode}
358 \opt{IPOD_4G_PAD,IPOD_3G_PAD,IPOD_VIDEO_PAD}{\ButtonMenu}
359 \opt{IAUDIO_X5_PAD}{\ButtonPower/\ButtonRec}
360 \opt{SANSA_E200_PAD}{\ButtonPower/\ButtonRight}
361 & Exits the graphic EQ screen.\\
362 \end{btnmap}
363 \end{table}
365 \item[Pre-cut:]
366 If too much gain is added through the graphical EQ, your music may distort.
367 The \setting{Precut} setting allows you to adjust the overall gain of the EQ.
369 If your music distorts when using the EQ, trying changing this setting to a
370 negative value.
372 \item[Simple EQ:]
373 This option provides an easier alternative for those who are daunted by all of
374 the parameters that can be adjusted using the graphical EQ. With the
375 \setting{Simple EQ}, the only parameter that can be adjusted is the gain.
377 \item[Advanced EQ:]
378 This sub menu provides options for adjusting the same parameters as the
379 \setting{Graphical EQ}. The only difference is that the parameters are
380 adjusted through textual menus rather than through a graphic interface.
382 \item[Save EQ Preset:]
383 This option saves the current EQ configuration in a \fname{.cfg} file.
385 \item[Browse EQ Presets:]
386 This menu displays a list of EQ presets, as well as any EQ configurations saved
387 using the \setting{Save EQ Preset} option. Users unfamiliar with the
388 operation of a parametric EQ may wish to use the presets instead of trying to
389 configure the EQ, or use the presets for designing their own custom EQ
390 settings.
392 \end{description}
395 \opt{swcodec}{
396 \section{Dithering}
397 This setting controls the dithering and noise shaping functionality of Rockbox.
399 Most of Rockbox' audio file decoders work at a higher bit depth than the 16 bits
400 used for output on the \daps{} audio connectors. The simplest way to
401 convert from one bit depth to another is simply discarding all the surplus bits.
402 This is the default behaviour, and adds distortion to the signal that will
403 vary in character along with the desired sound.
405 Dithering adds low-level noise to the signal prior to throwing away the surplus
406 bits, which gives the resulting signal a uniform noise floor which is
407 independent of the signal. Most people find this noise preferable to the
408 time-varying noise heard when not performing dithering.
410 After dithering, noise shaping is performed. This basically just pushes the
411 dithering noise to the parts of the frequency spectrum humans cannot hear so
412 easily. In Rockbox' case, some of the noise is pushed up to above 10 kHz.
414 This setting will be put to its best use when listening to dynamic music with
415 frequently occuring quiet parts, classical music being a typical example. It is
416 worth noting that the effects of dithering and noise shaping are very subtle,
417 and not easily noticable.
419 Rockbox uses highpass triangular distribution noise as the dithering noise
420 source, and a third order noise shaper.