Karya, built on 2023-08-29T07:47:28 (patch 7a412d5d6ba4968ca4155ef276a062ccdeb9109a)
Safe HaskellSafe-Inferred

App.LoadInstruments

Description

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.

Synopsis

Documentation

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.