notepat: scrolling record-needle waveform strip above pads
Classic DJ-turntable-style horizontal waveform sitting just above the
pad grids. 4-second history of the mixed speaker output, downsampled
to one peak value per pixel column. Refreshed every 4 frames for
cheap paint cost, uses the native C `sound.speaker.getRecentBuffer()`
that was already wired up for spacebar reverse-play.
- Background rectangle + center zero line
- Per-column vertical peak segments (centered on mid-line)
- Color gradient: cold blue at low amplitude → amber → warm red hot
- Red "record needle" at the right edge marking the current write
position (what gets snapshot on spacebar press)
Existing per-lane visualizer bars are shortened to end 2px above the
new strip so it fits without overlapping. Lets you see at a glance
what material a reverse-loop press is about to snapshot.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>