NAME MultiPlay -- Plays multiple audio files without gaps inbetween. SYNOPSIS MultiPlay FILES/M/A MultiPlay file1 file2 file3 ... FUNCTION Plays multiple audio files one by one in order of arguments. Arguments are paths to files, absolute or relative. Decoded audio streams are gaplessly joined assuming all specified files have the same sampling rate and number of audio channels (file format does not matter). If a file has different sampling rate or number of channels, MultiPlay exits. Files which are not recognized as audio by Reggae are skipped. Playback can be stopped at any time by sending CTRL-C signal to the console with just CTRL+C keys or some program. INPUTS FILES - list of files to play RESULT 0 (OK) - success 5 (WARN) - encountered file with not matching sampling rate or number of channels 10 (ERROR) - missing system library, out of memory NOTES Most lossy formats (for example MPEG Audio aka MP3) cannot provide really gapless joins, as encoder introduces lead-in and lead-out time and short distortions when encoded stream does not start or end with silence. HISTORY 1.0 (03.04.2012) - First release. AUTHOR Grzegorz Kraszewski krashan@teleinfo.pb.edu.pl http://krashan.ppa.pl LICENSE Copyright (c) 2013, Grzegorz Kraszewski All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * The name of Grzegorz Kraszewski cannot be used to endorse or promote products derived from this software without specific prior written permission. This software is provided by Grzegorz Kraszewski "as is" and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall Grzegorz Kraszewski be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.