Skip to content

Run the borrowed beat detection from the locked project - #3

Merged
Bouliw merged 1 commit into
mainfrom
lock-music-beats
Nov 25, 2026
Merged

Bouliw merged 1 commit into
mainfrom
lock-music-beats

Conversation

@Bouliw

@Bouliw Bouliw commented Nov 25, 2026

Copy link
Copy Markdown
Owner

Without librosa, music.py borrowed the beat detection of fcp-mcp-server with uvx --from "fcp-mcp-server[intelligence]": no version was pinned, and everything was resolved again on each run.

Change

  • The locked project config/live gets a beats extra (fcp-mcp-server[intelligence]==0.35.0); uv.lock now also pins librosa and what it depends on, each with its hashes.
  • music.py runs uv run --frozen --project config/live --extra beats python -c …, through the same helper as Live Mode (live.locked): the lock is used as it is, uv checks the hashes, the environment stays in ~/Library/Caches/Roughcut/live, and the command is given no key from the environment.
  • No call to uvx is left.

Tests

  • The command line run for the beats is checked, and that no key is passed on.
  • The fallback is checked: without uv nothing is run, and when uv fails the numpy beat tracker answers.
  • Run for real on a 120 bpm click track: the locked command answers 117.5 bpm and 38 beats; the Live Mode server still starts from the lock and lists its tools.

@Bouliw
Bouliw merged commit a7b360b into main Nov 25, 2026
12 checks passed
@Bouliw
Bouliw deleted the lock-music-beats branch November 25, 2026 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant