BASS.NET API for the Un4seen BASS Audio LibraryBASS_MIDI_FONTINFO ClassBASS.NET API for the Un4seen BASS Audio Library
Used with BASS_MIDI_FontGetInfo(Int32, BASS_MIDI_FONTINFO) to retrieve information on a soundfont.
Inheritance Hierarchy

SystemObject
  Un4seen.Bass.AddOn.MidiBASS_MIDI_FONTINFO

Namespace: Un4seen.Bass.AddOn.Midi
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.12.0
Syntax

[SerializableAttribute]
public sealed class BASS_MIDI_FONTINFO

The BASS_MIDI_FONTINFO type exposes the following members.

Constructors

  NameDescription
Public methodBASS_MIDI_FONTINFO
Default constructor.
Top
Methods

  NameDescription
Public methodToString
A description of the soundfont info object (name, copyright, comment, size etc.)
(Overrides ObjectToString.)
Top
Fields

  NameDescription
Public fieldcomment
Any comments.
Public fieldcopyright
Copyright notice.
Public fieldname
Name of the soundfont.
Public fieldpresets
The number of presets/instruments in the soundfont.
Public fieldsamload
The amount of sample data currently loaded... -1 = the soundfont is memory mapped.
Public fieldsamsize
The total size (in bytes) of the sample data in the soundfont.
Public fieldsamtype
The BASS_CTYPE_STREAM_xxx format of the sample data if it's packed... -1 = unknown format (appropriate BASS add-on not loaded), 0 = not packed.
Top
Remarks

The name, copyright and comment information might not be included in some SF2 files. Only the presets, samload and samtype members are available with SFZ files, with the samtype value reflecting the most recently loaded encoded sample (it is possible for different samples to use different encoding).
See Also

Reference