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

Instrument.Serialize

Description

Functions to save and load the midi db.

Unlike in Cmd.Serialize, I don't bother with versions here, because this is intended to be just a cache.

Synopsis

Documentation

serialize :: FilePath -> InstrumentDb -> IO () Source #

Serialize instrument definitions to a file.

unserialize :: FilePath -> IO (Either Serialize.UnserializeError InstrumentDb) Source #

Unserialize instrument definitions.

data InstrumentDb Source #

Time serialized, patches.

Instances

Instances details
Serialize.Serialize InstrumentDb Source # 
Instance details

Defined in Instrument.Serialize

Orphan instances