Audio Wave: correct model — 721 groups are hard splits, segments inside; range select; mirrored render; fix reload explosion
Rebuilt around the real model: group_frames (721) are HARD splits; segments = user
splits UNION the group lines, so a segment never crosses a group boundary (last segment
in a group ends exactly on frame 721). segment_select is now a RANGE string ('A-B' /
'N' / '' = all) that crops waveform_image + audio + summary to segments A..B. Render
rewritten: mirrored waveform (uses top+bottom), bold group grid, thin segment lines,
labels along the top and notes along the bottom, selected range shaded. JS: guards
frame values (0 -> default, fixing the 400+-segments-on-reload explosion), writes only
USER splits to segments_json, dblclick=add split / shift-click=remove / click=seek.
group number fixed (boundary rounding). Workflows + README updated.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -13,8 +13,8 @@
|
||||
"inputs": {
|
||||
"audio": "audio.wav",
|
||||
"fps": 24,
|
||||
"subsegment_frames": 721,
|
||||
"segment_select": 0,
|
||||
"group_frames": 721,
|
||||
"segment_select": "",
|
||||
"notes": "",
|
||||
"segments_json": "[]"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user