Commits
Commits on
7f487c10e98d32efa4e4b554b778d2eea5d16efdFiltered to crates/engine/src/silence.rsClear filter2026-08-19
✨ feat(engine): clips can name a dissolve into their neighbor (edith 19, storage+format)Ahmet Kaan Gümüş · 8369d8e
✨ feat(engine): clips can name a dissolve into their neighbor (edith 19, storage+format) transition_out frames on a video clip dissolve it into the adjacent next clip; split keeps the tail's transition clamped and zeroes the head; v18 files load with hard cuts, v19 round-trips bit-exactly. Blending (playback and export) lands separately.
✨ feat(engine): per-clip audio fades, adjacency crossfade, and edith 18Ahmet Kaan Gümüş · 6d0747c
✨ feat(engine): per-clip audio fades, adjacency crossfade, and edith 18 Clip carries fade_in/fade_out, an equal-power gain envelope mixed into playback and export, a crossfade() op that sets both edges of two adjacent audio clips, and split's rule that only the kept edge keeps its fade. The project file format bumps to edith 18 to carry the two new fields; a v17 (or older) file loads with every clip's fades at zero. Fixes a stray fade_in/fade_out struct-literal fragment left outside any Clip literal in Player::trimmed (crates/app/src/player/timeline_edit.rs), which was a syntax error breaking the whole app crate's build. Adds unit coverage for Fade::gain_at's boundary/midpoint curve, the split edge rule, crossfade's adjacency refusal, the Clip size-lock test (40 -> 48 bytes), and a v17-loads-zero-fades / v18-round-trips edith.rs test.
2026-08-13
✨ feat(silence): the scan reads the clip that was asked about, not the film it came fromAhmet Kaan Gümüş · dec2ced
✨ feat(silence): the scan reads the clip that was asked about, not the film it came from A take cut in half was still decoding the whole source and then throwing most of the answer away: the levels were read from media time 0 to the end of the file, and only `timeline_regions` remembered the clip had a range at all. Now the range *is* the read. `silence::levels` takes the half-open source seconds to scan and hands back windows counted from its own start; `timeline_regions` lands those at `in_frame` plus that and trims to `out_frame`. The card names a scan by source, stream **and** the clip's frames (`ScanKey`), so a trimmed clip is a read of its own and a re-trim is not answered from the cache. Half a take is half a wait, and what it finds is what is still on the timeline.
2026-08-11
⚡ perf(silence): the card is up on the next frame and reads the film behind itAhmet Kaan Gümüş · a2e4154
⚡ perf(silence): the card is up on the next frame and reads the film behind it Pressing Silence decoded the whole audio track on the render thread -- 51 s of dead window on a 25 GB film, with the card marked open and nothing drawn. The decode is a worker now: the card paints at once and says where the read has got to, out of what the header claims the track is, with the import line's two clocks and its stall wording when the mark stops moving. Closing the card, or opening it on another source, cancels the read at its next chunk; a cancelled scan is never cached, since half a track is not an answer. The levels cache is keyed per source and stream instead of holding the last one only, so two films on a timeline stop paying each other's decode -- A, B, A again is one decode of A. What a scan finds is unchanged: 1393 silences at the shipped defaults on the same film, and the nudges after it lands are the arithmetic they always were.
2026-08-10
✨ feat(timeline): silences are cut out or played fast in one pressAhmet Kaan Gümüş · d4ac3fc
✨ feat(timeline): silences are cut out or played fast in one press A scan of the selected clip's own sound (RMS dBFS over 20 ms windows, off the decode path the waveform already takes) marks every silence on the lane before anything moves; `enter` cuts them all out with a ripple, `f` plays them at 4x with the room they no longer need closed behind them. Either way it is one edit and one undo press, however many it found. Four numbers, all keyboard-driven from the card: the threshold, the quiet short enough to forgive, the padding kept either side of speech, and the kept sliver short enough to swallow -- the last of which is what stops a breath between two silences surviving as one-frame confetti. `set_speed` does not ripple, so speed mode closes the gaps itself; a clip on another lane lapping over a silence is refused by name, because the lanes would shrink by different amounts. A source with no audio track at all is refused by name too rather than read as one long silence. Output is ordinary clips: `.edith` stays v8.