ml-explore / ml-explore/mlx-examples

Musicgen Duration, Stereo, Melody

Open
#1,058 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
9k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

It's awesome to see MusicGen on MMLX.
Can we have the duration parameter to set how long the generated audio should be.
The original musicgen has:
model.set_generation_params(duration=8) # generate 8 seconds.
Also it has model for stereo as well as feeding your own audio melody. It would be great for MLX Musicgen to support those models.
Thanks!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Compare the MLX MusicGen implementation with the linked original MusicGen documentation, starting at the existing generation entry point. The work is complete when duration, stereo model support, and user-provided melody audio are supported and their behavior is covered by the relevant checks or examples.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
audio-video-rtc, machine-learning
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.