| Safe Haskell | None |
|---|
Euterpea.IO.MIDI
Documentation
fromMidi :: Midi -> (Music1, Context (Pitch, [NoteAttribute]), UserPatchMap)Source
module Euterpea.IO.MIDI.GeneralMidi
defaultOutput :: (OutputDeviceID -> a -> IO b) -> a -> IO bSource
defaultInput :: (InputDeviceID -> a -> IO b) -> a -> IO bSource
playMidi :: OutputDeviceID -> Midi -> IO ()Source
data MidiMessage Source
Instances
| Show MidiMessage | |
| NFData MidiMessage |
data Message
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 | |
data OutputDeviceID Source
Instances
| Eq OutputDeviceID | |
| Show OutputDeviceID | |
| NFData OutputDeviceID |
data InputDeviceID Source
Instances
| Eq InputDeviceID | |
| Show InputDeviceID | |
| NFData InputDeviceID |
module Euterpea.IO.MIDI.ToMidi