Timbre-Trap
A convolutional autoencoder that switches between transcribing music and reconstructing audio.
Audio and speech · 238 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
- 614.5K
- Operations
- 238
- Framework
- PyTorch
- Recurrent
- No
- Published
- ICASSP 2024
- Cited by
- 9 (as of 24 October 2026)
- Authors
- Frank Cwitkowitz, Kin Wai Cheuk, Woosung Choi and others
- Source
- GitHub: sony/timbre-trap
- 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
- m20967
- Graph hash
- 38e6afac048d22489e7bd0a2a9f148370c6b45a349f810399406ce782239c234
- Skeleton hash
- 5e528f81ad0f6f8373a85533a9d2b9cdc01805edda1fdc9bc30cfef2849c9419
- Architecture hash
- 8b5a26748291e5d4dceb7812783f5b1d61c9a0c0c9866c14b2a91424fb665f75
- Diagram SHA-256
- bd6808933660984265b2888a310e9e6123f04065c4f10a2841e06cb27d196202
- 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
Timbre-Trap is a framework that handles music transcription and audio reconstruction with one model, by exploiting the separability between pitch and timbre. The paper's setting is a lack of diverse datasets, which it says often limits progress to solo-instrument tasks such as piano transcription.
A single autoencoder is trained to both estimate pitch salience and reconstruct complex spectral coefficients, and a simple switch at the decoding stage selects which output it produces. The input is a complex Constant-Q Transform spanning 9 octaves with 60 bins per octave, computed on 3 second slices of audio resampled to 22050 Hz. The autoencoder is fully convolutional and takes inspiration from the SoundStream audio compression model. Its encoder reduces features to latent vectors of size 128. In transcription mode the output magnitudes pass through a tanh activation and are interpreted as pitch salience.
The model was trained and validated on the URMP dataset and evaluated on Bach10, Su and a split of GuitarSet. Deep Salience and Basic Pitch serve as the reference baselines. The paper reports transcription performance comparable to the instrument-agnostic methods it compares against, while requiring only a small amount of annotated data.
Key idea. The paper trains a single autoencoder to both estimate pitch salience and reconstruct complex spectral coefficients, choosing between the two outputs with a switch at the decoding stage.
- timbre-trap
- timbre trap
- music transcription
- multi-pitch estimation
- instrument-agnostic transcription
- pitch salience
- audio reconstruction
- low-resource transcription
- invertible cqt
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{cwitkowitz2024timbretraplowresourceframeworkinstrumentagnostic,
title={Timbre-Trap: A Low-Resource Framework for Instrument-Agnostic Music Transcription},
author={Frank Cwitkowitz and Kin Wai Cheuk and Woosung Choi and Marco A. Martínez-Ramírez and Keisuke Toyama and Wei-Hsiang Liao and Yuki Mitsufuji},
year={2024},
eprint={2309.15717},
archivePrefix={arXiv},
primaryClass={eess.AS},
url={https://arxiv.org/abs/2309.15717},
}