sox-0.2.3.1: Play, write, read, convert audio signals using Sox

Safe HaskellSafe
LanguageHaskell98

Sound.Sox.Information

Description

This module calls the soxi command which is available since sox version 14.

We have to call soxi for every option. However we hide this in our interface, such that we could do more efficiently, if soxi supports multiple outputs in future.

Documentation

newtype T a Source #

Constructors

Cons (ReaderT FilePath IO a) 
Instances
Functor T Source # 
Instance details

Defined in Sound.Sox.Information

Methods

fmap :: (a -> b) -> T a -> T b #

(<$) :: a -> T b -> T a #

Applicative T Source # 
Instance details

Defined in Sound.Sox.Information

Methods

pure :: a -> T a #

(<*>) :: T (a -> b) -> T a -> T b #

liftA2 :: (a -> b -> c) -> T a -> T b -> T c #

(*>) :: T a -> T b -> T b #

(<*) :: T a -> T b -> T a #

simple :: Read a => (String -> Maybe a) -> String -> T a Source #

get :: T a -> FilePath -> IO a Source #