mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-16 14:27:26 +00:00
The filters and envelopes a carve produces are a MEASUREMENT of specific tracks. Delete one and they go on describing a voice nobody can hear — the bed keeps ducking for it. `analyse` already skipped a source it could not find, but nothing ever asked it to run again. So the panel prunes sources that have left the composition, and pruning is the whole trigger: setCarve re-analyses whenever the source list changes, and the survivors are re-measured together. Losing the last one leaves an empty list, and what the carve generated goes with it — those filters are making room for nobody. Staying enabled is deliberate: a voice may come back, and "off" is a different thing the author chose. Existence is asked of the TIMELINE, not of element.ownerDocument. Measured in the studio, a bed selected right after its voice was deleted still found that voice through the preview DOM, which outlives the edit; the store is what the delete actually changed. Absence there only counts once the store is known to describe this composition — the bed being in it is the proof — or an empty store would read as "every voice was deleted" and strip a healthy carve. Also fixes what that exposed: auto-apply could pick off the picker's FALLBACK list. The fallback shows every track when nothing classifies as a voice, so the author can override a name that reads as music — but with the narration deleted it left a 200 ms explosion as the only candidate, and the bed carved itself against it. Offering is for the author; choosing is the panel deciding, and an explosion is not a voice to make room for.