Xeno-rat
Loading...
Searching...
No Matches
NAudio.SoundFont.PresetsChunk Class Reference

Class to read the SoundFont file presets chunk. More...

Collaboration diagram for NAudio.SoundFont.PresetsChunk:

Public Member Functions

override string ToString ()
 Returns a string representation of the preset headers and instruments.
 

Properties

Preset[] Presets [get]
 The Presets contained in this chunk.
 
Instrument[] Instruments [get]
 The instruments contained in this chunk.
 
SampleHeader[] SampleHeaders [get]
 The sample headers contained in this chunk.
 

Private Attributes

PresetBuilder presetHeaders = new PresetBuilder()
 
ZoneBuilder presetZones = new ZoneBuilder()
 
ModulatorBuilder presetZoneModulators = new ModulatorBuilder()
 
GeneratorBuilder presetZoneGenerators = new GeneratorBuilder()
 
InstrumentBuilder instruments = new InstrumentBuilder()
 
ZoneBuilder instrumentZones = new ZoneBuilder()
 
ModulatorBuilder instrumentZoneModulators = new ModulatorBuilder()
 
GeneratorBuilder instrumentZoneGenerators = new GeneratorBuilder()
 
SampleHeaderBuilder sampleHeaders = new SampleHeaderBuilder()
 

Detailed Description

Class to read the SoundFont file presets chunk.

Member Function Documentation

◆ ToString()

override string NAudio.SoundFont.PresetsChunk.ToString ( )
inline

Returns a string representation of the preset headers and instruments.

Returns
A string containing the preset headers and instruments.

This method constructs a string representation of the preset headers and instruments by iterating through each preset and instrument and appending their string representations to the result. The resulting string contains the preset headers followed by the instruments.

Member Data Documentation

◆ instruments

InstrumentBuilder NAudio.SoundFont.PresetsChunk.instruments = new InstrumentBuilder()
private

◆ instrumentZoneGenerators

GeneratorBuilder NAudio.SoundFont.PresetsChunk.instrumentZoneGenerators = new GeneratorBuilder()
private

◆ instrumentZoneModulators

ModulatorBuilder NAudio.SoundFont.PresetsChunk.instrumentZoneModulators = new ModulatorBuilder()
private

◆ instrumentZones

ZoneBuilder NAudio.SoundFont.PresetsChunk.instrumentZones = new ZoneBuilder()
private

◆ presetHeaders

PresetBuilder NAudio.SoundFont.PresetsChunk.presetHeaders = new PresetBuilder()
private

◆ presetZoneGenerators

GeneratorBuilder NAudio.SoundFont.PresetsChunk.presetZoneGenerators = new GeneratorBuilder()
private

◆ presetZoneModulators

ModulatorBuilder NAudio.SoundFont.PresetsChunk.presetZoneModulators = new ModulatorBuilder()
private

◆ presetZones

ZoneBuilder NAudio.SoundFont.PresetsChunk.presetZones = new ZoneBuilder()
private

◆ sampleHeaders

SampleHeaderBuilder NAudio.SoundFont.PresetsChunk.sampleHeaders = new SampleHeaderBuilder()
private

Property Documentation

◆ Instruments

Instrument [] NAudio.SoundFont.PresetsChunk.Instruments
get

The instruments contained in this chunk.

◆ Presets

Preset [] NAudio.SoundFont.PresetsChunk.Presets
get

The Presets contained in this chunk.

◆ SampleHeaders

SampleHeader [] NAudio.SoundFont.PresetsChunk.SampleHeaders
get

The sample headers contained in this chunk.


The documentation for this class was generated from the following file: