feat: trim audio clips from sample editor ranges with conservative tick alignment
This commit is contained in:
parent
7a04c6d922
commit
3d031a0010
10 changed files with 59 additions and 6 deletions
|
|
@ -13,3 +13,7 @@ editor loads an independent snapshot of the complete source, up to 4,194,304 fra
|
|||
RMS and mean/DC before clip gain, fades or mixer processing. Display clamps to
|
||||
±1; sample statistics retain finite over-range values. Editing project MIDI still
|
||||
opens the piano roll. This editor does not audition or stream long files.
|
||||
|
||||
## Phase 70
|
||||
|
||||
Trim clip to selection applies source-frame endpoints within the current audible clip. Start rounds up and end rounds down to musical ticks; empty sub-tick ranges reject. Leading removal moves the timeline start by the same amount, preserving alignment. Source content, reference and clip gain/fade settings remain intact; project Undo restores the prior trim.
|
||||
|
|
|
|||
|
|
@ -1702,12 +1702,12 @@ Implemented: bounded C99 source snapshots, per-range min/max/RMS/DC analysis and
|
|||
Apply sample-editor selection as audible clip trims with conservative frame-to-musical-tick rounding, preserved source content and one project undo step.
|
||||
|
||||
### Tasks and acceptance criteria
|
||||
- [ ] Implement bounded C99 analysis/processing and accessible FLTK controls.
|
||||
- [ ] Preserve source files, atomic error handling, history and callback safety.
|
||||
- [ ] Pass meaningful core and GUI checks; document exact behavior and limits.
|
||||
- [x] Implement bounded C99 analysis/processing and accessible FLTK controls.
|
||||
- [x] Preserve source files, atomic error handling, history and callback safety.
|
||||
- [x] Pass meaningful core and GUI checks; document exact behavior and limits.
|
||||
|
||||
### Implementation status
|
||||
Planned.
|
||||
Implemented: native frame bounds trim audio inside its current audible region with conservative tick rounding and preserved timeline/source alignment. Core rounding/rejection/unchanged-state checks and GUI trim/project undo pass.
|
||||
|
||||
---
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue