AudioSuperResolutionOptions

Options & Configuration · AiDotNet.Audio.Effects

Configuration options for the Audio Super-Resolution model.

Inheritance: ModelOptions → AudioSuperResolutionOptions

For Beginners

Audio Super-Resolution is like AI-powered upscaling for sound. Just as image super-resolution makes blurry photos sharper, audio super-resolution makes low-quality audio sound clearer and more detailed.

Common uses:

  • Upscaling old telephone recordings (8 kHz -> 44.1 kHz)
  • Recovering quality from heavily compressed audio (MP3 at 64 kbps)
  • Enhancing voice recordings from cheap microphones
  • Restoring bandwidth-limited historical recordings

How It Works

Audio Super-Resolution (Kuleshov et al., 2017; Li et al., 2021) upsamples low-resolution audio to high-resolution audio using neural networks. It predicts the missing high-frequency content that was lost during compression or low-quality recording, effectively converting 8 kHz telephone audio to 44.1 kHz studio quality, or recovering detail lost in MP3 compression.

Constructors

Constructor Summary
AudioSuperResolutionOptions()

Properties

Property Summary
OnnxModelOptions OnnxOptions { get; set; } Gets or sets the ONNX runtime options.
double DropoutRate { get; set; } Gets or sets the dropout rate.
double LearningRate { get; set; } Gets or sets the learning rate.
int HiddenDim { get; set; } Gets or sets the hidden dimension.
int InputSampleRate { get; set; } Gets or sets the input sample rate in Hz (low resolution).
int NumAttentionLayers { get; set; } Gets or sets the number of attention layers.
int NumHeads { get; set; } Gets or sets the number of attention heads.
int NumMels { get; set; } Gets or sets the number of mel bins for feature extraction.
int NumResBlocks { get; set; } Gets or sets the number of residual blocks.
int OutputSampleRate { get; set; } Gets or sets the output sample rate in Hz (high resolution).
int UpsampleFactor { get; set; } Gets or sets the upsampling factor (OutputSampleRate / InputSampleRate).
string ModelPath { get; set; } Gets or sets the path to the ONNX model file.
string Variant { get; set; } Gets or sets the model variant (“small”, “base”, “large”).