sox-0.1: Play, write, read, convert audio signals using SoxSource codeContentsIndex
Sound.Sox.Write
Synopsis
simple :: C y => (Handle -> sig y -> IO ()) -> T -> FilePath -> Int -> sig y -> IO ExitCode
extended :: C y => (Handle -> sig y -> IO ()) -> T -> T -> FilePath -> Int -> sig y -> IO ExitCode
Documentation
simpleSource
:: C y
=> Handle -> sig y -> IO ()Writer routine - e.g. Sound.Sox.Signal.List.put or Data.StorableVector.hPut
-> T
-> FilePath
-> Intsample rate
-> sig y
-> IO ExitCode

Sox determines the output format from the filename extension or from format. Make sure that you provide one of them.

 :load Sound.Sox.Write Sound.Sox.Signal.List

 simple Sound.Sox.Signal.List.put Option.none "test.aiff" 11025 (take 100 $ iterate (1000+) (0::Data.Int.Int16))
extendedSource
:: C y
=> Handle -> sig y -> IO ()Writer routine - e.g. Sound.Sox.Signal.List.put or Data.StorableVector.hPut
-> Tsource options, usually none
-> Ttarget options
-> FilePath
-> Intsample rate
-> sig y
-> IO ExitCode
Produced by Haddock version 2.4.2