UNPKG

spessasynth_lib

Version:

MIDI and SoundFont2/DLS library with no compromises

71 lines (66 loc) 2.73 kB
// Import modules import { loadSoundFont } from "./soundfont/load_soundfont.js"; import { BasicSoundBank } from "./soundfont/basic_soundfont/basic_soundfont.js"; import { BasicSample } from "./soundfont/basic_soundfont/basic_sample.js"; import { BasicInstrumentZone } from "./soundfont/basic_soundfont/basic_zones.js"; import { BasicInstrument } from "./soundfont/basic_soundfont/basic_instrument.js"; import { Generator } from "./soundfont/basic_soundfont/generator.js"; import { Modulator } from "./soundfont/basic_soundfont/modulator.js"; import { BasicPresetZone } from "./soundfont/basic_soundfont/basic_zones.js"; import { BasicPreset } from "./soundfont/basic_soundfont/basic_preset.js"; import { BasicMIDI } from "./midi_parser/basic_midi.js"; import { MIDIMessage } from "./midi_parser/midi_message.js"; import { MIDI } from './midi_parser/midi_loader.js'; import { RMIDINFOChunks } from "./midi_parser/rmidi_writer.js"; import { MIDIBuilder } from "./midi_parser/midi_builder.js"; import { Synthetizer } from './synthetizer/synthetizer.js'; import { VOICE_CAP, DEFAULT_PERCUSSION } from "./synthetizer/synth_constants.js"; import { Sequencer } from './sequencer/sequencer.js'; import { IndexedByteArray } from './utils/indexed_array.js'; import { audioBufferToWav } from './utils/buffer_to_wav.js'; import { SpessaSynthLogging } from './utils/loggin.js'; import { midiControllers, messageTypes } from './midi_parser/midi_message.js'; import { MIDIDeviceHandler} from "./external_midi/midi_handler.js"; import { WebMIDILinkHandler} from "./external_midi/web_midi_link.js"; import { modulatorSources } from "./soundfont/basic_soundfont/modulator.js"; import { DEFAULT_SYNTH_CONFIG } from "./synthetizer/audio_effects/effects_config.js"; import { WORKLET_URL_ABSOLUTE } from './synthetizer/worklet_url.js'; import { SynthesizerSnapshot} from "./synthetizer/worklet_system/snapshot/synthesizer_snapshot.js"; import { ChannelSnapshot } from "./synthetizer/worklet_system/snapshot/channel_snapshot.js"; // Export modules export { // Synthesizer and Sequencer Sequencer, Synthetizer, SynthesizerSnapshot, ChannelSnapshot, DEFAULT_PERCUSSION, VOICE_CAP, DEFAULT_SYNTH_CONFIG, // SoundFont BasicSoundBank, BasicSample, BasicInstrumentZone, BasicInstrument, BasicPreset, BasicPresetZone, Generator, Modulator, loadSoundFont, modulatorSources, // MIDI MIDI, BasicMIDI, MIDIBuilder, MIDIMessage, RMIDINFOChunks, // Utilities IndexedByteArray, audioBufferToWav, SpessaSynthLogging, midiControllers, messageTypes, MIDIDeviceHandler, WebMIDILinkHandler, WORKLET_URL_ABSOLUTE };