Consolidate code duplication in WPS volume changing handling.
[kugel-rb.git] / manual / configure_rockbox / playback_options.tex
blob41bc75de4e26277ce7ce41d398b313dac54b5cb8
1 % $Id$ %
3 The \setting{\label{ref:PlaybackSettings}Playback Settings} menu allows
4 you to configure settings related to audio playback.
6 \section{Shuffle}
7 Turning shuffle on will cause Rockbox to randomly re-order the
8 playlist. Thus, to shuffle all of the audio files on the player, you first
9 need to create a playlist containing all of them. For more information on
10 creating playlists refer to \reference{ref:working_with_playlists}.\\
11 Options: \setting{Yes}/\setting{No}.
13 \section{Repeat}
14 Configures settings related to repeating of directories or playlists.\\
15 Options: \setting{Off} / \setting{All} / \setting{One} / \setting{Shuffle} /
16 \setting{A-B}:
17 \begin{description}
19 \item[Off.] The current playlist will not repeat when it is finished.
20 \note{If you have the \setting{Auto-Change Directory} option set to
21 \setting{Yes}, Rockbox will move on to the next directory on your
22 hard drive. If the \setting{Auto-Change Directory} option is set to
23 \setting{No}, playback will stop when the current directory or
24 playlist is finished.}
26 \item[All.] The current playlist will repeat when it is finished.
29 \item[One. ]Repeat one track over and over.
31 \item[Shuffle.] When the current playlist has finished playing, it will
32 be shuffled and then repeated.
34 \item[A-B.] Repeats between two user defined points within a track,
35 typically used by musicians when attempting to learn a piece of music.
36 This option is more complicated to use than the others as the \dap\
37 must first be placed into A-B repeat mode and then the start and end
38 points defined.\\
40 \opt{RECORDER_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD,IRIVER_H10_PAD,MROBE100_PAD%
41 ,GIGABEAT_PAD,GIGABEAT_S_PAD,SANSA_E200_PAD,SANSA_C200_PAD}{%
42 To set the Start Point (A) press \ActionWpsAbSetAPrevDir{}.
43 Setting the End Point (B) is done accordingly using
44 \ActionWpsAbSetBNextDir{}. To reset the markers press \ActionWpsAbReset{}.
46 \opt{ipod,IAUDIO_X5_PAD,ONDIO_PAD,PLAYER_PAD}{%
47 To set the Start Point (A) press \ActionWpsBrowse{}. The following
48 press of \ActionWpsBrowse{} will set the End Point (B), and a third
49 successive \ActionWpsBrowse{} will reset the markers.
51 \end{description}
53 \section{Play Selected First}
54 This setting controls what happens when you
55 select a file for playback while shuffle mode is on. If the
56 \setting{Play Selected First} setting is \setting{Yes}, the file you
57 selected will be played first. If this setting is \setting{No}, a random
58 file in the directory will be played first.
60 \section{Fast-Forward/Rewind}
61 These settings control the speed and acceleration during fast forward and rewind.
62 The setting \setting{FF/RW Min Step} controls the initial speed and \setting{FF/RW Accel} controls the acceleration.
64 \opt{disk_storage}{
65 \section{Anti-Skip Buffer}
66 This setting controls how early Rockbox starts refilling the music buffer
67 from the hard drive when playing. A longer Anti-Skip Buffer helps prevent
68 skips in music playback if Rockbox has trouble reading from the disk.
69 This can happen if the \dap{} is knocked, shaken or jogged heavily while
70 Rockbox is trying to read the hard drive.
72 \opt{masd,masf}{
73 The anti-skip buffer can be set to a value between 0 and 7
74 seconds.\\
77 \opt{swcodec}{
78 The anti-skip buffer can be set to various values between
79 5 seconds and 10 minutes.\\
82 \note{Having a large anti-skip buffer tends to use more power, and may
83 reduce your battery life. It is recommended to always use the lowest
84 possible setting that allows correct and continuous playback.}
87 \section{Fade on Stop/Pause}
88 Enables and disables a fade effect when you
89 pause or stop playing a song. If the Fade on Stop/Pause option is
90 set to \setting{Yes}, your music will fade out when you stop or pause
91 playback, and fade in when you resume playback.
93 \section{Party Mode}
94 Enables unstoppable music playback. When new songs are
95 selected, they are queued at the end of the current dynamic playlist
96 instead of being played immediately. Pausing and stopping playback is
97 disabled as well as skipping songs and launching plugins.
99 \opt{swcodec}{
100 \section{Crossfade}
101 This setting enables a cross-fader. At the end of a song, the song will
102 fade out as the next song fades in, creating a smooth transition between
103 songs. The crossfade setting is particularly effective when the player is
104 set on shuffle.\\
106 Options for crossfade settings are:
107 \begin{description}
108 \item[Enable Crossfade.] If set to \setting{Off}, crossfade is disabled.
109 If set to \setting{Shuffle}, crossfade is enabled when the
110 shuffle feature is set to \setting{Yes}, but disabled otherwise. If set
111 to \setting{Track Skip Only}, tracks will only crossfade when manually
112 skipped. If set to \setting{Shuffle and Track Skip}
113 then crossfade will only be active when shuffle is set to
114 \setting{Yes} and the track is manually skipped. If set to
115 \setting{Always}, tracks will always crossfade into one another.
117 \item[Fade In Delay.] The ``fade in delay'' is the length of time between
118 when the crossfade process begins and when the new track begins to fade
121 \item[Fade In Duration.] The length of time, in seconds, that it takes
122 your music to fade in once the \setting{Fade In Delay} has ended.
124 \item[Fade Out Delay.] The ``fade out delay'' is the length of time
125 between when the crossfade process begins and when the old track begins
126 to fade out.
128 \item[Fade Out Duration.] The length of time, in seconds, that it takes
129 your music to fade out once the \setting{Fade Out Delay} has ended.
131 \item[Fade Out Mode.] If set to \setting{Crossfade}, one song will fade
132 out and the next song will simultaneously fade in. If set to
133 \setting{Mix}, the ending song will continue to play as normal until
134 its end, while the starting song will fade in from under it.
135 \setting{Mix} mode is not
136 used for manual track skips, even if it is selected here.
137 \end{description}
139 \note{The rules above apply except in the instance where
140 \setting{Fade Out Delay} plus \setting{Fade Out Duration} is less then
141 \setting{Fade In Delay} (which would create a gap in the audio). In this case,
142 the \setting{Fade In Delay} is reduced to eliminate the gap.\\}
144 The graphic below illustrates how the different settings work in practice.
146 \includegraphics[width=14cm]{configure_rockbox/images/crossfade_graphic.png}
148 \section{Replaygain}
149 This allows you to control the replaygain function.
150 The purpose of replaygain is to adjust the volume of the music played
151 so that all songs (or albums, depending on your settings) have the
152 same apparent volume. This prevents sudden changes in volume when
153 changing between songs recorded at different volume levels.
154 For replaygain to work, the songs must have been processed by a program
155 that adds replaygain information to the ID3 tags (or Vorbis tags).\\
157 \note{APEv2 tags are not currently supported.\\}
159 Options for replaygain are:
160 \begin{description}
161 \item[Replaygain Type.] Choose the type of replaygain to apply:
162 \begin{description}
163 \item[Album Gain.] Maintain a constant volume level between
164 albums, but keep any intentional volume variations between
165 songs in an album. (If album gain value is not available,
166 uses track gain information).
168 \item[Track Gain.] Maintain a constant volume level between
169 tracks. If track gain value is not available, no replaygain
170 is applied.
172 \item[Track Gain If Shuffling.] Maintains a constant volume
173 between tracks if \setting{Shuffle} is set to \setting{Yes}.
174 Reverts to album mode if \setting{Shuffle} is set to \setting{No}.
176 \item[Off.] Do not process replaygain information, i.e. turn off
177 the replaygain function.
178 \end{description}
180 \item[Prevent Clipping.] Avoid clipping of a song's waveform.
181 If a song would clip during playback, the volume is lowered for
182 that song. Replaygain information is needed for this to work.
184 \item[Pre-amp.] This allows you to adjust the volume when replaygain
185 is applied. Replaygain often lowers the volume, sometimes quite
186 much, so here you can compensate for that. Please note that a
187 (large) positive pre-amp setting can cause clipping, unless
188 prevent clipping is enabled. The pre-amp can be set to any
189 decibel (dB) value between -12dB and +12dB, in increments of 0.1{}dB.
190 \end{description}
192 \section{Track Skip Beep}
193 Controls the volume of the beep that is heard when
194 skipping forward or backward between tracks. The beep is disabled when
195 set to \setting{Off}.
196 }%\opt{swcodec}
198 \opt{spdif_power}{
199 \section{Optical Output}
200 Enables or disables the optical S/PDIF output to
201 allow a digital connection to a suitable external decoder. To enable
202 optical output, set to \setting{Yes}
205 \section{Auto-Change Directory}
206 Control what Rockbox does when it reaches the end
207 of a directory. If \setting{Auto-Change Directory} is set to \setting{Yes},
208 Rockbox will continue to the next directory. If
209 \setting{Auto-Change Directory} is set to \setting{No}, playback will stop at
210 the end of the current playlist. Using the \setting{Random} feature requires
211 you to first generate a folder list via the Random Folder Advance Configuration
212 plugin (see \reference{ref:random_folder_advance_config}).\\
214 \note{You must have the \setting{Repeat} option set to \setting{No} for
215 \setting{Auto-Change Directory} to function properly.\\}
217 \note{This feature only works when songs have been played from the file
218 browser. Using it with the database may cause unexpected behaviour.}
221 \opt{headphone_detection}{
222 \section{Pause on Headphone Unplug}
223 Enables and disables automatic pausing of
224 playback when the headphones are disconnected from the \daps{} headphone
225 socket.
227 \begin{description}
228 \item[Pause on Headphone Unplug.] Options for automatic pause:
229 \begin{description}
230 \item[Off.] Disables automatic pause.
232 \item[Pause.] Pauses the \dap{} when the headphones are removed.
234 \item[Pause and Resume.] Pauses when the headphones are removed, and
235 resumes playback when they are reconnected.
236 \end{description}
237 \item[Duration to Rewind.] Number of seconds (between 0 and 15) to rewind
238 playback when the headphones are removed.
240 \item[Disable Auto-Resume If Phones Not Present.] This option will disable
241 the automatic resumption of playback at startup if the headphones are not
242 connected to the \dap{}.
243 \note{This requires \setting{Resume on Startup} to be enabled.}
244 \end{description}
248 \section{Last.fm Log}\index{Last.fm Log}\index{Audioscrobbler|see{Last.fm Log}}
249 Enables logging of your played tracks for submittal to
250 \url{http://www.last.fm}. This service was formely known as
251 \emph{Audioscrobbler}. When you enable this option, you'll have to reboot to
252 start the logging. The log-file is called
253 \opt{rtc}{\fname{.scrobbler.log},}%
254 \nopt{rtc}{\fname{.scrobbler-timeless.log},}%
255 and is to be found in the root directory of your \dap{}.\\
257 \note{See \wikilink{LastFMLog} for a further description, and for tools you
258 can use to submit your Last.fm log.}
260 \section{Cuesheet Support}\index{Cuesheet Support}
261 Enables reading of cuesheet files for played tracks. If a cuesheet is found
262 for a track, track markers are displayed on the progressbar and it is
263 possible to skip between the tracks within the cuesheet. Also the information
264 found in the cuesheet file will replace the information from the ID3 tags.
265 When you enable this option, you'll have to reboot for it to come into
266 effect.
268 \section{Skip Length}\index{Skip Length}
269 Designed to speed up navigation when listening to long audio tracks,
270 \setting{Skip Length} changes the behaviour of
271 the \ActionWpsSkipPrev{} and \ActionWpsSkipNext{} buttons so that they skip
272 by a given time instead of skipping to a new track.
273 The \setting{Skip to Outro} option changes the behaviour so that the buttons
274 skip to just before the end of the track, so that the last few seconds are
275 played before the next track.
277 \section{Prevent Track Skipping}\index{Prevent Track Skipping}
278 If this option is enabled, the ability to manually skip tracks is disabled
279 in order to avoid accidental track skips. It does not prevent changing tracks
280 if a track ends, which can be achieved by combining this option with
281 \setting{Repeat} set to \setting{One}