SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2208.08706 · 2022

Musika! Fast Infinite Waveform Music Generation

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 4 functions out of this paper's own repositories and ran 4 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
marcoppasini/musika canonical 4 of 4
FunctionStatusWhere it lives
d_loss_f Ran marcoppasini/musika/losses.py
code served (permissive licence) · get_code("3004ddfefde5fe6d")
l2normalize Ran marcoppasini/musika/layers.py
code served (permissive licence) · get_code("64460021c177d5c9")
mae Ran marcoppasini/musika/losses.py
code served (permissive licence) · get_code("f447aaedd81df24c")
mse Ran marcoppasini/musika/losses.py
code served (permissive licence) · get_code("584e0124c4b58901")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Fast and user-controllable music generation could enable novel ways of composing or performing music. However, state-of-the-art music generation systems require large amounts of data and computational resources for training, and are slow at inference. This makes them impractical for real-time interactive use. In this work, we introduce Musika, a music generation system that can be trained on hundreds of hours of music using a single consumer GPU, and that allows for much faster than real-time generation of music of arbitrary length on a consumer CPU. We achieve this by first learning a compact invertible representation of spectrogram magnitudes and phases with adversarial autoencoders, then training a Generative Adversarial Network (GAN) on this representation for a particular music domain. A latent coordinate system enables generating arbitrarily long sequences of excerpts in parallel, while a global context vector allows the music to remain stylistically coherent through time. We perform quantitative evaluations to assess the quality of the generated samples and showcase options for user control in piano and techno music generation. We release the source code and pretrained autoencoder weights at github.com/marcoppasini/musika, such that a GAN can be trained on a new music domain with a single GPU in a matter of hours.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2208.08706")
get_code_for_paper("2208.08706")
have("2208.08706")

Connect an agent — have() is free.