Class AudioConcat


  • public final class AudioConcat
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.io.ByteArrayOutputStream concat​(java.io.File... files)
      Return byte array of concatened audio files
      static java.io.ByteArrayOutputStream concat​(java.util.List<javax.sound.sampled.AudioInputStream> audioInputStreamList, javax.sound.sampled.AudioFormat audioFormat)
      Return byte array of concatened stream list.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • concat

        public static java.io.ByteArrayOutputStream concat​(java.io.File... files)
        Return byte array of concatened audio files
        Parameters:
        files - to cancatenate
        Returns:
        byte array of concatened audio files
      • concat

        public static java.io.ByteArrayOutputStream concat​(java.util.List<javax.sound.sampled.AudioInputStream> audioInputStreamList,
                                                           javax.sound.sampled.AudioFormat audioFormat)
        Return byte array of concatened stream list.
        Parameters:
        audioInputStreamList - the list to contatenate
        audioFormat - the result format
        Returns:
        byte array of concatened stream list.