Shared BeatEvent + LyricEvent contract for the dem0nhub audio-analysis ecosystem. Pure module, no executables. Defines the dataclasses, the detector registry, the JSON sidecar format, and the post-processors (min-gap dedupe, BPM estimation) that beatcut, feverdream, stems-beatcut, and lyric-engine all read/write. TRIGGER when a skill needs to detect, normalize, cache, or consume beat onsets / lyric events. Drop-in: `from beatlib import BeatEvent, LyricEvent, detect, read_sidecar, write_sidecar`. v1.0.0.
"Create Feverdream edits: old-internet dream-loop videos with surreal real-world footage, bright compressed color, small social-video framing, object-mask transitions, foreground wipes, and loopable memory logic. Use when the user asks for Feverdream, old internet dream loop, masked transition edits, surreal found-footage social videos, or edits inspired by the confirmed old_memory reference. Analyze references first when provided, confirm the style brief, then edit using the confirmed Feverdream language."