#music #llm #ai #audio #nlp

app musicgpt

Generate music samples from natural language prompt locally with your own computer

16 releases

new 0.1.34 May 15, 2024
0.1.33 May 13, 2024

#27 in Machine learning

Download history 550/week @ 2024-05-03 532/week @ 2024-05-10

1,082 downloads per month

MIT license

1.5MB
2.5K SLoC

Rust 2K SLoC // 0.0% comments TSX 322 SLoC TypeScript 94 SLoC // 0.0% comments Shell 56 SLoC // 0.1% comments Ruby 28 SLoC // 0.2% comments JavaScript 17 SLoC

MusicGPT

Generate music samples using a local LLM and natural language prompts

Install

On Mac and Linux:

brew install gabotechs/taps/musicgpt

Everywhere, including Windows:

cargo install musicgpt

Usage

Generate and play a music sample from a natural language prompt

musicgpt "A retro synthwave song with high bpms"

By default, it produces a sample of 10s, which can be configured

musicgpt "Create a pop song with 80's vive" --secs 30

There's multiple models available, it will use the smallest one by default, but users can opt into a bigger model

musicgpt "a relaxing LoFi song with birds chirping in the background" --model medium

More options are available running musicgpt --help

Dependencies

~33–74MB
~1.5M SLoC