Util.Audio.AudioT
Description
Split some types out of Audio, to reduce dependencies.
newtype Frames Source #
Should be >=0.
Constructors
Defined in Util.Audio.AudioT
Methods
succ :: Frames -> Frames #
pred :: Frames -> Frames #
toEnum :: Int -> Frames #
fromEnum :: Frames -> Int #
enumFrom :: Frames -> [Frames] #
enumFromThen :: Frames -> Frames -> [Frames] #
enumFromTo :: Frames -> Frames -> [Frames] #
enumFromThenTo :: Frames -> Frames -> Frames -> [Frames] #
(+) :: Frames -> Frames -> Frames #
(-) :: Frames -> Frames -> Frames #
(*) :: Frames -> Frames -> Frames #
negate :: Frames -> Frames #
abs :: Frames -> Frames #
signum :: Frames -> Frames #
fromInteger :: Integer -> Frames #
quot :: Frames -> Frames -> Frames #
rem :: Frames -> Frames -> Frames #
div :: Frames -> Frames -> Frames #
mod :: Frames -> Frames -> Frames #
quotRem :: Frames -> Frames -> (Frames, Frames) #
divMod :: Frames -> Frames -> (Frames, Frames) #
toInteger :: Frames -> Integer #
toRational :: Frames -> Rational #
showsPrec :: Int -> Frames -> ShowS #
show :: Frames -> String #
showList :: [Frames] -> ShowS #
(==) :: Frames -> Frames -> Bool #
(/=) :: Frames -> Frames -> Bool #
compare :: Frames -> Frames -> Ordering #
(<) :: Frames -> Frames -> Bool #
(<=) :: Frames -> Frames -> Bool #
(>) :: Frames -> Frames -> Bool #
(>=) :: Frames -> Frames -> Bool #
max :: Frames -> Frames -> Frames #
min :: Frames -> Frames -> Frames #
pretty :: Frames -> Text Source #
format :: Frames -> Doc Source #
formatList :: [Frames] -> Doc Source #
put :: Putter Frames Source #
get :: Serialize.Get Frames Source #
type Rate = Int Source #
type Seconds = Double Source #
framesToSeconds :: Rate -> Frames -> Seconds Source #