UNPKG

spessasynth_core

Version:

MIDI and SoundFont2/DLS library with no compromises

26 lines (23 loc) 568 B
/** * Synthesizer's default voice cap * @type {number} */ export const VOICE_CAP = 350; /** * Default MIDI drum channel * @type {number} */ export const DEFAULT_PERCUSSION = 9; /** * MIDI channel count * @type {number} */ export const MIDI_CHANNEL_COUNT = 16; /** * Default bank select and SysEx mode * @type {string} */ export const DEFAULT_SYNTH_MODE = "gs"; export const ALL_CHANNELS_OR_DIFFERENT_ACTION = -1; export const EMBEDDED_SOUND_BANK_ID = `SPESSASYNTH_EMBEDDED_BANK_${Math.random()}`; export const GENERATOR_OVERRIDE_NO_CHANGE_VALUE = 32767;