Karya, built on 2023-08-29T07:47:28 (patch 7a412d5d6ba4968ca4155ef276a062ccdeb9109a)
Safe HaskellSafe-Inferred

Util.Audio.PortAudio

Contents

Description

Wrapper around PortAudio. This only supports output.

Synopsis

Documentation

initialize :: IO a -> IO a Source #

play :: forall rate chan. (KnownNat rate, KnownNat chan) => IO Bool -> Device -> Audio.AudioIO rate chan -> Resource.ResourceT IO () Source #

Device

data Device Source #

Constructors

Device 

Instances

Instances details
Show Device Source # 
Instance details

Defined in Util.Audio.PortAudio

Error

data Error Source #

Instances

Instances details
Enum Error Source # 
Instance details

Defined in Util.Audio.PortAudio

Exception.Exception Error Source # 
Instance details

Defined in Util.Audio.PortAudio

Show Error Source # 
Instance details

Defined in Util.Audio.PortAudio

Methods

showsPrec :: Int -> Error -> ShowS #

show :: Error -> String #

showList :: [Error] -> ShowS #

Eq Error Source # 
Instance details

Defined in Util.Audio.PortAudio

Methods

(==) :: Error -> Error -> Bool #

(/=) :: Error -> Error -> Bool #

Ord Error Source # 
Instance details

Defined in Util.Audio.PortAudio

Methods

compare :: Error -> Error -> Ordering #

(<) :: Error -> Error -> Bool #

(<=) :: Error -> Error -> Bool #

(>) :: Error -> Error -> Bool #

(>=) :: Error -> Error -> Bool #

max :: Error -> Error -> Error #

min :: Error -> Error -> Error #