summaryrefslogtreecommitdiff
path: root/doc/TOOLS_REFERENCE.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/TOOLS_REFERENCE.md')
-rw-r--r--doc/TOOLS_REFERENCE.md21
1 files changed, 9 insertions, 12 deletions
diff --git a/doc/TOOLS_REFERENCE.md b/doc/TOOLS_REFERENCE.md
index 61412a9..f99d213 100644
--- a/doc/TOOLS_REFERENCE.md
+++ b/doc/TOOLS_REFERENCE.md
@@ -26,24 +26,21 @@ Comprehensive reference for all developer tools in the project.
cmake -S . -B build -DDEMO_BUILD_TOOLS=ON
cmake --build build -j4
-# Analyze WAV → .spec
+# Analyze WAV/MP3 → .spec (v2 OLA format)
./build/spectool analyze input.wav output.spec
+./build/spectool analyze input.wav output.spec --normalize # normalize to RMS 0.15
+./build/spectool analyze input.wav output.spec --normalize 0.20 # custom RMS target
-# Play .spec file
-./build/spectool play input.spec
-```
-
----
+# Decode .spec → mono 16-bit WAV (32 kHz, IDCT-OLA synthesis)
+./build/spectool --wav input.spec output.wav
-## specview (Visualization)
+# Play .spec file via audio device
+./build/spectool play input.spec
-```bash
-# View spectrogram
-./build/specview input.spec
+# Generate test spectrogram (C major scale)
+./build/spectool test_gen output.spec
```
-Displays spectrogram visualization.
-
---
## specplay (Diagnostic)