Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@magenta/music-vae
Advanced tools
A machine learning model for exploring latent spaces of musical scores
This JavaScript implementation of MusicVAE uses Deeplearn.js for GPU-accelerated inference.
For the Python TensorFlow implementation, see the main Magenta repo.
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.
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.
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
A machine learning model for exploring latent spaces of musical scores
The npm package @magenta/music-vae receives a total of 5 weekly downloads. As such, @magenta/music-vae popularity was classified as not popular.
We found that @magenta/music-vae demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
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.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.