mrkarezina / song-generator

Lyrics generator web app build with React.js

Home Page:https://www.freshbots.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Freshbots.org Lyrics Generator

Netlify Status

A web app to generate lyrics in the style of over 40 artists. The web app was build using React.js and the Material-UI framework.

Usage

  1. Install Packages

    npm install
    
  2. Start the development server

    npm start
    
  3. Production Build

    npm run-script build
    

How it Works

A markov model trained for each individual artist from is first used to generate lines of lyrics. The dataset of lyrics is pulled from Lyrics Beast.

To create the rhymes an LSTM was trained to predict a rhyme pattern based on the previous lines and artist style. The lines of lyrics generated by the markov model are then rearranged to best suite this rhyming style.

Redirects

Since the web app uses React Router, there needs to be a redirects file _redirects added in the dist folder when the app is deployed to Netlify. Otherwise url routes will never go to index.html and React Router will not work, resulting in a page not found error.

A webpack script automatically adds a _redirects file to the dist folder, after running the build command.

About

Lyrics generator web app build with React.js

https://www.freshbots.org


Languages

Language:JavaScript 96.4%Language:HTML 3.4%Language:CSS 0.2%