Safe Haskell | Safe-Inferred |
---|
Load the instrument db. This collects together all the local instrument definitions.
The convention is that each synthesizer has a module in Local/Instrument/, and each one exports:
synth :: MidiInst.Synth
If loading is expensive, then it also exports:
synth_name :: InstT.SynthName make_db :: MidiInst.MakeDb load :: MidiInst.Load
Synopsis
- midi_synths :: [MidiInst.Synth]
- all_loads :: [(InstT.SynthName, (MidiInst.MakeDb, MidiInst.Load))]
Documentation
midi_synths :: [MidiInst.Synth] Source #
Synth declarations for each synth that is declared purely.
all_loads :: [(InstT.SynthName, (MidiInst.MakeDb, MidiInst.Load))] Source #
Each synth that caches to disk has a function to make the cache, and one to load it.