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

User.Elaforge.Instrument

Description

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

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.