Sound.Sox.Write
Documentation
Arguments
| :: C y | |
| => (Handle -> sig y -> IO ()) | Writer routine -
e.g. |
| -> T | |
| -> FilePath | |
| -> Int | sample 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))