Copyright © 2005-2019 MultiMedia Soft

MIDI.SoundFontDefaultConfigGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Retrieves the current configuration of the default 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 SoundFontDefaultConfigGet (

nUniqueId As Int32,

nPreset as Int32,

nBank as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes SoundFontDefaultConfigGet (

ref Int32 nUniqueId,

ref Int32 nPreset,

ref Int32 nBank

);


 

[C++]

public: enumErrorCodes SoundFontDefaultConfigGet (

Int32 __gc *nUniqueId,

Int32 __gc *nPreset,

Int32 __gc *nBank

);


 

 

 

Parameter

Description

 

 

nUniqueId

Reference that, on return from the method call, will contain the unique identifier of the default SoundFont

nPreset

Reference that, on return from the method call, will contain the preset number

nBank

Reference that, on return from the method call, will contain the base bank number or the bank number of the individual preset

 

 

Return value

 

Value

Meaning

 

 

Negative value

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

enumErrorCodes.NOERROR (0)

The method call was successful.