#music #llm #ai #audio #nlp

app musicgpt

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

18 releases

new 0.3.0 May 18, 2024
0.2.1 May 18, 2024
0.1.34 May 15, 2024

#24 in Machine learning

Download history 733/week @ 2024-05-04 378/week @ 2024-05-11

1,111 downloads per month

MIT license

1.5MB
3.5K SLoC

Rust 3K SLoC // 0.0% comments TSX 602 SLoC // 0.0% comments TypeScript 244 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

~32–71MB
~1.5M SLoC