Karya, built on 2018-05-31T02:46:59 (patch 0a1a35479c514820d77330ae8a978975ba22a47a)

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