 | alsa-midi-0.3.1: Bindings for the ALSA sequencer API (MIDI stuff) | Contents | Index |
|
|
|
|
|
|
| Synopsis |
|
|
|
| Documentation |
|
| newtype T |
| Constructors | | Instances | |
|
|
| data EventDataUnion |
| Constructors | | Instances | |
|
|
| isConnect :: EventDataUnion -> Bool |
|
| isFixed :: EventDataUnion -> Bool |
|
| isNote :: EventDataUnion -> Bool |
|
| isController :: EventDataUnion -> Bool |
|
| peekEventData :: Ptr EventDataUnion -> EventType -> IO EventDataUnion |
|
| peekConnect :: Ptr EventDataUnion -> IO EventDataUnion |
|
| peekNote :: Ptr EventDataUnion -> IO EventDataUnion |
|
| peekControl :: Ptr EventDataUnion -> IO EventDataUnion |
|
| pokeEventData :: Ptr EventDataUnion -> EventDataUnion -> IO () |
|
| class TimeValue a |
| Instances | |
|
|
| data RealTime |
| Constructors | | Instances | |
|
|
| newtype TickTime |
| Constructors | | Instances | |
|
|
| data TimeUnit |
| Constructors | | Instances | |
|
|
| data TimeMode |
| Constructors | | TimeModeAbsolute | | | TimeModeRelative | |
| Instances | |
|
|
| data TimeStamp |
| Constructors | | Instances | |
|
|
| peekTimeStamp :: TimeUnit -> Ptr TimeStamp -> IO TimeStamp |
|
| pokeTimeStamp :: Ptr TimeStamp -> TimeStamp -> IO TimeUnit |
|
| newtype ClientId |
| Constructors | | Instances | |
|
|
| clientSystem :: ClientId |
| system client
|
|
| clientDummy :: ClientId |
| dummy ports
|
|
| clientOSS :: ClientId |
| OSS sequencer emulator
|
|
| newtype Port |
| Constructors | | Instances | |
|
|
| portSystemTimer :: Port |
| system timer port
|
|
| portSystemAnnounce :: Port |
| system announce port
|
|
| data Address |
| Constructors | | Instances | |
|
|
| addressTimer :: Address |
|
| newtype Queue |
| Constructors | | Instances | |
|
|
| queueDirect :: Queue |
|
| data QueueControl |
| Constructors | | Instances | |
|
|
| pokeQueueControl :: Ptr QueueControl -> QueueControl -> IO () |
|
| data EventType |
| Constructors | | EventSystem | | | EventResult | | | EventPad002 | | | EventPad003 | | | EventPad004 | | | EventNote | | | EventNoteOn | | | EventNoteOff | | | EventKeyPressure | | | EventPad009 | | | EventController | | | EventProgramChange | | | EventChannelPressure | | | EventPitchbend | | | EventControl14 | | | EventNonRegisteredParameter | | | EventRegisteredParameter | | | EventPad017 | | | EventPad018 | | | EventPad019 | | | EventSongPosition | | | EventSongSelect | | | EventQuarterFrame | | | EventTimeSign | | | EventKeySign | | | EventPad025 | | | EventPad026 | | | EventPad027 | | | EventPad028 | | | EventPad029 | | | EventStart | | | EventContinue | | | EventStop | | | EventSetPositionTick | | | EventSetPositionTime | | | EventTempo | | | EventClock | | | EventTick | | | EventQueueSkew | | | EventSyncPos | | | EventTuneRequest | | | EventReset | | | EventSensing | | | EventPad043 | | | EventPad044 | | | EventPad045 | | | EventPad046 | | | EventPad047 | | | EventPad048 | | | EventPad049 | | | EventEcho | | | EventOSS | | | EventPad052 | | | EventPad053 | | | EventPad054 | | | EventPad055 | | | EventPad056 | | | EventPad057 | | | EventPad058 | | | EventPad059 | | | EventClientStart | | | EventClientExit | | | EventClientChange | | | EventPortStart | | | EventPortExit | | | EventPortChange | | | EventPortSubscribed | | | EventPortUnsubscribed | | | EventPad068 | | | EventPad069 | | | EventSample | | | EventSampleCluster | | | EventSampleStart | | | EventSampleStop | | | EventSampleFrequency | | | EventSampleVolume | | | EventSampleLoop | | | EventSamplePosition | | | EventSamplePrivate1 | | | EventPad079 | | | EventPad080 | | | EventPad081 | | | EventPad082 | | | EventPad083 | | | EventPad084 | | | EventPad085 | | | EventPad086 | | | EventPad087 | | | EventPad088 | | | EventPad089 | | | EventUser0 | | | EventUser1 | | | EventUser2 | | | EventUser3 | | | EventUser4 | | | EventUser5 | | | EventUser6 | | | EventUser7 | | | EventUser8 | | | EventUser9 | | | EventInstrumentBegin | | | EventInstrumentEnd | | | EventInstrumentInfo | | | EventInstrumentInfoResult | | | EventInstrumentFormatInfo | | | EventInstrumentFormatInfoResult | | | EventInstrumentReset | | | EventInstrumentStatus | | | EventInstrumentStatusResult | | | EventInstrumentPut | | | EventInstrumentGet | | | EventInstrumentGetResult | | | EventInstrumentFree | | | EventInstrumentList | | | EventInstrumentListResult | | | EventInstrumentCluster | | | EventInstrumentClusterGet | | | EventInstrumentClusterResult | | | EventInstrumentChange | | | EventPad119 | | | EventPad120 | | | EventPad121 | | | EventPad122 | | | EventPad123 | | | EventPad124 | | | EventPad125 | | | EventPad126 | | | EventPad127 | | | EventPad128 | | | EventPad129 | | | EventSystemExclusive | | | EventBounce | | | EventPad132 | | | EventPad133 | | | EventPad134 | | | EventUserVar0 | | | EventUserVar1 | | | EventUserVar2 | | | EventUserVar3 | | | EventUserVar4 | |
| Instances | |
|
|
| data EventLength |
| Constructors | | EventLengthFixed | | | EventLengthVariable | | | EventLengthVariableUser | |
| Instances | |
|
|
| data Priority |
| Constructors | | PriorityNormal | | | PriorityHigh | |
| Instances | |
|
|
| data Event |
| Constructors | | Instances | |
|
|
| newtype EnumBitPos a |
|
|
| timeUnitBit :: EnumBitPos TimeUnit |
|
| timeModeBit :: EnumBitPos TimeMode |
|
| eventLengthBit :: EnumBitPos EventLength |
|
| priorityBit :: EnumBitPos Priority |
|
| newtype ReturnCode |
|
|
| check :: String -> IO ReturnCode -> IO CUInt |
|
| FFI stuff
|
|
| Error handling
|
|
| str_error :: CInt -> IO CString |
| should be in a more general ALSA module
|
|
| Sequencer
|
|
| open :: Ptr T -> CString -> OpenMode -> CUInt -> IO ReturnCode |
|
| close :: T -> IO ReturnCode |
|
| set_client_name :: T -> CString -> IO () |
|
| client_id :: T -> ClientId |
|
| event_output :: T -> Ptr Event -> IO ReturnCode |
|
| drain_output :: T -> IO ReturnCode |
|
| event_input :: T -> Ptr (Ptr Event) -> IO ReturnCode |
|
| Port
|
|
| create_simple_port :: T -> Ptr CChar -> PortCapabilitySet -> PortTypeSet -> IO ReturnCode |
|
| delete_simple_port :: T -> Port -> IO ReturnCode |
|
| Queue
|
|
| alloc_named_queue :: T -> CString -> IO ReturnCode |
|
| alloc_queue :: T -> IO ReturnCode |
|
| free_queue :: T -> Queue -> IO ReturnCode |
|
| Tempo
|
|
| newtype Tempo |
| Constructors | | Instances | |
|
|
| queue_tempo_malloc :: Ptr Tempo -> IO ReturnCode |
|
| queue_tempo_free :: Tempo -> IO () |
|
| queue_tempo_set_tempo :: Tempo -> CUInt -> IO () |
|
| queue_tempo_set_ppq :: Tempo -> CUInt -> IO () |
|
| get_queue_tempo :: T -> Queue -> Tempo -> IO ReturnCode |
|
| set_queue_tempo :: T -> Queue -> Tempo -> IO ReturnCode |
|
| type OpenMode = FlagSet CUInt Open |
|
| data |