Karya, built on 2020-11-26T21:03:17 (patch 23b5be2d53a9e8e7d6136cda5aae2849abe5cded)
Safe HaskellNone

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 :: [(InstTypes.SynthName, ('MidiInst.MakeDb', 'MidiInst.Load'))]

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

Synopsis

Documentation

all_loads :: [(InstTypes.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.