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

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