midi-simple-0.1.0.0: A simple and fast library for working with MIDI messages

Safe HaskellSafe
LanguageHaskell2010

Sound.MIDI.Parser

Description

Parsers for MidiMessage and its components, implemented as Attoparsec parsers. See Data.Attoparsec.ByteString for how to run them. In most common use cases, the decodeMidi function in Sound.MIDI should suffice.

Synopsis

Documentation

pitch :: Parser Pitch Source #

Parse a Pitch, no check for bit 7 is performed!

patch :: Parser Patch Source #

Parse a Pitch, no check for bit 7 is performed!

velocity :: Parser Velocity Source #

Parse a Velocity, no check for bit 7 is performed!

touch :: Parser Touch Source #

Parse a Touch, no check for bit 7 is performed!

controller :: Parser Controller Source #

Parse a Controller, no check for bit 7 is performed!