Struct MidiFontInfo
Used with FontGetInfo(Int32, out MidiFontInfo) to retrieve information on a soundfont.
Namespace: System.Dynamic.ExpandoObject
Assembly: ManagedBass.Midi.dll
Syntax
public struct MidiFontInfo
Remarks
The Name, Copyright and Comment information might not be included in some SF2 files. Only the Presets, SampleDataLoaded and SampleDataType members are available with SFZ files, with the SampleDataType value reflecting the most recently loaded encoded sample (it is possible for different samples to use different encoding).
Fields
Presets
The number of presets/instruments in the soundfont.
Declaration
public int Presets
Field Value
Int32
|
SampleDataLoaded
The amount of sample data currently loaded... -1 = the soundfont is memory mapped.
Declaration
public int SampleDataLoaded
Field Value
Int32
|
SampleDataSize
The total size (in bytes) of the sample data in the soundfont.
Declaration
public int SampleDataSize
Field Value
Int32
|
SampleDataType
The ChannelType format of the sample data if it's packed... -1 = Unknown format (appropriate BASS add-on not loaded), 0 = not packed.
Declaration
public int SampleDataType
Field Value
Int32
|