This script calculates the Maximum delta / Mean delta ratio to detect
clicks in FLAC files. A ratio > 10 indicates audio discontinuities caused
by buffer underruns during encoding.
Usage: ./check_audio_quality.sh [cache_directory]
The script helps verify that the PCM buffer fix (256 instead of 8) has
eliminated the clicks.