Sound.MIDI.File.Load
Description
Loading MIDI Files
This module loads and parses a MIDI File.
It can convert it into a T
data type object or
simply print out the contents of the file.
- fromFile :: FilePath -> IO T
- fromStream :: ByteString -> T
- maybeFromStream :: ByteString -> Either String (T, ByteString)
- maybeEventFromStream :: ByteString -> Either String (Event, ByteString)
- showFile :: FilePath -> IO ()
Documentation
fromStream :: ByteString -> TSource
maybeFromStream :: ByteString -> Either String (T, ByteString)Source