SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2311.14957 · 2023

Multi-Scale Sub-Band Constant-Q Transform Discriminator for High-Fidelity Vocoder

arXiv · PDF · Open in the Atlas

Code that ran

11 of 11 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; 2 honoured the contract we drafted, 2 violated it and 0 have no contract verdict; 7 failures of our instrument; 0 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/2311.14957.json · badge: /api/ran/2311.14957.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
nvidia/bigvgan canonical (classifier label)
classifier basis: census
11 ran · 0 no recorded run
FunctionStatusWhere it lives
discriminator_loss Ran
ran; our contract draft was wrong, not the code
nvidia/bigvgan/loss.py
code served (permissive licence) · get_code("738365634499b120")
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_real_outputs: List[torch.Tensor]
# - disc_generated_outputs: List[torch.Tensor]
# Each tensor is used with operations: (1 - dr) ** 2, dg ** 2, torch.mean()
# So tensors should be float tensors with values in [0, 1] range for discriminator outputs

disc_real_outputs = [
    torch.rand(2, 4),  # batch_size=2, some feature dim=4
    torch.rand(2, 3),  # another discriminator head output with different dim
]

disc_generated_outputs = [
    torch.rand(2, 4),  # corresponding generated output, same shape
    torch.rand(2, 3),  # corresponding generated output, same shape
]

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
dynamic_range_compression Ran
ran, violated the contract we drafted
nvidia/bigvgan/meldataset.py
code served (permissive licence) · get_code("be031b15a988a556")
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 ndarray, 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 numpy as np

# Construct a small numpy array as input
x = np.array([0.00001, 0.0001, 0.001, 0.01, 0.1, 1.0, 10.0, 100.0])

# Define arguments dict with all parameters
ARGS = {
    "x": x,
    "C": 1,
    "clip_val": 1e-05
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, 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
dynamic_range_compression_torch Ran
ran; our contract draft was wrong, not the code
nvidia/bigvgan/meldataset.py
pointer only (licence: MIT); the stored copy get_code serves, from brightgu/mediumvc, is pointer only (licence: NONE) · get_code("6bcad10a17d9164f")
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 brightgu/mediumvc, 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.

dynamic_range_decompression Ran
ran, violated the contract we drafted
nvidia/bigvgan/meldataset.py
code served (permissive licence) · get_code("9e30e7d510c9d341")
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 ndarray, ndim 1, dtype family float, shape (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 numpy as np

# The function takes two parameters: x and C
# x is expected to be a numpy array (based on np.exp(x) operation)
# C is a scalar value used for division (default is 1)

# Create a small numpy array for x
x = np.array([0.5, 1.0, 1.5, 2.0])

# Create a scalar value for C
C = 2.0

ARGS = {
    "x": x,
    "C": C
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (4,) — shape (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
feature_loss Ran
ran, honoured the contract we drafted
nvidia/bigvgan/loss.py
code served (permissive licence) · get_code("95f8dc8b58c53187")
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 lists of tensors
# Each inner list represents feature maps from different layers
# We'll create 2 "discriminator" outputs, each with 3 layers of feature maps

fmap_r = [
    [
        torch.randn(2, 4),  # batch=2, features=4
        torch.randn(2, 5),  # batch=2, features=5
        torch.randn(2, 6),  # batch=2, features=6
    ],
    [
        torch.randn(2, 7),  # batch=2, features=7
        torch.randn(2, 8),  # batch=2, features=8
        torch.randn(2, 9),  # batch=2, features=9
    ]
]

fmap_g = [
    [
        torch.randn(2, 4),  # batch=2, features=4
        torch.randn(2, 5),  # batch=2, features=5
        torch.randn(2, 6),  # batch=2, features=6
    ],
    [
        torch.randn(2, 7),  # batch=2, features=7
        torch.randn(2, 8),  # batch=2, features=8
        torch.randn(2, 9),  # batch=2, features=9
    ]
]

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; our contract draft was wrong, not the code
nvidia/bigvgan/loss.py
code served (permissive licence) · get_code("aa1f22c3cec16a93")
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)

# Construct disc_outputs: a list of tensors
# The function iterates over disc_outputs and expects each to be a tensor
# It computes (1 - dg) ** 2 and takes the mean, so each tensor should have numerical values
disc_outputs = [
    torch.randn(2, 4),  # Small batch of 2, dimension 4
    torch.randn(2, 4),  # Another discriminator output
    torch.randn(2, 4),  # A third one
]

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
get_padding Ran
ran, honoured the contract we drafted
nvidia/bigvgan/utils.py
pointer only (licence: MIT); the stored copy get_code serves, from isletennos/mmvc_trainer, is pointer only (licence: NONE) · get_code("a26f85d7c72ef39a")
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 isletennos/mmvc_trainer, 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.

load_checkpoint Ran
ran; our contract draft was wrong, not the code
nvidia/bigvgan/inference_e2e.py
code served (permissive licence) · get_code("4bd54657e0aaaf57")
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 dict. 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 os
import torch
import tempfile

torch.manual_seed(0)

# Create a temporary checkpoint file
with tempfile.NamedTemporaryFile(mode='wb', delete=False, suffix='.pt') as f:
    temp_filepath = f.name
    # Create a simple checkpoint dict and save it
    checkpoint_dict = {
        'model_state': torch.randn(2, 4),
        'optimizer_state': torch.randn(3, 5),
        'epoch': 10
    }
    torch.save(checkpoint_dict, f)

# Define arguments for load_checkpoint
ARGS = {
    'filepath': temp_filepath,
    'device': 'cpu'
}
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 dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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
plot_spectrogram Ran
ran; our contract draft was wrong, not the code
nvidia/bigvgan/utils.py
code served (permissive licence) · get_code("8520e6e61b8bf789")
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 Figure. 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 numpy as np
import matplotlib.pyplot as plt

torch.manual_seed(0)

# Create a small spectrogram-like 2D array
# Spectrograms are typically (frequency_bins, time_steps)
spectrogram = np.random.randn(4, 3)

ARGS = {
    "spectrogram": spectrogram
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
matplotlib, numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Figure — a Figure output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Figure 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
plot_spectrogram_clipped Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
nvidia/bigvgan/utils.py
code served (permissive licence) · get_code("7c4b5745aafce584")
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 Figure. 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 numpy as np
import matplotlib.pyplot as plt

torch.manual_seed(0)

# Create a small spectrogram tensor
# Spectrograms are typically 2D arrays with shape (frequency_bins, time_steps)
spectrogram = np.random.rand(64, 128).astype(np.float32)

ARGS = {
    "spectrogram": spectrogram,
    "clip_max": 2.0,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
matplotlib, numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Figure — a Figure output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Figure 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
scan_checkpoint Ran
ran; our contract draft was wrong, not the code
nvidia/bigvgan/inference_e2e.py
code served (permissive licence) · get_code("404632cb4f4669da")
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) and returned str. 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 tempfile
import os

# Create a temporary directory for testing
temp_dir = tempfile.mkdtemp()

# Create some dummy checkpoint files to test the glob pattern
checkpoint_files = [
    os.path.join(temp_dir, "model_step_100.pt"),
    os.path.join(temp_dir, "model_step_200.pt"),
    os.path.join(temp_dir, "model_step_150.pt"),
]

# Create the dummy files
for cp_file in checkpoint_files:
    with open(cp_file, 'w') as f:
        f.write("dummy checkpoint")

ARGS = {
    "cp_dir": temp_dir,
    "prefix": "model_step_"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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

Also present in other papers' code

Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 7 are also present in other papers whose code we hold (7 with at least one paper dated earlier, 1 the same month, 6 later) and 4 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
get_padding 53 other papers
28 dated earlier, 2 the same month, 22 later, 1 undated · 4 only as an assembly brick
1910.10838 (2019-10)
Zero-Shot Multi-Speaker Text-To-Speech with State-of-the-art Neural Speaker Embeddings
2006.04558 (2020-06)
FastSpeech 2: Fast and High-Quality End-to-End Text to Speech
2006.06873 (2020-06)
FastPitch: Parallel Text-to-speech with Pitch Prediction
and 50 more not named here
dynamic_range_compression 13 other papers
7 dated earlier, 6 later
2006.04558 (2020-06)
FastSpeech 2: Fast and High-Quality End-to-End Text to Speech
2106.07889 (2021-06)
UnivNet: A Neural Vocoder with Multi-Resolution Spectrogram Discriminators for High-Fidelity Waveform Generation
2110.12676 (2021-10)
Controllable and Interpretable Singing Voice Decomposition via Assem-VC
and 10 more not named here
dynamic_range_decompression 13 other papers
7 dated earlier, 6 later
2006.04558 (2020-06)
FastSpeech 2: Fast and High-Quality End-to-End Text to Speech
2106.07889 (2021-06)
UnivNet: A Neural Vocoder with Multi-Resolution Spectrogram Discriminators for High-Fidelity Waveform Generation
2110.12676 (2021-10)
Controllable and Interpretable Singing Voice Decomposition via Assem-VC
and 10 more not named here
scan_checkpoint 10 other papers
5 dated earlier, 5 later
2010.05646 (2020-10)
HiFi-GAN: Generative Adversarial Networks for Efficient and High Fidelity Speech Synthesis
2203.02395 (2022-03)
iSTFTNet: Fast and Lightweight Mel-Spectrogram Vocoder Incorporating Inverse Short-Time Fourier Transform
2203.13086 (2022-03)
HiFi++: a Unified Framework for Bandwidth Extension and Speech Enhancement
and 7 more not named here
dynamic_range_compression_torch 7 other papers
5 dated earlier, 2 later
2106.06103 (2021-06)
Conditional Variational Autoencoder with Adversarial Learning for End-to-End Text-to-Speech
2110.02500 (2021-10)
MediumVC: Any-to-any voice conversion using synthetic specific-speaker speeches as intermedium features
2206.04658 (2022-06)
BigVGAN: A Universal Neural Vocoder with Large-Scale Training
and 4 more not named here
plot_spectrogram 7 other papers
6 dated earlier, 1 later
2006.04558 (2020-06)
FastSpeech 2: Fast and High-Quality End-to-End Text to Speech
2106.07889 (2021-06)
UnivNet: A Neural Vocoder with Multi-Resolution Spectrogram Discriminators for High-Fidelity Waveform Generation
2203.02395 (2022-03)
iSTFTNet: Fast and Lightweight Mel-Spectrogram Vocoder Incorporating Inverse Short-Time Fourier Transform
and 4 more not named here
load_checkpoint 1 other paper
1 dated earlier
2006.04558 (2020-06)
FastSpeech 2: Fast and High-Quality End-to-End Text to Speech

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

Generative Adversarial Network (GAN) based vocoders are superior in inference speed and synthesis quality when reconstructing an audible waveform from an acoustic representation. This study focuses on improving the discriminator to promote GAN-based vocoders. Most existing time-frequency-representation-based discriminators are rooted in Short-Time Fourier Transform (STFT), whose time-frequency resolution in a spectrogram is fixed, making it incompatible with signals like singing voices that require flexible attention for different frequency bands. Motivated by that, our study utilizes the Constant-Q Transform (CQT), which owns dynamic resolution among frequencies, contributing to a better modeling ability in pitch accuracy and harmonic tracking. Specifically, we propose a Multi-Scale Sub-Band CQT (MS-SB-CQT) Discriminator, which operates on the CQT spectrogram at multiple scales and performs sub-band processing according to different octaves. Experiments conducted on both speech and singing voices confirm the effectiveness of our proposed method. Moreover, we also verified that the CQT-based and the STFT-based discriminators could be complementary under joint training. Specifically, enhanced by the proposed MS-SB-CQT and the existing MS-STFT Discriminators, the MOS of HiFi-GAN can be boosted from 3.27 to 3.87 for seen singers and from 3.40 to 3.78 for unseen singers.

For agents

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

get_harvested_code_for_paper("2311.14957")
get_code_for_paper("2311.14957")
have("2311.14957")

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

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

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

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

Connect an agent — have() is free.