ConformerFPOptions
Options & Configuration · AiDotNet.Audio.Fingerprinting
Configuration options for the Conformer-based audio fingerprinting model.
Inheritance: ModelOptions → ConformerFPOptions
For Beginners
ConformerFP uses a powerful AI architecture called “Conformer” that combines two different ways of understanding audio: one that looks at the big picture (like reading a whole sentence) and one that looks at local details (like reading letter by letter). This combination makes it very good at creating fingerprints that can identify songs even from noisy or distorted recordings.
How It Works
ConformerFP applies the Conformer architecture (convolution-augmented Transformer) to audio fingerprinting. It combines self-attention for global context with convolutions for local feature extraction, producing highly robust fingerprints for large-scale audio retrieval.
Constructors
| Constructor | Summary |
|---|---|
ConformerFPOptions() |
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. |
double MatchThreshold { get; set; } |
Gets or sets the cosine similarity threshold for considering a fingerprint match. |
double SegmentDurationSec { get; set; } |
Gets or sets the segment duration in seconds. |
double Temperature { get; set; } |
Gets or sets the contrastive loss temperature. |
int ConvKernelSize { get; set; } |
Gets or sets the convolution kernel size for the Conformer conv module. |
int EmbeddingDim { get; set; } |
Gets or sets the fingerprint embedding dimension. |
int FeedForwardDim { get; set; } |
Gets or sets the feed-forward dimension. |
int FftSize { get; set; } |
Gets or sets the FFT window size. |
int HiddenDim { get; set; } |
Gets or sets the Conformer hidden dimension. |
int HopLength { get; set; } |
Gets or sets the hop length between frames. |
int NumAttentionHeads { get; set; } |
Gets or sets the number of attention heads. |
int NumLayers { get; set; } |
Gets or sets the number of Conformer layers. |
int NumMels { get; set; } |
Gets or sets the number of mel filterbank channels. |
int SampleRate { get; set; } |
Gets or sets the expected audio sample rate in Hz. |
string ModelPath { get; set; } |
Gets or sets the path to the ONNX model file. |