Safe Haskell | None |
---|---|
Language | Haskell98 |
Interface to PortMidi
- data PMError
- type PMStream = ForeignPtr PortMidiStream
- data DeviceInfo = DeviceInfo {}
- type DeviceID = Int
- data PMMsg = PMMsg {}
- data PMEvent = PMEvent {}
- filterActive :: CLong
- filterSysex :: CLong
- filterClock :: CLong
- filterPlay :: CLong
- filterTick :: CLong
- filterFD :: CLong
- filterUndefined :: CLong
- filterReset :: CLong
- filterRealtime :: CLong
- filterNote :: CLong
- filterChannelAftertouch :: CLong
- filterPolyAftertouch :: CLong
- filterAftertouch :: CLong
- filterProgram :: CLong
- filterControl :: CLong
- filterPitchBend :: CLong
- filterMTC :: CLong
- filterSongPosition :: CLong
- filterSongSelect :: CLong
- filterTune :: CLong
- filterSystemCommon :: CLong
- initialize :: IO PMError
- terminate :: IO PMError
- hasHostError :: PMStream -> IO Bool
- getErrorText :: PMError -> IO String
- countDevices :: IO DeviceID
- getDefaultInputDeviceID :: IO (Maybe DeviceID)
- getDefaultOutputDeviceID :: IO (Maybe DeviceID)
- getDeviceInfo :: DeviceID -> IO DeviceInfo
- openInput :: DeviceID -> IO (Either PMStream PMError)
- openOutput :: DeviceID -> Int -> IO (Either PMStream PMError)
- setFilter :: PMStream -> CLong -> IO PMError
- channel :: Int -> CLong
- setChannelMask :: PMStream -> CLong -> IO PMError
- abort :: PMStream -> IO PMError
- close :: PMStream -> IO PMError
- readEvents :: PMStream -> IO (Either [PMEvent] PMError)
- writeEvents :: PMStream -> [PMEvent] -> IO PMError
- writeShort :: PMStream -> PMEvent -> IO PMError
- writeSysEx :: PMStream -> Timestamp -> String -> IO PMError
- time :: IO Timestamp
- encodeMsg :: PMMsg -> CLong
- decodeMsg :: CLong -> PMMsg
Data Types
type PMStream = ForeignPtr PortMidiStream Source #
data DeviceInfo Source #
Constants
filterActive :: CLong Source #
filterSysex :: CLong Source #
filterClock :: CLong Source #
filterPlay :: CLong Source #
filterTick :: CLong Source #
filterReset :: CLong Source #
filterNote :: CLong Source #
filterTune :: CLong Source #
PortMid functions
initialize :: IO PMError Source #
getDeviceInfo :: DeviceID -> IO DeviceInfo Source #