Table of Contents

Class Preset

Namespace
NAudio.SoundFont
Assembly
NAudio.Core.dll

A SoundFont Preset

public class Preset
Inheritance
Preset
Inherited Members

Properties

Bank

Bank number 0 - 127, GM percussion bank is 128

public ushort Bank { get; set; }

Property Value

ushort

Name

Preset name

public string Name { get; set; }

Property Value

string

PatchNumber

Patch Number

public ushort PatchNumber { get; set; }

Property Value

ushort

Zones

Zones

public Zone[] Zones { get; set; }

Property Value

Zone[]

Methods

ResolveRegions()

Flattens this preset into its fully-resolved, playable regions, applying the SoundFont generator-accumulation model. See SoundFontInstrumentResolver.

public IReadOnlyList<SoundFontRegion> ResolveRegions()

Returns

IReadOnlyList<SoundFontRegion>

ToString()

public override string ToString()

Returns

string