GithubHelp home page GithubHelp logo

robbiegm / cadence Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 679 KB

An ML-driven web app to help composers get inspired for where their piece could go next harmonically. Cadence generates or completes chord progressions based on existing music, allowing for organization by style or mood.

Home Page: https://cadence-robbiegm.vercel.app

HTML 1.01% CSS 16.94% TypeScript 81.94% JavaScript 0.11%

cadence's Introduction

Cadence

A simple web app to help composers get inspired for where their piece could go next harmonically. Cadence generates or completes chord progressions based on existing music, allowing for organization by style or mood.

Highlights

  • Offline-capable PWA and fully client-side
  • ML powered by Tensorflow.js
  • Built with desktop power users in mind, with useful keyboard shortcuts

Future enhancements and bugs

  • Modal dialog fixes
    • Need to reduce animation jank, should probably ditch native <dialog> since it uses slow CSS selector [open]
  • Model training in Web Worker
  • TensorFlow bundle size reduction (last time I tried using its profiling, it crashed my whole computer)
  • navigator.storage.persist
  • Change underlying structure of chords from root and quality to notes which are on/off
    • This will reduce the dimensionality of the model as well as allow for more expressivity
    • The model will be able to more easily "intuit" which chords are similar to others by note overlap
  • MIDI keyboard support
  • Closing and reopening modal dialog should reset tab focus to first element

Available Scripts

In the project directory, you can run:

npm dev or npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.

npm run build

Builds the app for production to the dist folder.
It correctly bundles Solid in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

Deployment

You can deploy the dist folder to any static host provider (netlify, surge, now, etc.)

cadence's People

Contributors

robbiegm avatar

Stargazers

Damian Tarnawski avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.