sound
Class OscillatorStream

java.lang.Object
  extended by java.io.InputStream
      extended by sound.OscillatorStream
All Implemented Interfaces:
java.io.Closeable

public class OscillatorStream
extends java.io.InputStream


Constructor Summary
OscillatorStream()
           
 
Method Summary
 int available()
           
static javax.sound.sampled.AudioInputStream getAudioInputStream()
           
static void main(java.lang.String[] args)
           
 int read()
           
 
Methods inherited from class java.io.InputStream
close, mark, markSupported, read, read, reset, skip
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OscillatorStream

public OscillatorStream()
Method Detail

read

public int read()
         throws java.io.IOException
Specified by:
read in class java.io.InputStream
Throws:
java.io.IOException

getAudioInputStream

public static javax.sound.sampled.AudioInputStream getAudioInputStream()

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException,
                        javax.sound.sampled.LineUnavailableException
Throws:
java.io.IOException
javax.sound.sampled.LineUnavailableException

available

public int available()
Overrides:
available in class java.io.InputStream