How vandorb12/sloproom works
Sloproom is research software for encoding Type B HDCD control signals into stereo audio, then checking the result against FFmpeg. The main workflow runs through the single-file encoder: read audio, prepare its gain and optional PE/LLE processing, plan controls, quantize, inject packets, and write a WAV. Separate tools verify files and inspect decoder effects, including a read-only interactive visualizer. The README documents capabilities beyond the sampled excerpts; paths and links for those capabilities are included only where supported by the tree and evidence.
Main entry points: hdcd_encoder.py Encoder CLI · hdcd_verify.py HDCD verifier · hdcd_visualizer.py Decode-impact reports · hdcd_interactive_visualizer.py Interactive visualizer
Components 15
Audio encoding
- Encoder CLI
hdcd_encoder.py - Audio ingest
hdcd_encoder.py - Gain planning
hdcd_encoder.py - PE and LLE DSP
hdcd_encoder.py - Control timeline
hdcd_encoder.py - Quantize and dither
hdcd_encoder.py - Type B injection
hdcd_encoder.py
Verification
- HDCD verifier
hdcd_verify.py
Audio inspection
- Decode-impact reports
hdcd_visualizer.py - Interactive visualizer
hdcd_interactive_visualizer.py - Inspection and PE preview
hdcd_interactive_core.py
Other components
- Encoder user
- Source audio
- Encoded WAV
- FFmpeg hdcd
Connections 18
- Encoder user → Encoder CLI: runs
- Source audio → Encoder CLI: supplies
- Encoder CLI → Audio ingest: loads
- Encoder CLI → Gain planning: plans gain
- Encoder CLI → PE and LLE DSP: applies DSP
- Encoder CLI → Control timeline: plans controls
- Encoder CLI → Quantize and dither: quantizes
- Encoder CLI → Type B injection: injects packets
- Encoder CLI → Encoded WAV: writes
- Encoder user → HDCD verifier: runs
- Encoded WAV → HDCD verifier: checks
- HDCD verifier → FFmpeg hdcd: runs decoder
- Encoder user → Decode-impact reports: runs
- Encoded WAV → Decode-impact reports: inspects
- Decode-impact reports → FFmpeg hdcd: decodes
- Encoder user → Interactive visualizer: opens file
- Interactive visualizer → Inspection and PE preview: requests analysis
- Inspection and PE preview → FFmpeg hdcd: decodes carrier