[Feature Request] Editor media library + audio processing (speed & pitch for audio segments)

未關閉
#2,357 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
35/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
react, rust, tauri, typescript

研究方向

Start by tracing the editor's existing media pickers, timeline asset handling, and video-clip speed controls; the issue does not name specific files or tests. Review related issue #2328 and PR #2308 for existing timeline and waveform work. Done means the scope is agreed or split, with library persistence, compatible drag-and-drop reuse, and standalone audio speed and pitch behavior covered.

由索引模型根據 Issue 內容生成。

描述

Description

Two editor workflow gaps in Cap 0.6.1 (Windows). Video clips already have speed
control with "Keep pitch" audio handling — this request is about bringing similar
processing to standalone audio segments, plus a central media library.

1. Media library panel in the editor

Right now, importing media happens through one-off pickers (audio picker, image
import), and imported items land directly on the timeline. There is no persistent
library panel inside the editor where assets live while editing.

Expected: a "Media" / "Library" panel (sidebar or dockable) where users can:

  • Import files via button or drag-and-drop from Explorer/Finder (video, audio, images)
  • See imported assets persisted across editing sessions in the project
  • Drag assets from the library onto any compatible timeline track (video → clip/
    video track, audio → audio track, image → image track), reusing the same asset
    on multiple tracks without re-importing

2. Audio processing for standalone audio segments

Audio segments (background music, imported audio) currently only support volume
and fade in/out. Meanwhile video clips already offer speed with three audio modes
(mute / keep pitch / match speed) — none of that applies to audio segments.

Expected:

  • Audio speed: time-stretch an audio segment (e.g. 0.25x–4x), with a
    pitch-preservation option, consistent with the existing clip speed UX
  • Pitch shift: adjust pitch in semitones (e.g. -12 to +12) for creative
    effects or key-matching music to a voiceover, independent of speed
  • Ideally exposed in the same right-click / settings panel as clip speed
Reproduction
  1. Open the editor for any Studio recording.
  2. Add an audio file to an audio track and right-click it: only volume/fade/
    split actions are available — no speed or pitch controls.
  3. Look for a media library panel to collect and re-drag imported files: none
    exists; assets must be re-imported through pickers each time.
Additional Context
  • Cap version: 0.6.1
  • Operating system, version: Windows 11 (x64)
  • Related: #2328 (timeline/audio feature requests), PR #2308 (imported media
    tracks & waveforms) — a library panel would complement that work nicely.

Happy to split into separate issues if maintainers prefer.

主要語言
Rust
星號
24.2k
分支
2.2k
平均合併
23 小時 41 分鐘
30 天內合併 PR
668

環境準備

  • 提供 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

CapSoftware/Cap 的其他 Issue

查看 CapSoftware/Cap 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。