NsynthDataLoaderOptions

Options & Configuration ยท AiDotNet.Data.Audio.Benchmarks

Configuration for the NSynth (Neural Synth) audio dataset loader (Engel et al. 2017).

How It Works

NSynth โ€” 305,979 musical notes from 1,006 instruments, each as a 4-second 16 kHz mono WAV. Annotated with pitch, velocity, instrument family (11 classes), instrument source (3 classes), and qualities. Standard benchmark for audio synthesis / pitch-conditional generation.

Constructors

Constructor Summary
NsynthDataLoaderOptions()

Properties

Property Summary
DatasetSplit Split { get; set; } Gets or sets which split of the dataset is loaded.
bool AutoDownload { get; set; } Gets or sets whether the dataset is downloaded into the data directory when it is not there.
int SampleRate { get; set; } Source-file sample rate.
int Samples { get; set; } Samples per clip (4 sec * 16 kHz = 64,000).
int? MaxSamples { get; set; } Gets or sets the most samples loaded; null loads the whole split.
string DataPath { get; set; } Gets or sets the dataset root directory; null uses the default data directory for this dataset.

Methods

Method Summary
void Validate() Validates that all option values are within acceptable ranges.