spessasynth_core
Version:
MIDI and SoundFont2/DLS library with no compromises
20 lines (18 loc) • 386 B
JavaScript
import { BasicInstrument } from "../basic_soundfont/basic_instrument.js";
import { DLSZone } from "./dls_zone.js";
export class DLSInstrument extends BasicInstrument
{
constructor()
{
super();
}
/**
* @returns {DLSZone}
*/
createZone()
{
const z = new DLSZone(this);
this.instrumentZones.push(z);
return z;
}
}