hosc-0.5: Haskell Open Sound Control




coerce :: (Datum -> Datum) -> OSC -> OSCSource

Map a normalizing function over datum at an osc packet.

f_to_d :: Datum -> DatumSource

Coerce Float to Double.

if_to_d :: Datum -> DatumSource

Coerce Int and Float to Double.

fd_to_i :: Datum -> DatumSource

Coerce Float and Double to Int.

normalize :: OSC -> OSCSource

A normalized osc packet has only Int and Double numerical values.