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.

MIDI instrument definitions are local configuration, so this expects a locally defined Local.Instrument module, which should export:

midi_synths :: [MidiInst.Synth]
all_loads :: [(InstT.SynthName, ('MidiInst.MakeDb', 'MidiInst.Load'))]

Instrument.MakeDb is used to create the caches that all_loads relies on.



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.

synth_warnings :: [Text] Source #

Warnings validating synths. TODO this should probably be merged with MidiInst.Synth.