SoundFont constructor.
Path to the SoundFont directory.
Loads SoundFont configuration from a soundfont.json file in the base URL
directory. Does not load any of the samples.
Load samples necessary to play a set of notes. This must be called before any notes can be played.
Array of program/isDrum/pitch/velocity for notes that will be loaded.
Play a note using one of the sampled instruments.
Pitch of the note.
Velocity of the note.
Time at which to start playing the note.
Length of the note in seconds.
Program number to use for instrument lookup.
Drum status to use for instrument lookup.
Output AudioNode.
Generated using TypeDoc
Multi-instrument SoundFont. Must be initialized and samples must be pre-loaded using the
loadSamplesmethod before any notes can be played.