Copyright © 2005-2019 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 MIDIMan class section and the How to deal with MIDI protocol tutorial.

 

 

Syntax

 

[Visual Basic]

Public Function SoundFontDefaultSet (

strPathname as String

) as enumErrorCodes


 

[C#]

public enumErrorCodes SoundFontDefaultSet (

string strPathname

);


 

[C++]

public: enumErrorCodes SoundFontDefaultSet (

string 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 (see the LastError property for further error details)

enumErrorCodes.NOERROR (0)

The method call was successful.