Class AudiofileEditor


  • public class AudiofileEditor
    extends java.lang.Object
    Command line tool to edit audio streams.
    Author:
    K.Jaensch, klausj@phonetik.uni-muenchen.de
    • Constructor Summary

      Constructors 
      Constructor Description
      AudiofileEditor​(javax.sound.sampled.AudioInputStream ais)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.sound.sampled.AudioInputStream append​(javax.sound.sampled.AudioInputStream ais2)  
      javax.sound.sampled.AudioInputStream cut​(long from, long length)  
      javax.sound.sampled.AudioInputStream cut​(Selection s)  
      javax.sound.sampled.AudioInputStream cutFromEnd​(long toCutFromEnd)  
      static void main​(java.lang.String[] args)  
      javax.sound.sampled.AudioInputStream shorten​(long toCut)  
      • Methods inherited from class java.lang.Object

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

      • cut

        public javax.sound.sampled.AudioInputStream cut​(Selection s)
                                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • cut

        public javax.sound.sampled.AudioInputStream cut​(long from,
                                                        long length)
                                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • shorten

        public javax.sound.sampled.AudioInputStream shorten​(long toCut)
                                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • cutFromEnd

        public javax.sound.sampled.AudioInputStream cutFromEnd​(long toCutFromEnd)
                                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • main

        public static void main​(java.lang.String[] args)