Class GenreClassifierOptions
- Namespace
- AiDotNet.Audio.Classification
- Assembly
- AiDotNet.dll
Options for genre classification.
public class GenreClassifierOptions
- Inheritance
-
GenreClassifierOptions
- Inherited Members
Properties
CustomGenres
Custom genre labels (optional).
public string[]? CustomGenres { get; set; }
Property Value
- string[]
FftSize
FFT size. Default: 2048.
public int FftSize { get; set; }
Property Value
HopLength
Hop length. Default: 512.
public int HopLength { get; set; }
Property Value
ModelPath
Path to ONNX model file (optional).
public string? ModelPath { get; set; }
Property Value
NumMfccs
Number of MFCCs to extract. Default: 20.
public int NumMfccs { get; set; }
Property Value
OnnxOptions
ONNX model options.
public OnnxModelOptions OnnxOptions { get; set; }
Property Value
SampleRate
Audio sample rate. Default: 22050.
public int SampleRate { get; set; }
Property Value
TopK
Number of top predictions to return. Default: 3.
public int TopK { get; set; }