UseSpectrogramOptions
type UseSpectrogramOptions = SpectrogramConfig & object;Type Declaration
Section titled “Type Declaration”audio?
Section titled “audio?”optional audio?: HTMLAudioElement;navigation?
Section titled “navigation?”optional navigation?: boolean | NavigationOptions;onReady?
Section titled “onReady?”(info: SpectrogramReadyInfo) => voidonViewportChange?
Section titled “onViewportChange?”(viewport: ViewportConfig) => voidscope?
Section titled “scope?”optional scope?: Sonoscope | null;source?
Section titled “source?”optional source?: AudioSource;optional url?: string;