Skip to content

Commit 0e6e67d

Browse files
committed
docs: split user's manual into smaller files
1 parent 3c932f9 commit 0e6e67d

38 files changed

+801
-792
lines changed

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ When uninstalling you'll have the option to also **delete app data -- this will
4949

5050
On Windows, you can also uninstall via Control Panel.
5151

52-
?> See the [User's Manual](users-manual.md) for the complete documentation of audioMotion's features and settings.
52+
?> See the [User's Manual](user-interface.md) for the complete documentation of audioMotion's features and settings.
5353

5454
## Credits
5555

docs/advanced.md

Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,144 @@
1+
# Advanced Panel
2+
3+
Click **Advanced** in the panel selection buttons to open the Advanced Panel.
4+
5+
![ui-buttons-advanced](img/UI_main_buttons_advanced.png)
6+
7+
## Channel Layout
8+
9+
<div class="advanced-panel highlight-channel-layout"></div>
10+
11+
Selects single or dual channel display, with different layout options:
12+
13+
| Channel Layout | Description |
14+
|----------------|-------------|
15+
| **Single** | Single channel analyzer, representing the combined output of all channels (stereo or surround).
16+
| **Comb** | Dual channel analyzer, both channels overlaid. Works best with [**Line Graph** mode](settings.md#analyzer-mode) or [**OUTLINE**](settings.md#effects) switch on.
17+
| **Horiz** | Dual channel, side by side - see [Mirror](settings.md#mirror) for additional layout options.
18+
| **Vert** | Dual channel, left channel at the top half of the canvas and right channel at the bottom.
19+
20+
The channel layout setting does NOT affect stereo audio output.
21+
22+
?> Surround audio output is currently only supported with **Single** channel layout, and must be enabled in [Configuration > General settings](configuration.md#general-settings).
23+
24+
## Mirror
25+
26+
<div class="advanced-panel highlight-mirror"></div>
27+
28+
Selects a horizontal mirroring effect to the left (low frequencies at the center) or to the right (high frequencies at the center).
29+
30+
| Mirror: Left | Mirror: Right |
31+
|:-----------:|:-------------:|
32+
| ![mirror-left](img/mirror-left.png) | ![mirror-right](img/mirror-right.png)
33+
34+
## Import / Export Settings
35+
36+
<div class="advanced-panel highlight-import-export"></div>
37+
38+
Click **Export** to download all current settings in the **Settings** and **Advanced** panels as a JSON file. Use it to [share](https://github.com/hvianna/audioMotion.js/discussions/categories/presets) and store backup copies of your favorite settings.
39+
40+
Click **Import** to load settings from an external JSON file. Please note that this will overwrite all current settings in both the **Settings** and **Advanced** panels.
41+
42+
You can also import [downloaded presets](settings.md#save-manage-presets) this way.
43+
44+
## Bar Spacing
45+
46+
<div class="advanced-panel highlight-bar-spacing"></div>
47+
48+
The amount of spacing between analyzer bars. This setting is only effective in [Bars mode](settings.md#analyzer-mode).
49+
50+
## Fill Opacity
51+
52+
<div class="advanced-panel highlight-fill-opacity"></div>
53+
54+
Transparency of the graph area or bar fill. The [ALPHA](settings.md#effects) switch, when active, has precedence over the Fill Opacity (for Bars mode only).
55+
56+
Effective only for **Graph** [analyzer mode](settings.md#analyzer-mode) or when [OUTLINE](settings.md#effects) switch is on.
57+
58+
!> On **Firefox**, Fill Opacity may not work properly with [Radial](settings.md#effects) analyzer, due to [this bug](https://bugzilla.mozilla.org/show_bug.cgi?id=1164912).
59+
60+
## Line Width
61+
62+
<div class="advanced-panel highlight-line-width"></div>
63+
64+
Thickness of the graph line or outline stroke.
65+
66+
Effective only for **Graph** [analyzer mode](settings.md#analyzer-mode) or when [OUTLINE](settings.md#effects) switch is on.
67+
68+
## Radial Size
69+
70+
<div class="advanced-panel highlight-radial-size"></div>
71+
72+
Configure the radius of the radial analyzer, when [RADIAL](settings.md#effects) switch is on.
73+
74+
## Radial Spin
75+
76+
<div class="advanced-panel highlight-radial-spin"></div>
77+
78+
Configure the radial analyzer spinning speed, when [RADIAL](settings.md#effects) switch is on.
79+
80+
## Frequency Range
81+
82+
<div class="advanced-panel highlight-frequency-range"></div>
83+
84+
The lowest and highest frequencies represented in the spectrum analyzer. You can use this feature to "zoom in" a specific frequency range.
85+
86+
## Frequency Scale
87+
88+
<div class="advanced-panel highlight-frequency-scale"></div>
89+
90+
| Scale | Description | Frequency distribution preview (10Hz - 24kHz range)
91+
|----------|-------------|-----------------------------------
92+
| **BARK** | Bark scale | ![scale-bark](img/scale-bark.png)
93+
| **LIN** | Linear scale | ![scale-linear](img/scale-linear.png)
94+
| **LOG** | Logarithmic scale | ![scale-log-ansi](img/scale-log-ansi.png)
95+
| **MEL** | Mel scale | ![scale-mel](img/scale-mel.png)
96+
97+
Logarithmic scale allows the visualization of proper **octave bands** (see [Analyzer Mode](settings.md#analyzer-mode)) and it's also recommended when using the [**NOTES**](settings.md#x-axis-label) switch.
98+
99+
[*Bark*](https://en.wikipedia.org/wiki/Bark_scale) and [*Mel*](https://en.wikipedia.org/wiki/Mel_scale) are perceptual pitch scales, which may provide better visualization of mid-range frequencies, when compared to log or linear scales.
100+
101+
## Level Scale
102+
103+
<div class="advanced-panel highlight-level-scale"></div>
104+
105+
**LINEAR** | Switch between linear scale and decibels (logarithmic) to represent bar amplitudes
106+
107+
## Octave Bands
108+
109+
<div class="advanced-panel highlight-octave-bands"></div>
110+
111+
**ANSI** | Switch between [ANSI/IEC preferred frequencies](https://archive.org/details/gov.law.ansi.s1.11.2004) and [equal-tempered scale](http://hyperphysics.phy-astr.gsu.edu/hbase/Music/et.html) to generate octave bands
112+
113+
## FFT Size
114+
115+
<div class="advanced-panel highlight-fft-size"></div>
116+
117+
Number of samples used for the [Fast Fourier Transform](https://en.wikipedia.org/wiki/Fast_Fourier_transform) performed by the analyzer.
118+
119+
Higher values provide greater detail in the frequency domain (especially for low frequencies), but less detail in the time domain (slower response to changes).
120+
The default value of **8192** usually provides the best cost/benefit ratio for both domains.
121+
122+
## FFT Smoothing
123+
124+
<div class="advanced-panel highlight-fft-smoothing"></div>
125+
126+
Averaging factor used to smooth FFT data between analysis frames.
127+
128+
Lower values make the analyzer react faster to changes, and may look better with faster tempo songs and/or larger FFT sizes.
129+
Increase it if the analyzer animation looks too "jumpy".
130+
131+
## Weighting Filter
132+
133+
<div class="advanced-panel highlight-weighting"></div>
134+
135+
[Weighting filter](https://en.wikipedia.org/wiki/Weighting_filter) applied to frequency data for spectrum visualization.
136+
137+
Each filter applies a different curve of gain/attenuation to specific frequency ranges, but the general idea is to adjust the
138+
visualization of frequencies to which the human ear is more or less sensitive.
139+
140+
![weighting-filters-curves](img/weighting-filters-curves.png)
141+
142+
?> Weighting filters **do NOT** affect audio output. Some filters may impact performance, due to increased real-time data processing.
143+
144+

docs/configuration.md

Lines changed: 153 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,153 @@
1+
# Configuration
2+
3+
Click **Configuration** in the main function buttons to open the Configuration panel.
4+
5+
![ui-buttons-config](img/UI_main_buttons_configuration.png)
6+
7+
## Background Image Fit options
8+
9+
![config-enabled-bgfit](img/config-enabled-bgfit.png)
10+
11+
Uncheck options to remove them from the [Background Image Fit](settings.md#background-image-fit) selection box.
12+
13+
## General settings
14+
15+
<img src="img/config-general-settings.png" class="img-right">
16+
17+
### Analyzer height on fullscreen (%)
18+
19+
Height of the analyzer when in fullscreen. This can be used to provide a wider look to the fullscreen analyzer.
20+
21+
You can also use the **Shift** + **Up** and **Down** arrows to adjust the analyzer height during fullscreen visualization.
22+
23+
### Background media source
24+
25+
Choose the source for [Background](settings.md#background) images and videos, or disable this feature.
26+
27+
When set to *Local folder*, only files in the selected folder will be loaded (subfolders are ignored).
28+
Requires browser support for the [*File System Access API*](known-issues.md).
29+
30+
### Background media max items
31+
32+
Choose the maximum number of media files that can be directly selected in the [Background](settings.md#background) setting.
33+
34+
If your backgrounds folder contains more files, the remaining ones will only be selectable via the *Random image* or *Random video* options.
35+
36+
### Maximum frame rate (FPS)
37+
38+
Maximum desired animation frame rate, in frames per second.
39+
40+
*'Unlimited'* will try to match your monitor's refresh rate, but may increase CPU usage.
41+
42+
### PIP aspect ratio
43+
44+
Choose the aspect ratio of the Picture-In-Picture window.
45+
46+
After entering PIP, the window can be resized and the selected aspect ratio will be preserved.
47+
48+
### Auto-collapse front panel on analyzer hover
49+
50+
Automatically collapses the front panel when you move the mouse cursor over the analyzer area,
51+
keeping only the main controls visible and expanding the analyzer to use most of the screen.
52+
53+
To expand the front panel again, click the <img src="img/button-expand.png" style="vertical-align: middle"> button or one of the [panel selection buttons](user-interface.md#panel-selection).
54+
55+
### Disable Background Dim when playing video
56+
57+
Ignore the [Background Dim](settings.md#background-dim) setting when playing a video track.
58+
59+
### Disable Background Dim when showing subtitles
60+
61+
Ignore the [Background Dim](settings.md#background-dim) setting when showing subtitles for the current track.
62+
63+
### Remember last music folder
64+
65+
Start the file explorer in the last previously used folder the next time you open audioMotion.
66+
67+
### Remember play queue contents
68+
69+
Automatically restores the contents of the play queue the next time you open audioMotion.
70+
71+
72+
## Gradients management
73+
74+
![config-gradients](img/config-gradients.png)
75+
76+
Uncheck gradients to remove them from the [Gradients](settings.md#gradients) selection box.
77+
78+
Move the mouse over a gradient name and click the <img src="img/button-edit-gradient.png" style="vertical-align: middle"> button to clone, edit, delete, or export it (see [**Gradient Editor**](#gradient-editor) below).
79+
80+
Click the **Create Gradient** button to create a new custom gradient, or the **Import Gradient** button to import a downloaded gradient.
81+
82+
?> Visit [Resources > Gradients](https://github.com/hvianna/audioMotion.js/discussions/categories/gradients) in our GitHub Discussions to download community gradients and share your creations too!
83+
84+
## Gradient Editor
85+
86+
The gradient editor is accessed via [Gradients management](#gradients-management), by clicking the **Create Gradient** button, or the <img src="img/button-edit-gradient.png" style="vertical-align: middle"> button next to a gradient's name.
87+
88+
Built-in gradients can't be changed or deleted, but you can clone a built-in gradient and make the changes you'd like. Then disable the built-in gradients you don't want to use by unchecking them in the [Gradients management](#gradients-management) list.
89+
90+
![gradient-editor](img/gradient-editor.png)
91+
92+
At least two colors are required to create a gradient, but you can add as many colors as you like.
93+
The **offset** must be a number between 0 and 1 - use it to adjust the position of each color inside the gradient.
94+
95+
!> Custom gradients are saved to the browser's internal storage and will only be accessible in the same browser they were saved. **It is recommended that you save backup copies of your custom gradients, by using the Export function.**
96+
97+
## On-screen information display
98+
99+
![config-osd-options](img/config-osd-options.png)
100+
101+
### On-screen display font size
102+
103+
Base font size used for information displayed on canvas.
104+
105+
Customize how long information is displayed on screen when user clicks the analyzer or uses the **D** keyboard shortcut,
106+
and also on song beginning and end.
107+
108+
You can also toggle the display of album covers and number of tracks.
109+
110+
## Peaks behavior
111+
112+
![config-peaks-behavior](img/config-peaks-behavior.png)
113+
114+
### Gravity
115+
116+
Acceleration for peaks falling down (in thousands of pixels per second squared), when [set to *Drop*](settings.md#peaks).
117+
118+
### Peak fade time
119+
120+
Time in milliseconds for peaks to completely fade out, when [set to *Fade*](settings.md#peaks).
121+
122+
### Peak hold time
123+
124+
Time in milliseconds for peaks to hold their values before they start falling down or fading out.
125+
126+
## Randomize
127+
128+
![config-randomize-settings](img/config-randomize-settings.png)
129+
130+
Select which configuration settings may be changed by [Randomize](settings.md#randomize).
131+
132+
When **User Presets** is checked, Randomize will first load one of your [saved custom presets](settings.md#save-manage-presets) and then choose random values for any other settings checked.
133+
So if you want to randomize only among your custom presets, uncheck everything else!
134+
135+
## Sensitivity presets
136+
137+
![config-sensitivity-presets](img/config-sensitivity-presets.png)
138+
139+
Customize low, normal and high [Sensitivity](settings.md#sensitivity) presets.
140+
141+
**Min dB** and **Max dB** represent the lowest and highest volume levels to be registered by the analyzer, in decibels.
142+
143+
The **Linear boost** value is used to perform an *n*th-root operation to amplify low energy values, when using the linear [level scale](advanced.md#level-scale).
144+
145+
?> Please note that **0** dB represents the loudest volume possible.
146+
147+
## Subtitles & Video
148+
149+
![config-subtitles](img/config-subtitles.png)
150+
151+
Choose the background, text color and vertical position of subtitles.
152+
153+

docs/console.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Console
2+
3+
Click **Console** in the top panel buttons to open the Console.
4+
5+
![ui-buttons-console](img/UI_main_buttons_console.png)
6+
7+
The console records several useful information, like audio and video settings, configuration changes and error messages.
8+
9+
informational and error messages.
10+
11+
![console](img/console.png)
12+
13+

docs/help.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Help panel
2+
3+
## Keyboard shortcuts
4+
5+
The following keyboard shortcuts can be used to control the player and change some visualization settings without leaving fullscreen:
6+
7+
| key | action |
8+
|:----|:-------|
9+
**0** | pick random values for all [settings affected by Randomize](#randomize-settings)
10+
**1** - **9** | load a User Preset
11+
**Shift** + **1** - **9** | save current settings to a User Preset slot
12+
**Up** / **Down** arrows | volume up / down<br>**+ Shift:** increase / decrease analyzer height on fullscreen
13+
**Left** / **Right** arrows | previous / next song<br>**Hold** for rewind / fast forward
14+
**Space** | play / pause
15+
**Shift+A** / **A** | change [Randomize](#randomize) interval
16+
**B** | cycle through [Background](#background) options
17+
**Shift+B** | cycle through [Background Image Fit](#background-image-fit) options
18+
**C** | toggle Radial analyzer
19+
**D** | display song information; press again for settings info and again to hide<br>(alternatively, click on analyzer)
20+
**E** | shuffle play queue
21+
**F** | toggle fullscreen
22+
**Shift+G** / **G** | select previous / next gradient
23+
**H** | toggle FPS display
24+
**I** | toggle information display at track start/end
25+
**L** | toggle LEDs effect on analyzer bars
26+
**Shift+M** / **M** | select previous / next [Analyzer Mode](#analyzer-mode)
27+
**Shift+N** / **N** | reduce / increase analyzer sensitivity
28+
**O** | toggle low-resolution mode
29+
**P** | toggle peaks display
30+
**Shift+P** | toggle FADE peaks
31+
**R** | toggle play queue repeat
32+
**Shift+S** / **S** | toggle display of frequency and level scales
33+
**T** | toggle flat / shadowed text for on-screen display
34+
**U** | toggle luminance bars effect
35+
**Shift+X** / **X** | select previous / next [Reflex](#reflex) style

docs/img/UI_main_buttons.png

-3.91 KB
Loading
-4.37 KB
Loading
-13.6 KB
Binary file not shown.
9.39 KB
Loading
-3.9 KB
Loading

0 commit comments

Comments
 (0)