synthesizer-core-0.8.2: Audio signal processing coded in Haskell: Low level part

Safe HaskellNone
LanguageHaskell2010

Synthesizer.Plain.IO

Description

Deprecated: Use Sound.Sox.Signal.List instead.

This is old code, handling Int16 using two characters.

Synopsis

Documentation

writeInt16Stream :: FilePath -> [Int16] -> IO () Source #

Uses endianess of the machine, like Sox does.

readInt16StreamStrict :: FilePath -> IO [Int16] Source #

The end of the list is undefined, if the file has odd length. It would be better if it throws an exception.

writeLEInt16Stream :: FilePath -> [Int16] -> IO () Source #

Write a little endian 16 bit integer stream via String data and writeFile.

readLEInt16Stream :: FilePath -> IO [Int16] Source #

The end of the list is undefined, if the file has odd length. It would be better if it throws an exception.