Using custom Soundbanks

Purpose. Loads a custom soundbank and uses its instruments. One note is played to verify successful loading.


java LoadSoundbank [ soundbank ]



the filename of a custom soundbank to be loaded. If no soundbank is specified, the default soundbank of the synthesizer is used. If there is no default soundbank, no sound will be produced (without an error message).

Bugs, limitations. Using a custom soundbank even if no default soundbank is available only works with JDK 1.5.0 and later.

Source code.