← Latest papers
⚡ electrical engineering

WaveNet-Style Guitar Amplifier Model Pruning for Real-Time iOS Deployment

This paper presents a real-time iOS implementation of a pruned WaveNet-style guitar amplifier model that achieves 90% weight reduction through iterative magnitude pruning and a custom sparse C++ engine, enabling high-fidelity, low-latency emulation of physical pedals on CPU-only iPhones with no perceptible quality loss.

Original authors: Ryota Sato, Eli Silverstein

Published 2026-07-14
📖 4 min read☕ Coffee break read

Original authors: Ryota Sato, Eli Silverstein

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you have a guitar amplifier that sounds so real, it feels like you're holding a tube amp from the 1960s. Now, imagine trying to run that exact sound inside a smartphone. Usually, that's like trying to fit a full-sized orchestra into a shoebox; the computer inside the phone just can't handle the math, and the sound would lag or stutter.

But in this paper, Ryota Sato and Eli Silverstein from Stanford University found a clever trick to shrink that orchestra down to a soloist without losing the music. They took a super-smart computer program called a "WaveNet" that learns to copy guitar amps and pedals, and they made it incredibly efficient so it can run in real-time on an iPhone using only the phone's main brain (the CPU), without needing special graphics chips.

The Magic of the "Pruning" Scissors
Think of the neural network (the computer program) like a massive, tangled ball of yarn with thousands of threads. Most of these threads are actually doing very little work. The researchers used a technique called "iterative magnitude pruning," which is like a very careful pair of scissors. Instead of cutting the yarn once and hoping for the best, they snipped away the useless threads bit by bit while the program was still learning.

They managed to cut away 90% of the connections (the "weights") in the network. To put that in perspective, if the original program had 21,913 total parts, they removed 19,074 of the prunable ones, leaving just a tiny skeleton of the original.

Why One Cut Didn't Work
The paper explicitly warns against a lazy approach called "one-shot pruning." Imagine trying to cut 90% of the yarn off the ball in one giant, messy swipe. The authors found that this method failed completely; the sound quality collapsed, and the program couldn't track the guitar notes anymore. It was only by cutting slowly and letting the network adapt that they kept the sound perfect.

The Result: A Phone That Sounds Like a Pedal
With this "sparse" (mostly empty) network, the iPhone can now play guitar audio in real-time with a delay of only about 5.3 milliseconds (using a block size of 256 samples at 48 kHz).

The team tested this on four different guitar sounds: a Vox AC15, a Fender Deluxe Reverb, a Fender Tweed-style amp, and a Dunlop Fuzz Face pedal. The results were impressive:

  • The error rate was incredibly low, staying below 3.4 × 10⁻⁴ (measured by a metric called Error-to-Signal Ratio, or ESR).
  • To human ears, there was no noticeable drop in quality compared to the original, uncut model.
  • The sound matched the original training data so closely that any difference was smaller than the tiny rounding errors you get when converting numbers (specifically, within int16 quantization error).

What It Can't Do (Yet)
The paper is honest about what this model doesn't do. Because the computer model is "deterministic" (it follows strict rules), it cannot recreate the random, chaotic background noise or "hum" that real, old-school amplifiers make. For example, when playing a high-gain Fuzz Face pedal, the real hardware has a bit of static and buzz that the phone model leaves out. The paper notes this is the main limitation, but it's not a dealbreaker for the sound itself.

The Real-World Test
The researchers didn't just run simulations; they built a working app. They measured how fast the phone could process the sound and found that the full, uncut model was impossible to run (it was "intractable"). However, the 90% pruned version ran comfortably, with a "Real-Time Factor" (RTF) of about 0.6. This means the phone finished processing the audio in 60% of the time it took to play it, leaving plenty of room to spare.

At their demonstration, visitors will be able to plug a guitar into an iPhone, switch between different modeled amps, and even compare the phone's version of a Fuzz Face pedal directly against the real, physical pedal using a Line 6 HX Stomp. The goal is to show that you don't need a giant desktop computer or expensive hardware to get professional guitar tones anymore; a heavily pruned, smartly coded app on your pocket computer can do the job just as well.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →