summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/CUSTOM_CFG_FORMAT114
1 files changed, 82 insertions, 32 deletions
diff --git a/docs/CUSTOM_CFG_FORMAT b/docs/CUSTOM_CFG_FORMAT
index 87bc18162a..06b11b8241 100644
--- a/docs/CUSTOM_CFG_FORMAT
+++ b/docs/CUSTOM_CFG_FORMAT
@@ -1,24 +1,85 @@
1Custom CFG 1Custom CFG File Format Specification
2File Format Specifications
3 2
4Description / General Info 3General Info
5-------------------------- 4------------
6* The .cfg file is used on both the Rockbox Player and Recorder, in order to 5The .cfg file is used to load settings from a plain text file. A .cfg file may
7 load custom settings. 6reside anywhere on the hard disk. The only restriction is that the filename
8* Currently, only sound settings are supported but this will change in the 7must end in .cfg
9 future.
10
11File Location
12-------------
13The files may reside anywhere on the hard disk. The only restriction is that
14the filename must end in .cfg
15 8
16Format Rules 9Format Rules
17------------ 10------------
18* Each setting must have it's own line. 11* Format: setting: value
12* Each setting must be on a separate line.
19* Lines starting with # are ignored. 13* Lines starting with # are ignored.
20* If a value is out of the acceptable range for the device, which can vary 14
21 depending on the model, the value will be set to its default value. 15Settings (allowed values) [unit]
16--------------------------------
17volume (0 - 100)
18bass (-15 - 15)
19treble (-15 - 15)
20balance (-100 - 100)
21
22shuffle (on, off)
23repeat (off, all, one)
24play selected (on, off)
25resume (off, ask, on)
26scan min step (1, 2, 3, 4, 5, 6, 8, 10, 15, 20, 25) [seconds]
27scan accel (0 - 15) [double scan speed every X seconds]
28antiskip (0 - 7) [seconds]
29
30sort case (on, off)
31show files (all, supported, music)
32follow playlist (on, off)
33
34scroll speed (1 - 10) [Hz]
35start delay (0 - 250) [1/10s]
36scroll step (1 - 112) [pixel]
37bidir limit (0 - 200) [% of screen width]
38contrast (0 - 63)
39backlight timeout (off, on, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
40 15, 20, 30, 45, 60, 90) [seconds]
41backlight when plugged (on, off)
42
43disk spindown (3 - 254) [seconds]
44disk poweroff (on, off)
45battery capacity (1500 - 2400) [mAh]
46idle poweroff (off, 1, 2, 3, 4, 5, 6, 7, 8, 9,
47 10, 15, 30, 45, 60) [minutes]
48
49Recorder-specific settings (allowed values) [unit]
50---------------------------------------------------
51loudness (0 - 17)
52bass boost (0 - 100)
53auto volume (0=off, 1=2s, 2=4s, 3=8s)
54
55peak meter release (1 - 126)
56peak meter hold (off, 200ms, 300ms, 500ms,
57 1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
58 15, 20, 25, 30, 45, 90,
59 2min, 3min, 5min, 10min, 20min, 45min, 90min)
60peak meter clip hold (on, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
61 15, 20, 25, 30, 45, 60, 90,
62 2min, 3min, 5min, 10min, 20min, 45min, 90min)
63peak meter busy (on, off)
64peak meter dbfs (on, off) (on = dbfs, off = linear)
65peak meter min (0 - 89) [dB] or (0 - 100) [%]
66peak meter max (0 - 89) [dB] or (0 - 100) [%]
67
68volume display (graphic, numeric)
69battery display (graphic, numeric)
70time format (12hour, 24hour)
71
72deep discharge (on, off)
73trickle charge (on, off)
74
75rec quality (0 - 7) (0=smallest size, 7=highest quality)
76rec frequency (48, 44, 32, 24, 22, 16) [kHz]
77rec source (mic, line, spdif)
78rec channels (mono, stereo)
79rec mic gain (0 to 15)
80rec left gain (0 to 15)
81rec right gain (0 to 15)
82
22 83
23Example File 84Example File
24------------ 85------------
@@ -26,20 +87,9 @@ volume: 70
26bass: 11 87bass: 11
27treble: 12 88treble: 12
28balance: 0 89balance: 0
29channels: 0 90time format: 12hour
30loudness: 5 91volume display: numeric
31bass boost: 30 92show files: supported
32auto volume: 0 93wps: car
33 94lang: afrikaans
34This sets each line to the respective values after it.
35 95
36Value ranges
37------------
38volume: 0 to 100
39bass: player: -15 to 15, recorder: -12 to 12
40treble: player: -15 to 15, recorder: -12 to 12
41balance: -100 to 100
42channels: 0=Stereo, 1=Mono, 2=Mono Left, 3=Mono Right
43loudness: 0 to 17 (recorder only)
44bass boost: 0 to 100 (recorder only)
45auto volume: 0=off, 1=2s, 2=4s, 3=8s (recorder only)