Showing the last saved plugin snapshot.
vecnode/dsh-audio
“Audio viewer: a real audio tab type for the vncode right bar (dsh-rightbar).”
Audio viewer: a real audio tab type for the vncode right bar (dsh-rightbar). WAV/RIFF, AIFF/AIFC and FLAC open as a WAVEFORM - one track per channel, an adaptive time ruler, a min/max envelope with the RMS band drawn inside it (the accent at 55% with the core solid, so both readings are visible), a dBFS or linear amplitude scale, zoom by pixels-per-second up to 500000 (individual samples as stems) and down to 1, fit, drag-to-select, and playback with a playhead driven by the AudioContext clock. The bytes are decoded in the page: WAV and AIFF/AIFC by a hand-written decoder that streams the file in windows through the harness's own workspaceFiles remote (so a file far past the 32 MiB single-read cap still draws), FLAC by the browser's own decoder. The zoom moves the LAYOUT - the scrollable width is the file's real duration times the zoom - and the waveform is painted by a viewport-anchored canvas, so a zoomed waveform stays scrollable to its edge and panning is the pane's own scrollLeft. A `fmt ` chunk whose block align is narrower than one frame is refused BY NAME rather than decoding samples read from the wrong place, a zero-size chunk is stepped over instead of letting it end the RIFF/IFF walk, and a header the file simply ENDS inside is answered with the parser's own verdict rather than with the 8 MiB ceiling sentence. Alpha.
