Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data AbletonLinkImpl
- data SessionStateImpl
- newtype AbletonLink = AbletonLink (Ptr AbletonLinkImpl)
- newtype SessionState = SessionState (Ptr SessionStateImpl)
- type Beat = CDouble
- type BPM = CDouble
- type Micros = Int64
- type Quantum = CDouble
- create :: BPM -> IO AbletonLink
- abl_link_enable :: AbletonLink -> CBool -> IO ()
- setEnabled :: Bool -> AbletonLink -> IO ()
- enable :: AbletonLink -> IO ()
- disable :: AbletonLink -> IO ()
- createSessionState :: IO SessionState
- captureAppSessionState :: AbletonLink -> SessionState -> IO ()
- createAndCaptureAppSessionState :: AbletonLink -> IO SessionState
- commitAppSessionState :: AbletonLink -> SessionState -> IO ()
- destroySessionState :: SessionState -> IO ()
- commitAndDestroyAppSessionState :: AbletonLink -> SessionState -> IO ()
- clock :: AbletonLink -> IO Micros
- beatAtTime :: SessionState -> Micros -> Quantum -> IO Beat
- timeAtBeat :: SessionState -> Beat -> Quantum -> IO Micros
- getTempo :: SessionState -> IO BPM
- setTempo :: SessionState -> BPM -> Micros -> IO ()
- requestBeatAtTime :: SessionState -> Beat -> Micros -> Quantum -> IO ()
- forceBeatAtTime :: SessionState -> Beat -> Micros -> Quantum -> IO ()
- hello :: IO ()
Documentation
data AbletonLinkImpl Source #
data SessionStateImpl Source #
newtype AbletonLink Source #
Instances
Storable AbletonLink Source # | |
Defined in Sound.Tidal.Link sizeOf :: AbletonLink -> Int # alignment :: AbletonLink -> Int # peekElemOff :: Ptr AbletonLink -> Int -> IO AbletonLink # pokeElemOff :: Ptr AbletonLink -> Int -> AbletonLink -> IO () # peekByteOff :: Ptr b -> Int -> IO AbletonLink # pokeByteOff :: Ptr b -> Int -> AbletonLink -> IO () # peek :: Ptr AbletonLink -> IO AbletonLink # poke :: Ptr AbletonLink -> AbletonLink -> IO () # | |
Show AbletonLink Source # | |
Defined in Sound.Tidal.Link showsPrec :: Int -> AbletonLink -> ShowS # show :: AbletonLink -> String # showList :: [AbletonLink] -> ShowS # |
newtype SessionState Source #
Instances
Storable SessionState Source # | |
Defined in Sound.Tidal.Link sizeOf :: SessionState -> Int # alignment :: SessionState -> Int # peekElemOff :: Ptr SessionState -> Int -> IO SessionState # pokeElemOff :: Ptr SessionState -> Int -> SessionState -> IO () # peekByteOff :: Ptr b -> Int -> IO SessionState # pokeByteOff :: Ptr b -> Int -> SessionState -> IO () # peek :: Ptr SessionState -> IO SessionState # poke :: Ptr SessionState -> SessionState -> IO () # | |
Show SessionState Source # | |
Defined in Sound.Tidal.Link showsPrec :: Int -> SessionState -> ShowS # show :: SessionState -> String # showList :: [SessionState] -> ShowS # |
abl_link_enable :: AbletonLink -> CBool -> IO () Source #
setEnabled :: Bool -> AbletonLink -> IO () Source #
enable :: AbletonLink -> IO () Source #
disable :: AbletonLink -> IO () Source #
captureAppSessionState :: AbletonLink -> SessionState -> IO () Source #
commitAppSessionState :: AbletonLink -> SessionState -> IO () Source #
destroySessionState :: SessionState -> IO () Source #
commitAndDestroyAppSessionState :: AbletonLink -> SessionState -> IO () Source #
beatAtTime :: SessionState -> Micros -> Quantum -> IO Beat Source #
timeAtBeat :: SessionState -> Beat -> Quantum -> IO Micros Source #
requestBeatAtTime :: SessionState -> Beat -> Micros -> Quantum -> IO () Source #
forceBeatAtTime :: SessionState -> Beat -> Micros -> Quantum -> IO () Source #