Pipeline
- Docsusage, props, keywords
- Demosrc/demo.tsx
- Buildshadcn add → vite
- Capturelight, dark, motion
- IndexBM25 + vectors
Public log. Prompts, raw model errors and costs stay on the admin side.
Log
Demo source
src/demo.tsx · from an earlier run
import { AudioPlayer } from "@/components/ui/audio-player"// A silent, offline WAV so the player loads without a network request.const wav = [82, 73, 70, 70, 36, 0, 0, 0, 87, 65, 86, 69, 102, 109, 116, 32, 16, 0, 0, 0, 1, 0, 1, 0, 64, 31, 0, 0, 64, 31, 0, 0, 1, 0, 8, 0, 100, 97, 116, 97, 0, 0, 0, 0]const src = "data:audio/wav;base64," + btoa(String.fromCharCode(...wav))const peaks = Array.from({ length: 48 }, (_, i) => 0.25 + 0.75 * Math.abs(Math.sin(i * 0.45) * Math.cos(i * 0.13)))export default function AudioPlayerDemo() { return ( <AudioPlayer className="w-full max-w-md" src={src} peaks={peaks} duration={184} label="Intro" /> )}