hsc3-sf-0.12: Haskell SuperCollider SoundFile

Safe HaskellNone

Sound.File.NeXT

Description

Read and write NeXT/Sun format sound files.

Synopsis

Documentation

type FrameCount = IntSource

Number of frames at Header.

type SampleRate = IntSource

Sample rate at Header.

type ChannelCount = IntSource

Number of channels at Header.

data Header Source

Data type encapsulating sound file meta data.

Instances

header :: FilePath -> IO HeaderSource

Read sound file meta data.

read :: FilePath -> IO (Header, [[Double]])Source

Read sound file, data is interleaved.

write :: FilePath -> Header -> [[Double]] -> IO ()Source

Write sound file, data is non-interleaved.