Stack L/R waveform lanes in stereo mode, with overlays drawn once at full band height

This commit is contained in:
2026-07-30 09:04:57 -04:00
parent 81f5861ba4
commit 2a0d10fab5
9 changed files with 341 additions and 77 deletions
+6 -5
View File
@@ -905,13 +905,14 @@ target_include_directories(keyboard_strip PUBLIC src)
target_link_libraries(keyboard_strip PUBLIC editor_geometry)
# waveform_view (Phase S11) — PURE frame<->pixel mapping, marker grab regions, drag-delta
# frame resolver, and the zero-crossing snap for the capture-first editor's waveform surface
# (draggable start + loop markers over the picked capture's decoded PCM). The mirror of
# keyboard_strip; links editor_geometry for the shared Rect and peaks for the AudioSample
# alias the snap scans. NEITHER SDK.
# frame resolver, the zero-crossing snap, and the WAVEFORM band's drawn surface (channel
# lane(s) + the one full-height overlay rect) for the capture-first editor. The mirror of
# keyboard_strip; links editor_geometry for the shared Rect, peaks for the AudioSample alias
# the snap scans + the per-lane Envelope split, and sample_bands (READ-ONLY, as a band
# interior) for the lane inventory. NEITHER SDK.
add_library(waveform_view STATIC src/core/instrument/ui/waveform_view.cpp)
target_include_directories(waveform_view PUBLIC src)
target_link_libraries(waveform_view PUBLIC editor_geometry peaks)
target_link_libraries(waveform_view PUBLIC editor_geometry peaks sample_bands)
# bank_sync (Phase S9/S8 reader) — PURE decision logic for the instrument's off-audio-thread
# poll: parse/compare the S9 bank-generation stamp, and the S8 assignment-request CONSUME