MusicVAE

Interpolate and generate melodies, drum patterns and short multitrack note sequences.

Symbolic musicOpen-source code
Start here
Start with a short melody or drum interpolation. Choose a configuration that can represent your phrase before preparing a large MIDI corpus.
Training data
Varies by configuration: melody, drum and trio checkpoints do not share one documented corpus ledger. The GrooVAE variant uses the Groove MIDI Dataset; custom MIDI training is supported.
Training rights
The code license is not a blanket grant for all MIDI material. Dataset and checkpoint provenance must be checked per configuration.
License & output terms
Magenta code: Apache 2.0; review individual checkpoint terms.
Limitations
Fixed sequence lengths, instrument constraints and quantization affect what can be represented; it does not generate recorded audio.
Technique
Hierarchical variational autoencoder
Runtime
Local symbolic inference; a synthesizer is needed to hear the MIDI result.
Parameters
Not itemized for this release/family. Parameter sizes shown elsewhere may exclude encoders, decoders or other runtime components.

Sources reviewed . Training and rights notes summarize provider disclosures. A model license does not clear every source recording or generated output. Parameter counts refer to the named variant or component, not total runtime memory.