Magenta.js


Magenta.js is a JavaScript API for doing inference with Magenta models, powered by TensorFlow.js. All libraries are published as npm packages with code hosted in our GitHub repo.

Read the announcement blog post and check out the documentation and examples linked below for more info.



Libraries

Music [doc | code]

TensorFlow.js implementations and support libraries for Magenta's musical note-based models including transcription with Onsets and Frames and generation with MusicVAE, MelodyRNN, DrumsRNN, PerformanceRNN and ImprovRNN.

Sketch [doc | code]

TensorFlow.js implementations and support libraries for Magenta's sketch models including SketchRNN.



Example Apps