发布

  • feat: export selected loop region as WAV/MP3 (#109)

    frostbyte_neo 发布于 2026-05-23 06:42:39 +00:00 | 279 次提交 在此版本后已推送到 main

    • chore: open branch for issue-108 (export loop region)

    • feat(#108): export selected loop region as WAV/MP3

    • stems.py: add optional ?start=&end= query params to WAV and MP3
      endpoints; when present, pipe through ffmpeg atrim+asetpts before
      returning so the download is cropped to the loop region
    • index.html: add Export Region chip (hidden by default) to the left
      of Export Mix in the footer transport bar
    • transport.js: show/hide the Export Region chip inside
      updateLoopRegionVisual() whenever loop state changes
    • player.js: add downloadRegionMix() and downloadRegionMixMp3() which
      append ?start=&end= to the mix URL and trigger a download
    • main.js: wire Export Region dropdown click handlers
    • feat(#108): polish export region UX and fix silent region export
    • Disable Export Region button until a loop region is actually selected
      (was hidden; now grayed out with cursor:not-allowed so users know it
      exists but requires a region first)
    • Fix silent exported files: replace atrim filter chain with -ss/-t seek
      options, which are more reliable when streaming to pipe:1
    • Remove gold pulsing glow from waveform loading overlay (keep animated
      bars + text on solid dark background as requested)
    • Restore solid background on loading overlay so the buffering state is
      visible instead of showing an empty waveform area
    • chore: ruff format stems.py
    下载附件