org.jcodec.common.tools.WavMerge Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jcodec Show documentation
Show all versions of jcodec Show documentation
Pure Java implementation of video/audio codecs and formats
package org.jcodec.common.tools;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
import org.jcodec.codecs.wav.WavHeader;
import org.jcodec.common.IOUtils;
/**
* This class is part of JCodec ( www.jcodec.org ) This software is distributed
* under FreeBSD License
*
* Interleaves 2 or more single channel wave files into a multichannel wav
*
* @author The JCodec project
*
*/
public class WavMerge {
public static void main(String[] args) throws Exception {
if (args.length < 3) {
System.out.println("wavmerge