hsc3-sf-0.14: Haskell SuperCollider SoundFile

Safe HaskellNone

Sound.File.Encode

Description

Encode audio data.

Synopsis

Documentation

interleave :: [[a]] -> [a]Source

Interleave channel data, ie. concat . transpose.

 interleave [[0,2..8],[1,3..9]] == [0,1,2,3,4,5,6,7,8,9]

encode :: (Real n, Floating n) => Encoding -> [[n]] -> ByteStringSource

Given Encoding and a set of channels, interleave and encode as ByteString.