calibration

command
v0.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2026 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Overview

Command calibration fetches the recordings item_compare_audio is calibrated on into a cache outside the repository, with the manifest the calibration test reads.

They are LibriVox readings of one text by different readers, the hardest case the by-ear check meets: the same words in another voice. All of it is in the public domain and none of it is copied into the repository. docs/CALIBRATION.md has the detail.

go run ./lib/audiosample/calibration                     # about 925 MB into ~/.cache/abs-mcp/calibration; run again if archive.org drops a file
go run ./lib/audiosample/calibration -dir /some/dir
go run ./lib/audiosample/calibration -list               # say what would be fetched, fetch nothing
go run ./lib/audiosample/calibration -manifest-only      # write the manifest, fetch nothing
go run ./lib/audiosample/calibration -only 4511,200      # fetch some of the recordings
ABS_CALIBRATION_DIR=~/.cache/abs-mcp/calibration go test -tags calibration -run Calibration -v -timeout 2h ./tools/

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL