Copyright © 2005-2019 MultiMedia Soft

MIDI.SoundFontInfoStringGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains a string information about the given MIDI SoundFont.

 

For further details about the use of MIDI protocol see the MIDIMan class section and the How to deal with MIDI protocol tutorial.

 

 

Syntax

 

[Visual Basic]

Public Function SoundFontInfoStringGet (

nUniqueId As Int32,

nInfo as enumMidiSoundFontStringInfo

) as String


 

[C#]

public string SoundFontInfoStringGet (

Int32 nUniqueId,

enumMidiSoundFontStringInfo nInfo

);


 

[C++]

public: string SoundFontInfoStringGet (

Int32 nUniqueId,

enumMidiSoundFontStringInfo nInfo

);


 

 

 

Parameter

Description

 

 

nUniqueId

Number representing the unique identifier of the MIDI SoundFont as returned by a previous call to one between the MIDI.SoundFontInit or MIDI.SoundFontInitFromMemory or MIDI.SoundFontInitFromMemory methods.

This parameter can be set to 0 when the request is related to the system default SoundFont.

nInfo

The type of information that must be retrieved.

Supported values are the following:

Mnemonic constant

Value

Meaning

MIDI_SOUNDFONT_INFO_NAME

0

Friendly name of the SoundFont

MIDI_SOUNDFONT_INFO_COPYRIGHT

1

Copyright info

MIDI_SOUNDFONT_INFO_COMMENT

2

Comment

 

 

Return value

 

Value

Meaning

 

 

Empty string

An error occurred (see the LastError property for further error details)

Valid string

String containing the requested information