Home / Companies / Replicate / Blog / Post Details
Content Deep Dive

Generate music from chord progressions and text prompts with MusicGen-Chord

Blog post from Replicate

Post Details
Company
Date Published
Author
sakemin
Word Count
623
Language
English
Hacker News Points
-
Summary

MusicGen-Chord is an innovative model that facilitates the creation of music in various styles by utilizing a combination of text prompts, chord progressions, and tempo settings. Building on Meta’s MusicGen model, it modifies the melody input to accept chords either as text or audio, allowing for flexible music generation. MusicGen-Chord employs a "multi-hot" encoded chromagram matrix to represent chord progressions, which it then uses alongside text prompts to generate music that aligns with the specified style. Users can input chords in text form, offering control over tempo and time signature, or as audio, where a Bi-Directional Transformer recognizes the chords. The model can be accessed through Replicate’s API or online, providing a platform for users to create music for various purposes such as original compositions, backing tracks, or remixes. Feedback and creations are encouraged to be shared on platforms like X or Discord.