hosc-0.2: Haskell Open Sound Control




type UTC = DoubleSource

UTC time is represented as a real number.

utc :: IO UTCSource

Read current UTC timestamp.

type NTP = IntegerSource

NTP time is represented as an integer.

ntp :: IO NTPSource

Read current NTP timestamp.

ntpr_ntp :: Double -> NTPSource

Convert a real-valued NTP timestamp to an NTP timestamp.

utc_ntp :: UTC -> NTPSource

Convert UTC timestamp to NTP timestamp.