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

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 # 
Instance details

Defined in Instrument.Serialize

Orphan instances