raresportan / Lofi

ML-supported lo-fi music generator

Home Page:http://lofi.jacobzhang.de

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LOFI

LOFI is a ML-supported lo-fi music generator. We trained a VAE model in PyTorch to represent a lo-fi track as a vector of 100 features. A lo-fi track consists of chords, melodies, and other musical parameters. The web client uses Tone.js to make a dusty lo-fi track out of these parameters.

Click here for a pre-generated lo-fi playlist!

Architecture

  • Client: The client is written in TypeScript and built with Webpack. It uses Tone.js to generate music.
  • Model: The model is implemented in PyTorch. We synthesized various datasets, including Hooktheory and Spotify.
  • Server: The server is a basic Flask instance that deploys the trained model checkpoint. The client communicates with the Server using a REST API.

About

ML-supported lo-fi music generator

http://lofi.jacobzhang.de

License:Apache License 2.0


Languages

Language:TypeScript 43.0%Language:Python 40.3%Language:SCSS 11.7%Language:HTML 3.9%Language:JavaScript 1.0%Language:Dockerfile 0.1%