PortMidi-0.1.6.1: A binding for PortMedia/PortMidi

Safe HaskellNone
LanguageHaskell98

Sound.PortMidi

Contents

Description

Interface to PortMidi

Synopsis

Data Types

type PMStream = ForeignPtr PortMidiStream #

type DeviceID = Int #

data PMMsg #

Constructors

PMMsg 

Fields

Instances

Eq PMMsg # 

Methods

(==) :: PMMsg -> PMMsg -> Bool #

(/=) :: PMMsg -> PMMsg -> Bool #

Show PMMsg # 

Methods

showsPrec :: Int -> PMMsg -> ShowS #

show :: PMMsg -> String #

showList :: [PMMsg] -> ShowS #

data PMEvent #

Constructors

PMEvent 

Fields

Constants

PortMid functions

writeSysEx :: PMStream -> Timestamp -> String -> IO PMError #

Time function

time :: IO Timestamp #