-
feat(settings): export sample rate option + reorganize settings tabs (#270)
发布于
2026-07-16 14:33:44 +00:00 - feat(settings): export sample rate option + reorganize settings tabs
Add a configurable export sample rate for mix/region downloads (WAV/FLAC/
MP3), addressing hardware samplers (e.g. Akai MPC) that reject 44.1 kHz.
The rate is a runtime setting read live by the mixdown endpoint, applied
via ffmpeg -ar; default 44.1 kHz (the stem rate) is a no-op.Reorganize the Settings dialog into General / Network / Export tabs:
- General: max track length, compute device, out-of-sync tracks
- Network: availability toggle + QR, Port (moved here)
- Export: sample rate, MP4 video quality (moved here)
Also:
- Port field now shows the live serving port, not the stale saved
preference (editing still saves the preference for next restart). - In server mode the network toggle renders on + read-only, with an
inline note explaining it is governed by server configuration.
- fix(settings): keep the dialog a uniform size across tabs
Pin the settings dialog to a fixed height and let every pane fill it
(flex:1), so switching between General / Network / Export no longer
resizes the dialog. The General pane scrolls within the fixed area.Refs #271
下载附件