Lab

Sound Report

What a sound was read as, in a dialog: its loudness and true peak, its key and tempo when it has them, and each of ACX's audiobook requirements with whether the sound meets it.

Installation

pnpm dlx shadcn@latest add @audio-ui/sound-report

Usage

SoundReport is controlled: it is open while report is set, and onOpenChange(false) is where you clear it. The report is the one reportSound of @audio-ui/engine/analysis gives, held by useSoundReport.

import { SoundReport } from "@/components/audio-ui/sound-report";

<SoundReport onOpenChange={(open) => !open && clear()} report={report} />;
PropType
reportSoundReport | nullWhat the sound was read as. null closes the dialog.
onOpenChange(open: boolean) => voidThe dialog was dismissed.
Built by Ouest Labs, the source code is available on GitHub.
RSS