Package at.ofai.music.audio
Class WavWrite
- java.lang.Object
-
- at.ofai.music.audio.WavWrite
-
public class WavWrite extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor and Description WavWrite()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static java.io.FileOutputStream
open(java.lang.String fileName, int byteLength, int channels, int rate, int audioSize)
Opens a file output stream and writes a WAV file header to itstatic void
toByte(byte[] out, long data, int offset, int len)
static void
toByte(byte[] out, java.lang.String data, int offset)
-
-
-
Method Detail
-
toByte
public static void toByte(byte[] out, java.lang.String data, int offset)
-
toByte
public static void toByte(byte[] out, long data, int offset, int len)
-
open
public static java.io.FileOutputStream open(java.lang.String fileName, int byteLength, int channels, int rate, int audioSize)
Opens a file output stream and writes a WAV file header to it
-
-