sound
Class OscillatorStream
java.lang.Object
java.io.InputStream
sound.OscillatorStream
- All Implemented Interfaces:
- java.io.Closeable
public class OscillatorStream
- extends java.io.InputStream
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 |
OscillatorStream
public OscillatorStream()
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