Karya, built on Mon Jul 24 11:39:07 PDT 2017 (patch 33511aca01257b76b88de7c7a2763b7a965c084e)

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