Skip to content

FLAC Verifier 2.10.1 (Engine 14.6)

Latest

Choose a tag to compare

@FraysKosher FraysKosher released this 17 Nov 05:08

Forensic Hardening, Multichannel DSP & O(1) Clipping Memory (Engine 14.6)

  • Multichannel (>=3 ch), anti-phase (L = -R) & zero-energy spectral guard (_motor_espectral.py): Multichannel FLAC streams (3.0, 5.1, 7.1) now detect and measure active full-range channels instead of reading only channels 0 and 1 (preventing silent Front L/R channels from producing a flat-floor ceiling = Nyquist verdict), out-of-phase stereo signals fall back to Side-channel energy when Mono cancels, and _spectral_metrics rejects all-floor spectra with no real signal energy (ENGINE_VERSION = "14.6").
  • Per-channel O(1)-memory clipping tracker (_motor_bits.py, motor_flac.py): Fixed a block-boundary edge case in _streaks where an open saturation run was dropped if the next block's first run started at index > 0, isolated clipping run tracking per channel so alternating single-sample L / R / L peaks never merge into false 3-sample runs, and replaced the unbounded run-length list with _ClippingAccumulator (dropping 4-minute alternating-clipping heap usage from 44.24 MiB to 0.0115 MiB).
  • Cache, atomic PNG & path hardening (_motor_cache.py, _motor_espectral.py, _motor_veredicto.py, motor_flac.py): Bumped CACHE_SCHEMA_VERSION = "2.5.0". Malformed cache JSON files or non-dict nested fields now degrade cleanly to cache misses without aborting batch runs; spectrogram PNGs are mode-scoped, written atomically, and verified against the 8-byte PNG signature on read; cache hits refresh caller ruta/archivo fields; and digital-silence or STREAMINFO MD5 mismatch files short-circuit before running STFT or writing PNGs.
  • CLI, PDF, build & POSIX/GUI lifecycle (build.py, verificar_flac.py, informe_pdf.py, gui.py): build.py now fails on non-zero --version exit codes, verificar_flac.py includes indeterminate counts in folder summaries, informe_pdf.generate() guards indice_original sorting inside try/except, gui.py terminates full POSIX worker process groups (start_new_session=True / os.killpg) on Cancel and surfaces partial multi-album queue failures, and the test suite expands from 383 to 401 tests.

Validation: 401 unit tests (OK), 260-track real-encoder & adversarial benchmark PASS (TP=150/150 sensitivity 100.0%, TN=110/110 specificity 100.0%, album coherence PASS), and 12/12 frozen executable checks (FLAC_Verifier.exe / flac_motor.exe). SHA-256 of FLAC_Verifier_2.10.1-win64.zip: 8bfff06d31fd7e7d3d1bc30fc25d987370fedbaf76700a065ce28446a4589b17.