Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@magenta/music-vae

Package Overview
Dependencies
Maintainers
2
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@magenta/music-vae

A machine learning model for exploring latent spaces of musical scores

  • 1.1.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
increased by66.67%
Maintainers
2
Weekly downloads
 
Created
Source

MusicVAE Deeplearn.js API

This JavaScript implementation of MusicVAE uses Deeplearn.js for GPU-accelerated inference.

For the Python TensorFlow implementation, see the main Magenta repo.

Usage

To use in your application, install the npm package @magenta/music-vae, or use the pre-built bundle.

You can then instantiate a MusicVAE object with:

let mvae = new MusicVAE('/path/to/checkpoint')

For a complete guide on how to build an app with MusicVAE, read the Melody Mixer tutorial.

Pre-trained Checkpoints

Several pre-trained MusicVAE checkpoints are hosted on GCS. While we do not plan to remove any of the current checkpoints, we will be adding more in the future, so your applications should reference the checkpoints.json file to see which checkpoints are available.

If your application has a high QPS, you must mirror these files on your own server.

Example Applications

Example Commands

yarn install to install dependencies.

yarn build to produce a commonjs version with typescript definitions for MusicVAE in the es5/ folder that can then be consumed by others over NPM.

yarn bundle to produce a bundled version in dist/.

yarn run-demo to build and run the demo.

FAQs

Package last updated on 07 Apr 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc