mctooLAMEd mpeg 2 layer 2 multi-channel audio DEcoder

Copyright (C) 2003 Michael Cheng [mikecheng at NOT planckenergy com] remove the NOT http://www.planckenergy.com/

Contents

  • LGPL
  • Introduction
  • Usage
  • Examples
  • Contributors
  • References

LGPL

All changes to the ISO source are licensed under the LGPL  
(see LGPL.txt for details)

mctooLAMEd is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

mctooLAMEd is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with mctooLAMEd; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

Introduction

mctooLAMEd is an Mpeg 2 Layer 2 Multi-Channel audio DEcoder. It is based heavily on
  • the ISO dist10 code
  • toolame
  • work by myself and other contributors (see CONTRIBUTORS)
This release is alpha-ish. It should produce valid mpeg streams from 5-channel or 6-channel AIFF files.

History

See history

Installation

  1. edit Makefile (at least change the architecture type [ARCH] to suit your machine)
  2. 'make'

Usage

         ./mctoolamed [options] [input file] [output file]

Input File
        A layerII mpeg audio file. 

Input Options
        (run mctooLAMEd without args for a full list)

Output File
        Outputs: A multichannel AIFF file
                 A wav file for each channel (called left.wav, right.wav etc)

Examples

Don't get too fancy for the time being.
	mctoolamed sound.mp2
If "sound.mp2" was a 5.1 mpeg audio file, you should get a "sound.aiff" as well as "left.wav", "right.wav", "centre.wav", "lfe.wav", "left_surround.wav", "right_surround.wav".

The WAVE file support was hacked in for my sanity (since I don't have anything to directly play multi-channel AIFFs), and only works properly for 44.1kHz.

To Do

  • Fix audio output handling.
  • Add support for more common audio file outputs? multi-channel wave?

Contributors

  • Mainly just me.

[mikecheng at NOT planckenergy com] remove the NOT