TCN Beat Tracker
Temporal convolutional network that turns a spectrogram into beat and downbeat activations for music.
Audio and speech · 112 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
- 33.4K
- Operations
- 112
- Framework
- PyTorch
- Recurrent
- No
- Published
- 2019 27th European Signal Processing Conference (EUSIPCO)
- Cited by
- 73 (as of 24 October 2026)
- Authors
- Matthew E. P. Davies, Sebastian Böck
- 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
- m20749
- Graph hash
- af1ff9914c430567436e2773c8d6ec2b0a4eea5577db56f461c0036b1cc3e751
- Skeleton hash
- 41e5e73615e50f8153e84c3790dd921f613ae563b58fea7bd6575e32db38bdc5
- Architecture hash
- 27e5b3a70581f54d0b20aa5aa6641310234dc9a23d2a3d72bbe42582535461b5
- Diagram SHA-256
- 7a75e327874ee24f19d0ac5bf58f3e3269c9318ad2608edc5940e3fe0c5268aa
- 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
This model applies a temporal convolutional network (TCN) to beat tracking in musical audio. The task is to estimate the sequence of time instants at which a human listener would tap along to the beat of the music. The paper reformulates an earlier recurrent approach by substituting its bidirectional LSTM with a TCN applied to a log magnitude spectrogram.
The input is a single log magnitude spectrogram with 81 frequency bands from 30 Hz up to 17 kHz. A block of three convolutional layers first reduces each small spectrogram snippet to a single frame with 16 features. The TCN then learns sequential structure through dilated convolutions. Unlike the original TCN formulation it operates non-causally, so the convolutions extend both forwards and backwards in time. Its output is a one-dimensional beat activation function meant to peak at likely beat locations.
The paper reports 21,809 weights for its network, roughly a third of the earlier BLSTM method. This model comes from an implementation of two adaptations to the network of Davies and Böck. Its beat tracker returns downbeats as well as beats.
Key idea. The paper replaces the bidirectional LSTM of an earlier beat tracker with a temporal convolutional network applied to a log magnitude spectrogram.
- TCN Beat Tracker
- Temporal Convolutional Network Beat Tracker
- beat-tracking-tcn
- beat tracking
- musical audio beat tracking
- temporal convolutional network
- downbeat tracking
- beat activation function
- music signal processing
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@inproceedings{MatthewDavies_2019, title={Temporal convolutional networks for musical audio beat tracking}, url={http://dx.doi.org/10.23919/EUSIPCO.2019.8902578}, DOI={10.23919/eusipco.2019.8902578}, booktitle={2019 27th European Signal Processing Conference (EUSIPCO)}, publisher={IEEE}, author={MatthewDavies, E. P. and Bock, Sebastian}, year={2019}, month=Sept, pages={1–5} }