Aliasing is one cause among several. This deck covers what GAN vocoders, bandwidth extension, VAE/VQ codecs and autoregressive models each get wrong, with animations of how upsampling copies low frequencies into the high band.
Colors stay the same all deck. "VARs" is read as VAE plus autoregressive models. Terms with a dotted underline have a tooltip: hover, focus or tap them.
Concept diagram. Standard signal-processing facts.


Synthetic demo tones made for listening, not model outputs. Headphones help. Start with the volume low.
Synthetic illustration, not a real recording.
Concept diagram: 12 filters over 0 to 8 kHz. Real models usually use 80 or more.
Compare two mel spectrograms cell by cell and average the gap. Cheap, and used as a training loss, but a time-frequency picture with no phase.
All three compare with a clean reference. The markers are examples, not measurements. PESQ and ViSQOL aim at listener scores, STOI at whether words are understandable.
Higher is better, in decibels. It needs the waveform itself to line up, so a vocoder with a different but natural phase can score badly while sounding fine.
People rate 1 to 5 and the ratings are averaged: slow but trusted. UTMOS is a model trained to guess that average, so it needs no listeners and no reference.
Embed many real and many generated clips, then measure how far apart the two clouds are, in center and in spread. It scores a whole generator, not one clip, and depends on the embedding used.
Speech recognition on the output checks the content survived: a model can sound smooth and still mumble a word.
A verification model turns each clip into a voice vector. 1 means the same direction, so the same voice. Used for voice cloning and conversion.
Concept diagram with toy signals. Background knowledge.


Synthetic demo tones made for listening, not model outputs. Headphones help. Start with the volume low.
Illustrative harmonic mixes, not measured instruments. The clarinet's strong odd harmonics are a standard textbook idea.



Synthetic demo tones made for listening, not model outputs. Headphones help. Start with the volume low.
Computed from a synthetic spectrum with a 125 Hz pitch, so the peak sits at 8 ms. Listen below: change only the pitch, or only the envelope.



Synthetic demo tones made for listening, not model outputs. Headphones help. Start with the volume low.
Background knowledge. The blue box is the family this deck follows most closely.
Background knowledge. The diagram is a small sketch with 16 samples and 4 layers.
A generator learns by fooling a discriminator. One fast pass makes the audio.
Predicts the next piece from all earlier ones, again and again. Flexible, but slow.
Starts from random noise and refines it over several steps into clean audio.
Background knowledge. Colors match the deck: blue for GANs, green for autoregressive, diffusion and flow.
Concept diagram. Background knowledge.
A 2,300 Hz tone is clipped. The naive version makes harmonics above Nyquist, and they fold back as tones that do not belong. The oversampled version clips the same way without them.


A four-note melody at 8 kHz is doubled to 16 kHz. Zero-stuffing adds mirror-image copies in the high band, which you hear as a buzzy brightness. Interpolation removes them.


Synthetic demo tones made for listening, not model outputs. Headphones help. Start with the volume low.
Measured on the files: the zero-stuffed clip has about half its energy above 4 kHz, the interpolated one almost none. The naive clip has lines at 100 and 4,500 Hz, the oversampled one does not.
Same loudness at every frequency, three phases. Random phase is noisy and smeared. Griffin-Lim estimates a phase and sounds better, but a little metallic.



The melody fades out, so the quiet tail needs fine detail. With 4 bits it turns gritty. With 2 bits most of the tail is lost.



Low-passed at 3.4 kHz, like an old phone call. The notes are the same but the brightness is gone. This is the gap that bandwidth extension tries to fill.


Synthetic demo tones made for listening, not model outputs. Headphones help. Start with the volume low.
MP3-style compression, band-limited recordings, noisy labels.
Quantization drops fine detail, and the decoder adds its own artifacts.
AR, diffusion or flow: over-smoothing, drift, few-step loss.
GAN upsampling: aliasing, tonal ringing, phase mismatch.
Hallucinated highs, phase seams at the crossover.
Nonlinear functions create harmonics above Nyquist. They fold back into the audible band.
Transposed convolution copies low-frequency content into the empty high band.
Combined with periodic signals, the folding becomes a constant-frequency tonal artifact.
Source: Pupu-Vocoder / Pupu-Codec, arXiv 2512.20211.
Concept diagram, not measured. Activations as an aliasing source are per arXiv 2512.20211. The fold formula is standard signal processing. The animation loops.
Concept diagram, not measured data. Mechanism per arXiv 2512.20211. The animation loops.
Kernel size 3, stride 2: each output sample receives either 2 overlapping contributions or 1, in turn.
The alternating gain is a multiplication by a period-2 pattern, which shifts a copy of the spectrum by half the output rate. A clean tone therefore gains a quieter false partner.
The output gain alternates every stride. That period-2 ripple is heard as a fixed tone.
Resample first, then convolve, so every output sample gets equal coverage.
Concept diagram. The checkerboard effect is background knowledge. The resampling fix is per arXiv 2512.20211.
Concept diagram. Phase being reconstructed implicitly, and blurring from missing phase, are per FA-GAN, read from its abstract.
Periodic activations with low-pass filtering cut high-frequency artifacts.
Complex multi-band spectrogram discriminators replace magnitude-only ones, which targets phase. BigVGAN's authors reported that phase mismatch from discriminator choices degraded one variant.
Works in the frequency domain with 2D convolution, avoiding time-domain nonlinearity.
Oversampling plus anti-derivative anti-aliasing, and resampling in place of ConvTranspose. Gains on singing, music and audio, parity on speech.
Animations are concept diagrams, not trained models or measurements. Snake is x + sin²(x), from Ziyin et al., and BigVGAN adopts it. The animations loop. Static versions: Periodic activations (SVG, PNG), DAC (SVG, PNG), Wavehax (SVG, PNG), Pupu (SVG, PNG).
Predict the missing high band from a low-passed signal, for example 16 kHz up to 44.1 or 48 kHz.
Highs are hallucinated, so they are plausible but wrong. Phase can break at the splice. A fixed training cutoff generalizes badly.
GAN (HiFi-GAN-2), diffusion (NU-Wave, AudioSR), spectral-domain (AERO).
Task and failure modes are background knowledge. Recent work: a token-prediction BWE trains a transformer on a harmonic-percussive codec, and a Vocos-based BWE says diffusion models like AudioSR are too slow for real time. Both are the authors' own claims, read from abstracts.
Concept diagram, not measured. Inconsistencies in reliable regions are per a Vocos-based BWE paper, read from its abstract. The seam is background knowledge.
Mostly background knowledge. Pupu-Codec is from arXiv 2512.20211. Flow-matching and Stable Audio artifacts were not covered by this search.
Concept diagram with a toy signal, not a real codec. The ceiling effect is background knowledge.
Time runs left to right. Tokens appear in the order the model produces them, then the codec decoder turns them back into a waveform.
AudioLM-style framing per AudioCALM. Frame-rate challenge per the discrete speech tokens review. Codebook layout is a simplified sketch.
One language model over text and audio. A thin flow-matching head predicts continuous latents instead of discrete tokens.
Predicts codec tokens in 2-second blocks of 25 tokens. Flow matching works inside a block, autoregression works across blocks.
One paper trains the codec with language-model objectives. Another adds an independence-promoting loss for music language models.
X-Codec2 uses finite scalar quantization to make one token stream that a language model can handle.
UniTok-Audio puts many audio tasks into one autoregressive model on codec tokens. ERNIE 5.0 uses Next-Codec Prediction.
The trend moves from pure discrete tokens toward continuous latents and flow heads. A plausible reason is to escape the codec ceiling.
Sources: AudioCALM, Next Tokens Denoising, codec meets LM objectives, independence-promoting loss, UniTok-Audio, ERNIE 5.0. Read from abstracts and search summaries. The reason in the insight card is my reading, not a claim of the papers.
| Repo | What it is | Note |
|---|---|---|
| kyutai-labs/moshi | Real-time full-duplex speech-text model, 160 ms theoretical and 200 ms practical latency | MIT code, partly based on AudioCraft |
| kyutai-labs/ delayed-streams-modeling | Kyutai's streaming speech models built on delayed streams | Found in search, not opened |
| facebookresearch/ audiocraft | Meta's audio generation code, includes MusicGen for text or melody conditioned music | From Meta's AudioCraft page |
| Orpheus TTS, Canopy Labs | Text to speech on a 3B Llama model | Repo page not verified |
| CSM-1B, Sesame | Turns audio into tokens, then transformers predict the next audio tokens | Repo page not verified |
The Pupu, BigVGAN, DAC, EnCodec and Vocos repos, in a fresh Python 3.12 environment with torch 2.15, on an Apple-silicon CPU.
Pupu-Vocoder small and large, Pupu-Codec small, BigVGAN v2 (44 kHz, 128 mel bands), DAC 44 kHz and EnCodec 24 kHz.
Two synthetic singing clips from the Pupu repo, a 7-second excerpt of this site's BlueTTS narration, a sine sweep and five pure tones.




Real model outputs on this machine. Headphones help. Start with the volume low.
Checkpoints and code: spellbrush on Hugging Face, Pupu repo, NVIDIA/BigVGAN, DAC, EnCodec. The singing clips are the repo's evaluation samples, which its README says are curated from Vocaloid soundbanks.




Measured here. A pure sine is far from the training data, so this is a stress test, not typical use. The clips are played 12 dB quieter than the originals. Sweeps up to 20 kHz are harsh, so keep the volume low.
Measured here: mel error is the mean absolute difference of log mel spectrograms in dB, and PESQ is wideband at 16 kHz. Two singing clips and one 7-second speech excerpt, so this is a spot check, not a benchmark.
| PESQ, higher is better | DAC 9 codebooks | Pupu-Codec 9 | DAC 2 | Pupu-Codec 2 | EnCodec 6 kbps |
|---|---|---|---|---|---|
| Singing 1 | 2.93 | 4.02 | 1.15 | 1.89 | 1.54 |
| Singing 2 | 3.68 | 4.17 | 1.58 | 2.39 | 2.11 |
| Speech | 4.01 | 3.97 | 1.92 | 2.02 | 2.47 |






Real model outputs on this machine. Headphones help. Start with the volume low.
Measured here on 3 clips. The bitrate arithmetic is 9 codebooks times 10 bits times 86 frames per second.
Measured here. First image: singing clip. Second image: the speech excerpt. Panels use the same color scale.
| Claim from the paper | Our spot check | Verdict |
|---|---|---|
| Cleaner on a sine sweep | Large clearly cleaner than BigVGAN v2. Small breaks up above 12 kHz. | Partly confirmed |
| Better quality than BigVGAN | Higher PESQ on both singing clips, lower on speech. Mel error worse on all three. | Mixed |
| Codec beats DAC with fewer parameters | Higher PESQ on singing at 9 and 2 codebooks. A tie on speech. | Confirmed on singing |
| Costs more to run | About 2.1 times BigVGAN's time on our CPU. The paper reports about 4.4 times. | Confirmed, smaller gap |
| Listening scores (MUSHRA) | Not tested. No listening panel. | Not tested |
Speed: one run each on a 6.4-second clip. Pupu small 5.6 s, BigVGAN 9.6 s, Pupu large 19.7 s. The paper's CPU figures are on a different Xeon machine.
Decibels below the real harmonics, so a longer bar is cleaner.
Same scale: a longer bar is cleaner.
Drop in comparison score on a −3 to 3 scale, relative to Pupu-Vocoder small. Smaller means you lose less.
Numbers as printed in arXiv 2512.20211 Tables I and V, read through a page fetch and not checked against the PDF. Verify before citing.
Real-time factor on an Intel Xeon: BigVGAN large 4.23, Pupu-Vocoder large 18.80. The paper blames missing kernel optimizations for the oversampling operations.
The text says Pupu-Codec large consistently beats all baselines on music and audio. In the printed music table, BigVGAN large has the lower academic FAD, 0.014 against 0.019. BigVGAN is a vocoder, not a codec, so the comparison is not like for like.
Numbers as printed in arXiv 2512.20211 Tables II to IV, read through a page fetch and not checked against the PDF. Verify before citing.
Listening score 4.193 against BigVGAN 4.137 and HiFi-GAN 3.931, with ground truth at 4.432. The gaps are small. Its multi-resolution real and imaginary loss targets phase.
Listening score rises from 4.026 to 4.182 for one vocoder and from 4.176 to 4.361 for another. Ground truth is 4.687. One dataset, one speaker.
About 190 times faster than real time on an 8-core CPU, against 0.02 for AudioSR. On the 8 to 48 kHz task its LSD is 0.85 against 1.61 and ViSQOL is 3.51 against 3.15.
Trained on 36,000 hours of 44.1 kHz audio, about 200M parameters. A loss balancer fixed audible high-frequency artifacts that mel L1 did not show.
About 90 times compression of 44.1 kHz audio at 8 kbps. Loss weights: mel 15, feature matching 2, adversarial 1, codebook 1, commitment 0.25.
Each paper uses its own data, listeners and baselines, so the numbers are not comparable across papers.
Read through a page fetch of each paper's HTML, not the PDFs. Sources: FA-GAN, PRLSGAN, Vocos BWE, EVA-GAN, DAC.
python3.12 -m venv venv ./venv/bin/pip install torch torchaudio numpy scipy soundfile librosa einops \ omegaconf huggingface_hub safetensors julius json5 descript-audio-codec encodec pesq pystoi git clone --depth 1 https://github.com/sizigi/AliasingFreeNeuralAudioSynthesis.git git clone --depth 1 https://github.com/NVIDIA/BigVGAN.git export WORK_DIR=$PWD/AliasingFreeNeuralAudioSynthesis # scripts/audio-lab/ in this site's repo: pupu_vocode.py, bigvgan_vocode.py, codecs.py, analyze.py
All of this ran on CPU, so it needs no GPU. Checkpoints download from Hugging Face and the EnCodec and DAC weights from their release servers.
Pupu-Vocoder, revised June 2026, swaps transposed convolution for resampling and filters the activations. Gains are largest on singing, music and general audio, and comparable on speech.
Mimi runs at 12.5 Hz. FlexiCodec, OmniCodec and AugCodec push further, and the first token now carries meaning, not only sound.
Pocket TTS predicts one continuous vector per frame with a one-step head, so there is no codebook rounding.
FlowTokenizer trains a codec with flow matching and reports better quality and intelligibility at low bitrate.
Kokoro with 82 million parameters, Pocket TTS with about 100 million, and larger open models such as Qwen3-TTS run on a laptop or a modest GPU.
Sources: Pupu-Vocoder, arXiv 2512.20211 v3. FlexiCodec, arXiv 2510.00981. OmniCodec, arXiv 2603.20638. FlowTokenizer, ACL Findings 2026. Pocket TTS, arXiv 2509.06926. Kokoro-82M model card.
Mimi turns 24 kHz audio into 12.5 columns a second. Fewer steps means a language model can predict them quickly.
The first codebook is trained to match a WavLM embedding, so it holds content. The other seven add the voice and the sound.
The authors report that this meaning loss competes with reconstruction and adversarial quality losses. Fewer bits also means less detail.
| Mimi, 24 kHz | 8 codebooks, 1.1 kbps | 2 codebooks, 0.28 kbps |
|---|---|---|
| Speech PESQ, STOI | 2.40, 0.89 | 1.27, 0.77 |
| Singing PESQ, STOI | 1.43, 0.68 | 1.04, 0.48 |






Real model outputs made on this machine. Headphones help. Start with the volume low.
Measured here with the kyutai/mimi checkpoint on a 12-second excerpt of each clip. PESQ and STOI compare against the original at 16 kHz. Two clips, so a spot check, not a benchmark.
A causal transformer emits one continuous latent per frame at 12.5 Hz. A one-step head produces it, and a VAE decoder turns the latents into sound.
The paper reports the lowest word error rate in its comparison and the only model there that runs faster than real time on a CPU.
These numbers are the authors' own. Continuous models still need a good decoder, so the artifacts move there.
Source: Continuous Audio Language Models, arXiv 2509.06926, and the Pocket TTS report. About 100 million parameters in total.
82 million parameters. StyleTTS 2 plus an ISTFTNet decoder, no diffusion. Apache licensed.
About 100 million parameters, from Kyutai. Continuous latents and a one-step head. Runs on a laptop CPU.
Alibaba, Apache licensed, built on a 12 Hz codec with ten languages. We ran the 0.6B CustomVoice model on CPU: 8.8 s of audio took 12.0 s, a first call that includes warm-up.



Real model outputs made on this machine. Headphones help. Start with the volume low.
| Paper | Idea | We ran it? |
|---|---|---|
| FlexiCodec, ICLR 2026 | Frame rate adapts to the content, and no transcript is needed. | No |
| OmniCodec, Mar 2026 | One codec for speech, music and sound, with meaning and sound kept apart. | No |
| FlowTokenizer, ACL Findings 2026 | Flow matching instead of GAN training for low bitrate. | No |
| AugCodec, Jun 2026 | Separate semantic, speaker and prosody tokens, at most 12.5 Hz. | No |
| 300 bps codecs, May 2026 | Reinforcement learning to reach very low bitrates. | No |
| SemantiCodec | 0.31 to 1.40 kbps with meaning in the latent space, decoded by diffusion. | Yes, next slide |
Found by search on 2026-11-29. Venues and results are as reported by the authors. We did not run these, and none shares a benchmark with the others, so no ranking is implied.
| 6 s of speech, 16 kHz | 100 tokens a second | 25 tokens a second |
|---|---|---|
| PESQ | 2.31 | 1.56 |
| STOI | 0.90 | 0.82 |



Measured here with the released checkpoints on CPU or GPU as available, on one 6-second speech clip. The README gives 0.31 to 1.40 kbps across its settings, and we did not verify the exact bitrate of these two. A spot check.
Long training can make checkerboard artifacts vanish in some upsampling setups, even though the layer is unchanged.
EVA-GAN found that a badly weighted discriminator loss gave audible high-frequency artifacts while mel L1 looked acceptable.
A standard least-squares GAN loss averages scores over a whole clip, so a short local artifact can be ignored.
Generators recover phase only implicitly. FA-GAN avoids modeling it directly because phase wrapping makes it hard, and adds a real and imaginary loss instead.
BWE generators can add small inconsistencies in parts of the signal that were already reliable. Diffusion BWE such as AudioSR is also costly for real time.
Detectors spot synthetic voices from vocoder artifacts. Neural codec compression can sharply raise a detector's error rate.
Sources: upsampling artifacts (as summarized in the Avocodo literature), EVA-GAN, pointwise relativistic LSGAN, FA-GAN, Vocos-based BWE, vocoder-artifact detection, codec vs detection. From abstracts and search summaries, not full papers.
Schematic of the EVA-GAN finding: a badly weighted discriminator loss gave human-perceptible high-frequency artifacts while mel L1 looked acceptable. The bar lengths are not measured values.
Schematic: a standard least-squares GAN loss averages over the clip, so one short local artifact barely moves the score. Per the pointwise relativistic LSGAN paper, read from its abstract.
| Loss | What it does | Blind spot |
|---|---|---|
| Next-token cross-entropy | Teaches a language model to predict the next codec token | Inherits the codec's ceiling |
| Multi-scale mel loss | Compares mel spectrograms at several mel settings | Looks fine while artifacts are audible (EVA-GAN) |
| Multi-resolution STFT loss | L1 distance on magnitude spectra, often paired with mel loss | Magnitude only, so phase is unchecked |
| Adversarial loss | Discriminators judge real versus generated | A clip-average score can ignore a local glitch |
| Feature matching | L1 between discriminator features of real and generated audio | Steadies training, no guarantee of clean audio |
| Real and imaginary loss | FA-GAN's multi-resolution loss that brings in phase | Phase wraps, so it is hard to model directly |
Sources: BemaGANv2, DAC, EVA-GAN, FA-GAN. The cross-entropy and blind-spot entries for STFT and feature matching are background knowledge.
Mel L1 or STFT distance. Cheap, but not what listeners hear.
PESQ and ViSQOL compare against a clean reference.
UTMOS predicts naturalness with no reference.
FAD compares sets of generated and real clips.
WER, speaker similarity, and listening tests.
Left to right, the checks get closer to what a listener experiences, and slower and costlier to run. This ordering is my grouping.
Sources: GOMPSNR, plus the codec and vocoder papers cited on the previous slide.
| Metric | Needs a reference | Measures |
|---|---|---|
| PESQ | Yes | Speech quality against a clean reference, wideband score 1 to 4.5 |
| ViSQOL | Yes | Spectral similarity turned into a MOS estimate, for speech and music |
| UTMOS | No | Predicted naturalness of speech |
| FAD | A reference set | Distance between embedding distributions, for generation as a whole |
| WER | The text | How many words a speech recognizer gets wrong in the output |
| Speaker similarity | A target voice | How close the voice is to the target, via a verification model |
| MOS listening test | No | Human ratings, the slow but trusted check (background) |
One paper used a HuBERT-based recognizer for WER and a WavLM-based verifier for speaker similarity. I found no single source covering all of these together, and no FAD embedding guidance.
Placed by first publication year from memory, so a year may be off by one. Verify before citing. Pupu is December 2025 (arXiv 2512.20211), Wavehax is November 2024.
| Cause | Family | Audible effect |
|---|---|---|
| Aliasing | GAN · codec decoder | Tonal lines, metallic ring |
| Phase mismatch | GAN · BWE | Smeared transients |
| Quantization loss | VQ · RVQ codec | Dull, lost breath and shimmer |
| Band-limited training | BWE · all models | Empty or hallucinated highs |
| Over-smoothing | AR · diffusion · flow | Mushy detail |
| Long-range drift | Autoregressive | Timbre and rhythm wander |
| Lossy training data | All | Models learn MP3 artifacts |
Aliasing and phase are sourced from the papers cited earlier. The rest is background knowledge.