synthesizer-0.0.3: Audio signal processing coded in HaskellSource codeContentsIndex
Sox.Play
Synopsis
autoR :: (C a, C v) => a -> (a -> [v]) -> IO ()
monoR :: C a => a -> (a -> [a]) -> IO ()
stereoR :: C a => a -> (a -> [(a, a)]) -> IO ()
auto :: (C a, C v) => a -> [v] -> IO ()
mono :: C a => a -> [a] -> IO ()
stereo :: C a => a -> [(a, a)] -> IO ()
catchCtrlC :: IO Handler
raw :: C a => [String] -> a -> Int -> [Int] -> IO ()
example :: IO ()
Documentation
autoR :: (C a, C v) => a -> (a -> [v]) -> IO ()Source
monoR :: C a => a -> (a -> [a]) -> IO ()Source
stereoR :: C a => a -> (a -> [(a, a)]) -> IO ()Source
auto :: (C a, C v) => a -> [v] -> IO ()Source
mono :: C a => a -> [a] -> IO ()Source
stereo :: C a => a -> [(a, a)] -> IO ()Source
catchCtrlC :: IO HandlerSource

Disable sigPIPE. This means that the whole program won't crash when the tool exits. Unfortunately there doesn't seem to be another way of doing this.

If we don't call this, GHCi quits, when the playing command is aborted with CTRL-C.

raw :: C a => [String] -> a -> Int -> [Int] -> IO ()Source
This routine is probably portable if there were not the CTRL-C problem.
example :: IO ()Source
Produced by Haddock version 2.3.0