UNPKG

wave-roll

Version:

JavaScript Library for Comparative MIDI Piano-Roll Visualization

15 lines 631 B
import { AudioPlayerContainer } from "@/lib/core/audio/audio-player"; export interface PlaybackControlsDeps { audioPlayer: AudioPlayerContainer; } export interface PlaybackControlsHandles { element: HTMLElement; updatePlayButton: () => void; } /** * Create playback control elements (restart, play/pause, repeat) and return * both the HTMLElement container and an updatePlayButton function that keeps * the play/pause button UI in sync with current playback state. */ export declare function createPlaybackControls(ctx: PlaybackControlsDeps): PlaybackControlsHandles; //# sourceMappingURL=playback-controls.d.ts.map