Table of Contents

Class SpectrogramConfig

Namespace
AiDotNet.Diffusion.Models
Assembly
AiDotNet.dll

Configuration for spectrogram generation.

public class SpectrogramConfig
Inheritance
SpectrogramConfig
Inherited Members

Properties

FFTSize

FFT window size.

public int FFTSize { get; set; }

Property Value

int

HopLength

Hop length between frames.

public int HopLength { get; set; }

Property Value

int

MaxFrequency

Maximum frequency in Hz.

public double MaxFrequency { get; set; }

Property Value

double

MinFrequency

Minimum frequency in Hz.

public double MinFrequency { get; set; }

Property Value

double

NumMelBins

Number of mel frequency bins.

public int NumMelBins { get; set; }

Property Value

int

SampleRate

Audio sample rate in Hz.

public int SampleRate { get; set; }

Property Value

int

UseLogScale

Whether to use log-scale magnitude.

public bool UseLogScale { get; set; }

Property Value

bool