Module
Data.Midi
- Package
- purescript-midi
- Repository
- newlandsvalley/purescript-midi
Data structures used by the MIDI parser and by Web MIDI.
#Event Source
data EventA Midi Event.
Note that RunningStatus messages are not included within Event because the parser translates them to the underlying channel messages
Constructors
SequenceNumber IntText StringCopyright StringTrackName StringInstrumentName StringLyrics StringMarker StringCuePoint StringChannelPrefix IntTempo IntSMPTEOffset Int Int Int Int IntTimeSignature Int Int Int IntKeySignature Int IntSequencerSpecific (List Byte)SysEx SysExFlavour (List Byte)Unspecified Int (List Byte)NoteOn Channel Note VelocityNoteOff Channel Note VelocityNoteAfterTouch Channel Note VelocityControlChange Channel Int IntProgramChange Channel IntChannelAfterTouch Channel VelocityPitchBend Channel Int
Instances
#TimedEvent Source
newtype TimedEventa timestamped parsed MIDI Event message for use with Web MIDI
Constructors
TimedEvent { event :: Maybe Event, timeStamp :: Number }
Instances
#SysExFlavour Source
data SysExFlavourSystem exclusive messages exist in two different flavours as introduced by a lead-in byte of 0xF0 or 0xF7. See the MIDI specification page 135.