Karya, built on 2022-03-21T01:30:44 (patch 89d1651424c35e564138d93424a157ff87457245)
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 #