import { Canvas } from "@react-three/fiber"; import { InferenceResult } from "../types"; import SpectrogramViewer from "./SpectrogramViewer"; interface CanvasProps { paused: boolean; inferenceResults: InferenceResult[]; getTime: () => number; audioLength: number; } /** * React three fiber canvas with spectrogram drawing. */ export default function ThreeCanvas({ paused, inferenceResults, getTime, audioLength, }: CanvasProps) { return ( ); }