Karya, built on 2022-03-21T01:30:44 (patch 89d1651424c35e564138d93424a157ff87457245)
Safe HaskellSafe-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


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.