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

Soundfont generator. More...

Collaboration diagram for NAudio.SoundFont.Generator:

Public Member Functions

override string ToString ()
 Returns a string representation based on the generator type.
 

Properties

GeneratorEnum GeneratorType [get, set]
 Gets the generator type.
 
ushort UInt16Amount [get, set]
 Generator amount as an unsigned short.
 
short Int16Amount [get, set]
 Generator amount as a signed short.
 
byte LowByteAmount [get, set]
 Low byte amount.
 
byte HighByteAmount [get, set]
 High byte amount.
 
Instrument Instrument [get, set]
 Instrument.
 
SampleHeader SampleHeader [get, set]
 Sample Header.
 

Detailed Description

Soundfont generator.

Member Function Documentation

◆ ToString()

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

Returns a string representation based on the generator type.

Returns
A string representation based on the generator type. If the generator type is Instrument, the string will be in the format "Generator Instrument {Instrument.Name}". If the generator type is SampleID, the string will be in the format "Generator SampleID {SampleHeader}". If the generator type is neither Instrument nor SampleID, the string will be in the format "Generator {GeneratorType} {UInt16Amount}".

Property Documentation

◆ GeneratorType

GeneratorEnum NAudio.SoundFont.Generator.GeneratorType
getset

Gets the generator type.

◆ HighByteAmount

byte NAudio.SoundFont.Generator.HighByteAmount
getset

High byte amount.

◆ Instrument

Instrument NAudio.SoundFont.Generator.Instrument
getset

Instrument.

◆ Int16Amount

short NAudio.SoundFont.Generator.Int16Amount
getset

Generator amount as a signed short.

◆ LowByteAmount

byte NAudio.SoundFont.Generator.LowByteAmount
getset

Low byte amount.

◆ SampleHeader

SampleHeader NAudio.SoundFont.Generator.SampleHeader
getset

Sample Header.

◆ UInt16Amount

ushort NAudio.SoundFont.Generator.UInt16Amount
getset

Generator amount as an unsigned short.


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