Karya, built on 2018-02-23T20:23:55 (patch cf8565b7ac832266878af99a942555d139065f12)

Safe HaskellNone

Instrument.Serialize

Contents

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.

Orphan instances