Skip to content

Uses a neural network text generator and artist lyrics as input to create lyrics

Notifications You must be signed in to change notification settings

atomassoni/lyrics-textgenrnn

Repository files navigation

RNN Lyrics Generator

Install

You'll need a musixmatch account. The free one is fine for getting enough lyric samples. Paste your API key in lyric_gen.py

Have Python 3 installed, and if you need to, install requests and tensorflow.

Install textgenrnn

pip3 install textgenrnn

Generate some lyrics!

python3 lyric_gen.py bob dylan

This pulls some lyrics from musixmatch and puts it in bob_dylan.txt in the /lyrics directory. Then it will generate a 16 line song and put it in bob_dylan.txt in the /output directory. If you run the command again, it will use the already existing lyrics to generate a new song.

About

Uses a neural network text generator and artist lyrics as input to create lyrics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages