Package ipsk.audio.tools
Class AudiofileEditor
- java.lang.Object
-
- ipsk.audio.tools.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)
-
-
-
Constructor Detail
-
AudiofileEditor
public AudiofileEditor(javax.sound.sampled.AudioInputStream ais) throws AudioFormatNotSupportedException
- Throws:
AudioFormatNotSupportedException
-
-
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
-
append
public javax.sound.sampled.AudioInputStream append(javax.sound.sampled.AudioInputStream ais2) throws AudioFileEditorException
- Throws:
AudioFileEditorException
-
main
public static void main(java.lang.String[] args)
-
-