Safe Haskell | None |
---|---|
Language | Haskell98 |
Euterpea.IO.MIDI.MidiIO
Documentation
getAllDevices :: IO ([(InputDeviceID, DeviceInfo)], [(OutputDeviceID, DeviceInfo)]) Source
terminateMidi :: IO () Source
initializeMidi :: IO () Source
outputMidi :: OutputDeviceID -> IO () Source
deliverMidiEvent :: OutputDeviceID -> MidiEvent -> IO () Source
defaultOutput :: (OutputDeviceID -> a -> IO b) -> a -> IO b Source
defaultInput :: (InputDeviceID -> a -> IO b) -> a -> IO b Source
playMidi :: OutputDeviceID -> Midi -> IO () Source
data MidiMessage Source
Instances
getTimeNow :: IO Time Source
data InputDeviceID Source
Instances
data OutputDeviceID Source
Instances
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 |
unsafeInputID :: Int -> InputDeviceID Source