1 .\" Copyright (c) 1997 Andreas Klemm <andreas@FreeBSD.org>. Neuss.
2 .\" All rights reserved.
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\" notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\" notice, this list of conditions and the following disclaimer in the
11 .\" documentation and/or other materials provided with the distribution.
13 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 .\" $FreeBSD: ports/audio/mpegaudio/files/mpeg_musicout.1,v 1.2 1999/08/29 10:56:51 peter Exp $
31 .Nd MPEG/audio Layer 1 and Layer 2 encoder
34 queries for all arguments, or
46 The encoder and decoder software are configured to output
47 the coded audio bitstreams as a string of hexadecimal ascii
48 characters. For greater compression efficiency, compile flag,
49 BS_FORMAT, in common.h can be switched to configure the bitstream
50 reading and writing routines to process raw binary bitstreams.
52 The decoder program has a very crude implementation of bitstream
53 synchword detection. It may not be able to correctly decode valid
54 bitstreams which have false synchword patterns in the ancillary data
55 portion of the bitstream.
57 The software implements levels I and II and psychophysical auditory
58 models I and II as described in the ISO 3-11171 rev 1 standard.
59 There are future plans to implement level III.
61 The input/output audio data may either be headerless raw 16 bit data
62 or alternatively an AIFF formatted file (Audio Interchange File Format)
63 with certain limitations.
65 For more information on the AIFF format see the postscript file
66 /sgi/aiff-c.9.26.91.ps at the anonymous ftp site FTP.SGI.COM
69 The AIFF formatted file is a convenient way for storing sampling rate
72 The encoder and decoder software are configured to output the coded
73 audio bitstreams as a string of hexadecimal ascii characters.
74 For greater compression efficiency, compile flag, BS_FORMAT,
75 in common.h can be switched to configure the bitstream reading
76 and writing routines to process raw binary bitstreams.
78 This software has been run and verified on a large variety of
79 computers and operating systems. In particular UNIX, MS_DOS (with
80 MicroSoft C version 6), Macintosh, AIX Platform (RS6000) and Convex.
84 write an AIFF output PCM sound file
86 resynth only up to this sb (debugging only)
88 input bit stream of encoded audio
90 output PCM sound file (dflt inName+.dec)
94 Written by Andreas Klemm, August 17, 1997