micro-TCN
A shallow causal TCN with tenfold dilation growth that emulates the LA-2A analog compressor in real time.
Audio and speech · 61 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
- 50.7K
- Operations
- 61
- Framework
- PyTorch
- Recurrent
- No
- Published
- 152nd AES Convention (arXiv 2021)
- Cited by
- 15 (as of 3 November 2026)
- Authors
- Christian J. Steinmetz, Joshua D. Reiss
- License
- Apache-2.0
- 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
- m21665
- Graph hash
- 8b6bc8ef744ee6c4ab326e69796e0b372b6fc824fd6e991ff4c7e71ab906f9e1
- Skeleton hash
- f6b9b699529f1ec6d109cfc9c9f3669b90bf9e9f2f6a3906804dcda90a050b3d
- Architecture hash
- da797bf3e45c201e20347b31ae11622769e775fb3d78e2d2dc5e58b8f892e42d
- Diagram SHA-256
- 32018ae549b3ecb7946fe64dbf123fa359d26fd7b244cad015c385c1cf413bd1
- 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
micro-TCN is a small temporal convolutional network (TCN) built to emulate an analog dynamic range compressor, the LA-2A, in real time. It takes audio plus the compressor's two controls, a compress or limit switch and a continuous peak reduction amount.
The paper's change is to the dilation, the spacing between the taps of each convolution kernel. The earlier TCN it starts from doubles the dilation at every layer and has 10 layers. This design grows the dilation tenfold per layer, so 4 layers reach the same receptive field. The convolutions are also causal: each output sample depends only on current and past input. The controls enter through FiLM (feature-wise linear modulation), which adapts the network's behavior in each block to the control settings.
With 4 blocks, kernel size 13, 32 channels and causal convolutions, this model matches the paper's TCN-300-C, the causal variant with a 302 ms receptive field. The paper's listening study used a TCN-300-C trained with 1% of the dataset. Its median ratings showed no significant difference from those of an LSTM baseline, the LSTM-32. Listeners were still often able to tell the emulations from the original device. The paper also reports real-time operation on CPU at frame sizes down to 1024 samples.
Key idea. The paper shows that causal TCNs with rapidly growing dilation factors let shallow networks reach a sufficient receptive field and model the LA-2A compressor in real time on CPU.
- micro-TCN
- microtcn
- uTCN
- TCN-300-C
- temporal convolutional network
- dynamic range compression
- LA-2A compressor
- analog audio effect modeling
- virtual analog modeling
- real-time audio
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{steinmetz2022efficientneuralnetworksrealtime,
title={Efficient neural networks for real-time modeling of analog dynamic range compression},
author={Christian J. Steinmetz and Joshua D. Reiss},
year={2022},
eprint={2102.06200},
archivePrefix={arXiv},
primaryClass={eess.AS},
url={https://arxiv.org/abs/2102.06200},
}