Portability | Portable |
---|---|
Stability | Experimental |
Maintainer | George Giorgidze <http://cs.nott.ac.uk/~ggg/> |
Safe Haskell | None |
Codec.Midi
Description
Reading, writing and maniplating of standard MIDI files
Documentation
Constructors
SingleTrack | |
MultiTrack | |
MultiPattern |
Constructors
TicksPerBeat Int | |
TicksPerSecond Int Int |
Constructors
NoteOff | |
NoteOn | |
KeyPressure | |
ControlChange | |
Fields
| |
ProgramChange | |
ChannelPressure | |
PitchWheel | |
Fields
| |
SequenceNumber !Int | |
Text !String | |
Copyright !String | |
TrackName !String | |
InstrumentName !String | |
Lyrics !String | |
Marker !String | |
CuePoint !String | |
ChannelPrefix !Channel | |
ProgramName !String | |
DeviceName !String | |
TrackEnd | |
TempoChange !Tempo | |
SMPTEOffset !Int !Int !Int !Int !Int | |
TimeSignature !Int !Int !Int !Int | |
KeySignature !Int !Int | |
Reserved !Int !ByteString | |
Sysex !Int !ByteString |
type PitchWheel = IntSource
isKeyPressure :: Message -> BoolSource
isControlChange :: Message -> BoolSource
isProgramChange :: Message -> BoolSource
isPitchWheel :: Message -> BoolSource
isMetaMessage :: Message -> BoolSource
isSysexMessage :: Message -> BoolSource
isTrackEnd :: Message -> BoolSource
removeTrackEnds :: Track a -> Track aSource
toSingleTrack :: Midi -> MidiSource
fromAbsTime :: Num a => Track a -> Track aSource
exportFile :: FilePath -> Midi -> IO ()Source
parseTrack :: Parser (Track Ticks)Source
buildTrack :: Track Ticks -> BuilderSource
parseMessage :: Maybe Message -> Parser MessageSource
buildMessage :: Message -> BuilderSource