annotate src/libsndfile-1.0.27/man/sndfile-interleave.1 @ 127:7867fa7e1b6b

Current fftw source
author Chris Cannam <cannam@all-day-breakfast.com>
date Tue, 18 Oct 2016 13:40:26 +0100
parents cd6cdf86811e
children
rev   line source
cannam@125 1 .Dd November 2, 2014
cannam@125 2 .Dt SNDFILE-INTERLEAVE 1
cannam@125 3 .Os
cannam@125 4 .Sh NAME
cannam@125 5 .Nm sndfile-interleave ,
cannam@125 6 .Nm sndfile-deinterleave
cannam@125 7 .Nd convert mono files into a multi-channel file and vice versa
cannam@125 8 .Sh SYNOPSIS
cannam@125 9 .Nm sndfile-interleave
cannam@125 10 .Ar input1
cannam@125 11 .Ar input2
cannam@125 12 .Ar ...
cannam@125 13 .Fl o Ar output
cannam@125 14 .Nm sndfile-deinterleave
cannam@125 15 .Ar file
cannam@125 16 .Sh DESCRIPTION
cannam@125 17 .Nm sndfile-interleave
cannam@125 18 creates a multi-channel file taking audio data
cannam@125 19 from two or more mono files as individual channels.
cannam@125 20 The format of the output file is determined by its filename suffix.
cannam@125 21 The audio parameters of the output file will be made so that
cannam@125 22 the format can accommodate each of the mono inputs;
cannam@125 23 for example, the samplerate will be the maximal samplerate
cannam@125 24 occuring in the inputs.
cannam@125 25 The output file will be overwritten if it already exists.
cannam@125 26 .Pp
cannam@125 27 .Nm sndfile-deinterleave
cannam@125 28 creates two or more mono files from a multi-channel audio file,
cannam@125 29 containing data from the individual channels. The names of the
cannam@125 30 resulting mono files are of the form
cannam@125 31 .Dq name_XY.suf
cannam@125 32 where
cannam@125 33 .Em name
cannam@125 34 and
cannam@125 35 .Em suf
cannam@125 36 are the basename and suffix of the original file.
cannam@125 37 If any file of such name already exists, it will be overwritten.
cannam@125 38 Apart from the number of channels,
cannam@125 39 the audio format of the resulting mono files
cannam@125 40 is the same as that of the original file.
cannam@125 41 .Sh EXIT STATUS
cannam@125 42 .Ex -std
cannam@125 43 .Sh EXAMPLES
cannam@125 44 Merge a mono OGG file and a mono FLAC file into a stereo WAV file:
cannam@125 45 .Bd -literal -offset indent
cannam@125 46 $ sndfile-interleave left.ogg right.flac -o stereo.wav
cannam@125 47 .Ed
cannam@125 48 .Pp
cannam@125 49 Split a multi-channel into individual mono files:
cannam@125 50 .Bd -literal -offset indent
cannam@125 51 $ sndfile-deinterleave multi.wav
cannam@125 52 Input file : multi
cannam@125 53 Output files :
cannam@125 54 multi_00.wav
cannam@125 55 multi_01.wav
cannam@125 56 multi_02.wav
cannam@125 57 multi_03.wav
cannam@125 58 .Ed
cannam@125 59 .Sh SEE ALSO
cannam@125 60 .Lk http://www.mega-nerd.com/libsndfile/
cannam@125 61 .Sh AUTHORS
cannam@125 62 .An Erik de Castro Lopo Aq Mt erikd@mega-nerd.com