This repo is based on Chris's wonderful music cocreation tutorial!
- Install dependencies:
npm install - Run the app:
npm run dev
- To add a model, modify
InferenceEngine.tsfor API update,lstm.jsandtap2music.jsfor model implementation/test/wrapper. - Then, update
App.tsxto add new modes for selection. Remember to run test only once for each mode and dispose unused models. Prepare input accordingly atengineRefcurrent.run()