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 #
data MidiMessage Source #
Instances
Show MidiMessage Source # | |
Defined in Euterpea.IO.MIDI.MidiIO Methods showsPrec :: Int -> MidiMessage -> ShowS # show :: MidiMessage -> String # showList :: [MidiMessage] -> ShowS # | |
NFData MidiMessage Source # | |
Defined in Euterpea.IO.MIDI.Play Methods rnf :: MidiMessage -> () # |
getTimeNow :: IO Time Source #
data DeviceInfo #
Constructors
DeviceInfo | |
Instances
Eq DeviceInfo | |
Defined in Sound.PortMidi.DeviceInfo | |
Show DeviceInfo | |
Defined in Sound.PortMidi.DeviceInfo Methods showsPrec :: Int -> DeviceInfo -> ShowS # show :: DeviceInfo -> String # showList :: [DeviceInfo] -> ShowS # |
data InputDeviceID Source #
Instances
Eq InputDeviceID Source # | |
Defined in Euterpea.IO.MIDI.MidiIO Methods (==) :: InputDeviceID -> InputDeviceID -> Bool # (/=) :: InputDeviceID -> InputDeviceID -> Bool # | |
Show InputDeviceID Source # | |
Defined in Euterpea.IO.MIDI.MidiIO Methods showsPrec :: Int -> InputDeviceID -> ShowS # show :: InputDeviceID -> String # showList :: [InputDeviceID] -> ShowS # | |
NFData InputDeviceID Source # | |
Defined in Euterpea.IO.MIDI.MidiIO Methods rnf :: InputDeviceID -> () # |
data OutputDeviceID Source #
Instances
Eq OutputDeviceID Source # | |
Defined in Euterpea.IO.MIDI.MidiIO Methods (==) :: OutputDeviceID -> OutputDeviceID -> Bool # (/=) :: OutputDeviceID -> OutputDeviceID -> Bool # | |
Show OutputDeviceID Source # | |
Defined in Euterpea.IO.MIDI.MidiIO Methods showsPrec :: Int -> OutputDeviceID -> ShowS # show :: OutputDeviceID -> String # showList :: [OutputDeviceID] -> ShowS # | |
NFData OutputDeviceID Source # | |
Defined in Euterpea.IO.MIDI.MidiIO Methods rnf :: OutputDeviceID -> () # |
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 #
unsafeOutputID :: Int -> OutputDeviceID Source #