audiocraft.JASCO
A flow matching text-to-music model with time-aligned chord and drum conditioning.
Audio and speech · 1,108 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Audio and speech
- Parameters
- 403.9M
- Operations
- 1,108
- Framework
- PyTorch
- Recurrent
- No
- Published
- ISMIR 2024
- Cited by
- 0 (as of 20 October 2026)
- Authors
- Or Tal, Alon Ziv, Itai Gat and others
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m3556
- Graph hash
- d014a4920ebed8d66c0c275a1d9b35b2ad891c7200fb481c42d43218ef64ec6e
- Skeleton hash
- 1875afa1fb21958e49f08440ef688d36658a4b0cafebb1b05177e90230f2a200
- Architecture hash
- 609ce10cbb38f7b120f62246ed6cbae934aac0391b9f644ff989e34b2598b2be
- Diagram SHA-256
- eac27165f490aa8032f7fad887f4d7b7599c53c064381a3d36a298ec881d200b
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
JASCO is a text-to-music generation model that can be controlled over time, using both symbolic and audio-based conditions. Alongside a global text description, the paper experiments with symbolic controls such as chords and melody and with audio controls such as separated drum tracks. It is a flow matching model that operates on the continuous latent space of EnCodec.
All local controls are concatenated to the model's input across the feature dimension, while the text is passed in through cross attention. Chords arrive as a sequence of integer labels that a learned embedding table maps to a condition matrix. Audio controls such as a drum stem go through temporal blurring, which the paper applies to diminish timbre-related information. The blurring is an average pooling over non-overlapping windows along the temporal axis, after which the signal is broadcast back to its original temporal dimension.
The paper describes its network as a Transformer with U-Net-like residual connections, in which the standard residual addition is replaced by channel-wise concatenation followed by a linear projection. The paper reports a model scale of 330M parameters, with 24 Transformer layers, 16 attention heads and an embedding dimensionality of 1024. Among its limitations, the paper lists the length of the generated samples, which is about 10 seconds.
Key idea. JASCO adds chord, melody and audio controls to a flow matching text-to-music model by concatenating low-dimensional condition embeddings to the model input, using bottleneck projections and temporal blurring.
- jasco
- text-to-music
- music generation
- flow matching
- chord conditioning
- drum conditioning
- melody conditioning
- audiocraft
- controllable music generation
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{tal2024jointaudiosymbolicconditioning,
title={Joint Audio and Symbolic Conditioning for Temporally Controlled Text-to-Music Generation},
author={Or Tal and Alon Ziv and Itai Gat and Felix Kreuk and Yossi Adi},
year={2024},
eprint={2406.10970},
archivePrefix={arXiv},
primaryClass={cs.SD},
url={https://arxiv.org/abs/2406.10970},
}