Skip to content

[4/6] feat: keep duck references valid when clips are deleted or pasted - #302

Merged
dazzatronus merged 1 commit into
feat/duck-3-previewfrom
feat/duck-4-references
Nov 18, 2026
Merged

dazzatronus merged 1 commit into
feat/duck-3-previewfrom
feat/duck-4-references

Conversation

@dazzatronus

@dazzatronus dazzatronus commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

The API rejects an edit whose duck.under names an alias no clip has, so Studio must not leave one behind.

  • Deleting a clip or track removes its alias:// reference from every duck.under, and drops duck when none remain. Undo restores the original duck exactly, volume included.
  • Pasting drops references the target edit doesn't have.
  • Known limit: pasting a voice together with its music doesn't re-point the music at the voice's new alias. start and length alias references behave the same way today.

Verify: npm run verify:ci.

Stack (squash into main in order)

# PR Adds Why separate
[1/6] #304 schemas 1.25.0 and canvas 2.15.0 Dependency bump
[2/6] #300 Loudness blocks from decoded audio Pure measurement, tested against ffmpeg
[3/6] #301 Ducked preview and export Levels, preview and export only work together
[4/6] #302 ← this PR Duck references survive delete and paste Repairs edits; revertible alone
[5/6] #303 Speed and volume guards on ducked clips Keeps existing controls valid for loaded edits
[6/6] #305 Duck control in the audio toolbar The user-facing control

@dazzatronus dazzatronus changed the title [5/6] feat: keep duck references valid when clips are deleted or pasted [4/6] feat: keep duck references valid when clips are deleted or pasted Nov 18, 2026
@dazzatronus
dazzatronus added this pull request to stack #306 November 18, 2026 22:10
@dazzatronus
dazzatronus force-pushed the feat/duck-4-references branch from 7d7fe1a to 3624dde Compare November 18, 2026 23:23
@dazzatronus
dazzatronus merged commit a62eedb into main Nov 18, 2026
2 checks passed
github-actions Bot pushed a commit that referenced this pull request Nov 18, 2026
# [2.33.0](v2.32.1...v2.33.0) (2026-11-18)

### Features

* add a Duck control to the audio toolbar ([#305](#305)) ([8ca685a](8ca685a))
* keep duck references valid when clips are deleted or pasted ([#302](#302)) ([a62eedb](a62eedb))
* keep speed and volume edits valid on ducked audio clips ([#303](#303)) ([94e3cc5](94e3cc5))
* measure loudness blocks from decoded audio ([#300](#300)) ([a441a1d](a441a1d))
* preview and export ducked audio ([#301](#301)) ([2401c56](2401c56))
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 2.33.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant