SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2306.00814 · 2023

Vocos: Closing the gap between time-domain and Fourier-based neural vocoders for high-quality audio synthesis

arXiv · PDF · Open in the Atlas

Code that ran

10 of 16 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 5 have no contract verdict; 4 failures of our instrument; 6 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2306.00814.json · badge: /api/ran/2306.00814.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
gemelo-ai/vocos canonical (classifier label)
classifier basis: census
5 ran · 2 no recorded run
IAHispano/Applio community (classifier label)
classifier basis not recorded on the link
5 ran · 4 no recorded run
FunctionStatusWhere it lives
discriminator_loss Ran
ran on a synthesized input
IAHispano/Applio/rvc/train/losses.py
code served (permissive licence) · get_code("0f0065f33f3576c1")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Create sample discriminator outputs for real samples
# These are lists of tensors as expected by the function
disc_real_outputs = [
    torch.randn(2, 4),  # batch size 2, 4 output features
    torch.randn(2, 3),  # different size for second output
]

# Create sample discriminator outputs for generated samples
disc_generated_outputs = [
    torch.randn(2, 4),  # matching shape with real outputs
    torch.randn(2, 3),
]

ARGS = {
    "disc_real_outputs": disc_real_outputs,
    "disc_generated_outputs": disc_generated_outputs,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
feature_loss Ran
ran on a synthesized input
IAHispano/Applio/rvc/train/losses.py
code served (permissive licence) · get_code("0f7c6286a8d000f3")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# The function expects two lists of feature maps
# Each feature map is a list/tensor that will be zipped over
# Looking at the nested loop: for dr, dg in zip(fmap_r, fmap_g) for rl, gl in zip(dr, dg)
# This suggests fmap_r and fmap_g are lists of lists (or lists of tensors that are iterable)

# Create reference feature maps - list of batches, each batch is a list of feature tensors
fmap_r = [
    [torch.randn(2, 4), torch.randn(2, 4)],  # First batch with 2 feature maps
    [torch.randn(2, 4), torch.randn(2, 4)],  # Second batch with 2 feature maps
]

# Create generated feature maps - same structure
fmap_g = [
    [torch.randn(2, 4), torch.randn(2, 4)],  # First batch with 2 feature maps
    [torch.randn(2, 4), torch.randn(2, 4)],  # Second batch with 2 feature maps
]

ARGS = {
    "fmap_r": fmap_r,
    "fmap_g": fmap_g,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
generator_loss Ran
ran on a synthesized input
IAHispano/Applio/rvc/train/losses.py
code served (permissive licence) · get_code("613934173d2bad09")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# The function expects disc_outputs to be a list of torch.Tensor objects
# Each tensor is used with .float() and should be a scalar or small tensor
# that can be reduced with torch.mean()

disc_outputs = [
    torch.randn(2, 4),  # Batch of 2, feature dim 4
    torch.randn(2, 3),  # Different size to distinguish dimensions
    torch.randn(2, 1),  # Another distinct size
]

ARGS = {
    "disc_outputs": disc_outputs,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
gradient_norm Ran
ran, honoured the contract we drafted
gemelo-ai/vocos/vocos/helpers.py
code served (permissive licence) · get_code("e4db9b5f77eb31d1")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Create a simple model with parameters that have gradients
class SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear1 = nn.Linear(4, 3)
        self.linear2 = nn.Linear(3, 2)
    
    def forward(self, x):
        x = self.linear1(x)
        x = self.linear2(x)
        return x

# Instantiate the model
model = SimpleModel()

# Create dummy input and compute forward/backward to populate gradients
x = torch.randn(2, 4)
y = torch.randn(2, 2)
output = model(x)
loss = torch.nn.functional.mse_loss(output, y)
loss.backward()

# Define arguments
ARGS = {
    "model": model,
    "norm_type": 2.0
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
instantiate_class Ran
ran; our contract draft was wrong, not the code
gemelo-ai/vocos/vocos/pretrained.py
code served (permissive licence) · get_code("72b5e0a028285276")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Linear. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
from typing import Any, Dict, Tuple, Union, Optional

torch.manual_seed(0)

class SimpleModel(nn.Module):
    def __init__(self, input_dim: int):
        super().__init__()
        self.linear = nn.Linear(input_dim, 2)
    
    def forward(self, x):
        return self.linear(x)

simple_model = SimpleModel(4)

init_dict = {
    'class_path': 'torch.nn.Linear',
    'init_args': {
        'out_features': 8
    }
}

positional_args = 3

ARGS = {
    'args': positional_args,
    'init': init_dict
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Linear — a Linear output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Linear output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
phase_vocoder Ran
ran on a synthesized input
IAHispano/Applio/rvc/realtime/core.py
code served (permissive licence) · get_code("af431714735c52d1")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 1, dtype family float, shape (8,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Create small audio segments with distinct sizes
# a and b should be 1D tensors representing audio samples
a = torch.randn(8)  # 8 samples
b = torch.randn(8)  # 8 samples

# Create fade windows
# These should have the same length as a and b
fade_out = torch.linspace(1, 0, 8)  # Fade from 1 to 0
fade_in = torch.linspace(0, 1, 8)   # Fade from 0 to 1

ARGS = {
    "a": a,
    "b": b,
    "fade_out": fade_out,
    "fade_in": fade_in,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 1, dtype family float, shape (8,) — shape (8,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
safe_log Ran
ran; our contract draft was wrong, not the code
gemelo-ai/vocos/vocos/modules.py
code served (permissive licence) · get_code("5923f41e711c0b69")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Create a small tensor with values that need clipping
x = torch.tensor([[0.5, 1e-8, 0.1, 2.0],
                   [0.3, 0.7, 1e-9, 0.05]], dtype=torch.float32)

# Define arguments dictionary
ARGS = {
    "x": x,
    "clip_val": 1e-07
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
singleton Ran
ran on a synthesized input
IAHispano/Applio/rvc/configs/config.py
pointer only (licence: MIT); the stored copy get_code serves, from howiehwong/unigen, is pointer only (licence: NONE) · get_code("673da1d74b51ce33")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from howiehwong/unigen, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

symexp Ran
ran; our contract draft was wrong, not the code
gemelo-ai/vocos/vocos/modules.py
code served (permissive licence) · get_code("f1abe87534e9b4b5")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# The function symexp takes a single tensor argument and applies:
# torch.sign(x) * (torch.exp(x.abs()) - 1)
# It needs a tensor input

x = torch.randn(2, 4)

ARGS = {
    "x": x,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
symlog Ran
ran; our contract draft was wrong, not the code
gemelo-ai/vocos/vocos/modules.py
code served (permissive licence) · get_code("3acb919a94ac1a19")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# The symlog function takes a single tensor argument and applies
# element-wise symmetric logarithm: sign(x) * log1p(|x|)
# We need to provide a small tensor to test this.

x = torch.randn(2, 4)

ARGS = {
    "x": x,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
max_vram_gpu Not yet run
unverified (harvested, no recorded run)
IAHispano/Applio/rvc/configs/config.py
code served (permissive licence) · get_code("863d1ef3ea0fcbfc")
How it ran

no invocation recorded.

plot_spectrogram_to_numpy Not yet run
unverified (harvested, no recorded run)
gemelo-ai/vocos/vocos/helpers.py
code served (permissive licence) · get_code("e9b4eebcade00ef9")
How it ran

no invocation recorded.

run_batch_infer_script Not yet run
unverified (harvested, no recorded run)
IAHispano/Applio/core.py
code served (permissive licence) · get_code("c36b80b90b12e1a0")
How it ran

no invocation recorded.

run_infer_script Not yet run
unverified (harvested, no recorded run)
IAHispano/Applio/core.py
code served (permissive licence) · get_code("853b96f40584a36f")
How it ran

no invocation recorded.

run_tts_script Not yet run
unverified (harvested, no recorded run)
IAHispano/Applio/core.py
code served (permissive licence) · get_code("2aead06300268e7c")
How it ran

no invocation recorded.

save_figure_to_numpy Not yet run
unverified (harvested, no recorded run)
gemelo-ai/vocos/vocos/helpers.py
code served (permissive licence) · get_code("4ad86e574a34c6ea")
How it ran

no invocation recorded.

Also present in other papers' code

Of 16 samples lifted from this paper's linked repositories, 16 carry a function identity and 0 do not. Of the 16 distinct functions with an identity, 8 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 8 later) and 8 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
safe_log 5 other papers
5 later
2402.12208 (2024-02)
Language-Codec: Bridging Discrete Codec Representations and Speech Language Models
2405.11273 (2024-05)
Uni-MoE: Scaling Unified Multimodal LLMs with Mixture of Experts
2407.05361 (2024-07)
Emilia: An Extensive, Multilingual, and Diverse Speech Dataset for Large-Scale Speech Generation
and 2 more not named here
symexp 5 other papers
5 later
2402.12208 (2024-02)
Language-Codec: Bridging Discrete Codec Representations and Speech Language Models
2405.11273 (2024-05)
Uni-MoE: Scaling Unified Multimodal LLMs with Mixture of Experts
2407.05361 (2024-07)
Emilia: An Extensive, Multilingual, and Diverse Speech Dataset for Large-Scale Speech Generation
and 2 more not named here
symlog 5 other papers
5 later
2402.12208 (2024-02)
Language-Codec: Bridging Discrete Codec Representations and Speech Language Models
2405.11273 (2024-05)
Uni-MoE: Scaling Unified Multimodal LLMs with Mixture of Experts
2407.05361 (2024-07)
Emilia: An Extensive, Multilingual, and Diverse Speech Dataset for Large-Scale Speech Generation
and 2 more not named here
instantiate_class 3 other papers
3 later
2402.12208 (2024-02)
Language-Codec: Bridging Discrete Codec Representations and Speech Language Models
2408.16532 (2024-08)
WavTokenizer: an Efficient Acoustic Discrete Codec Tokenizer for Audio Language Modeling
2410.16928 (2024-10)
xLSTM-Mixer: Multivariate Time Series Forecasting by Mixing via Scalar Memories
gradient_norm 1 other paper
1 later
2402.12208 (2024-02)
Language-Codec: Bridging Discrete Codec Representations and Speech Language Models
plot_spectrogram_to_numpy 1 other paper
1 later
2402.12208 (2024-02)
Language-Codec: Bridging Discrete Codec Representations and Speech Language Models
save_figure_to_numpy 1 other paper
1 later
2402.12208 (2024-02)
Language-Codec: Bridging Discrete Codec Representations and Speech Language Models
singleton 1 other paper
1 later
2406.18966 (2024-06)
DataGen: Unified Synthetic Dataset Generation via Large Language Models

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Recent advancements in neural vocoding are predominantly driven by Generative Adversarial Networks (GANs) operating in the time-domain. While effective, this approach neglects the inductive bias offered by time-frequency representations, resulting in reduntant and computionally-intensive upsampling operations. Fourier-based time-frequency representation is an appealing alternative, aligning more accurately with human auditory perception, and benefitting from well-established fast algorithms for its computation. Nevertheless, direct reconstruction of complex-valued spectrograms has been historically problematic, primarily due to phase recovery issues. This study seeks to close this gap by presenting Vocos, a new model that directly generates Fourier spectral coefficients. Vocos not only matches the state-of-the-art in audio quality, as demonstrated in our evaluations, but it also substantially improves computational efficiency, achieving an order of magnitude increase in speed compared to prevailing time-domain neural vocoding approaches. The source code and model weights have been open-sourced at https://github.com/gemelo-ai/vocos.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2306.00814")
get_code_for_paper("2306.00814")
have("2306.00814")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2306.00814.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2306.00814.svg)](https://syntology.ai/paper/2306.00814)

Connect an agent — have() is free.