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 it
      static void toByte(byte[] out, long data, int offset, int len) 
      static void toByte(byte[] out, java.lang.String data, int offset) 
      • Methods inherited from class java.lang.Object

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

      • WavWrite

        public WavWrite()
    • 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