Using @magenta/music in TypeScript
A demo of using @magenta/music
as a dev dependency in a TypeScript
project. Uses webpack
to build, and TS to author the code.
Run:
yarn install # or npm installyarn build # or npm run buildyarn serve # or npm run serve
Navigate to http://127.0.0.1:8080
, where you will see a small visualization of "Twinkle Twinkle Little Star".