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