hsc3-sf-0.7: Haskell SuperCollider SoundFile

Sound.File.NeXT

Description

Read and write NeXT/Sun format sound files.

Synopsis

Documentation

data Header Source

Data type encapsulating sound file meta data.

Constructors

Header 

Fields

frameCount :: FrameCount
 
encoding :: Encoding
 
sampleRate :: SampleRate
 
channelCount :: ChannelCount
 

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.

sizeOf :: Encoding -> IntSource

Bytes per sample at specified encoding.