Copyright © 2001-2018 MultiMedia Soft

MIDI.SoundFontDefaultSet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Modifies the system default MIDI SoundFont. The current default SoundFont can be obtained through the MIDI.SoundFontDefaultGet method.

 

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

 

 

Syntax

 

[Visual Basic]

control.MIDI.SoundFontDefaultSet (

strPathname as String

) as enumErrorCodes


 

[C++]

short control.MIDI.SoundFontDefaultSet (

BSTR strPathname

);


 

Parameter

Description

 

 

strPathname

String containing the absolute pathname of the SoundFont file in SF2 format.

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred, check the LastError property value in order to get the error code

enumErrorCodes.ERR_NOERROR (0)

The method call was successful