Package ipsk.audio.synth
Class SineWaveGenerator
- java.lang.Object
- 
- java.io.InputStream
- 
- ipsk.audio.synth.SineWaveGenerator
 
 
- 
- All Implemented Interfaces:
- java.io.Closeable,- java.lang.AutoCloseable
 
 public class SineWaveGenerator extends java.io.InputStream- Author:
- K.Jaensch, klausj@phonetik.uni-muenchen.de
 
- 
- 
Constructor SummaryConstructors Constructor Description SineWaveGenerator(float frequency, float amplitudeFactor, javax.sound.sampled.AudioFormat audioFormat, long length)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()intread()intread(byte[] buf, int offset, int len)
 
- 
- 
- 
Constructor Detail- 
SineWaveGeneratorpublic SineWaveGenerator(float frequency, float amplitudeFactor, javax.sound.sampled.AudioFormat audioFormat, long length) throws AudioFormatNotSupportedException- Throws:
- AudioFormatNotSupportedException
 
 
- 
 - 
Method Detail- 
closepublic void close() - Specified by:
- closein interface- java.lang.AutoCloseable
- Specified by:
- closein interface- java.io.Closeable
- Overrides:
- closein class- java.io.InputStream
 
 - 
readpublic int read() throws java.io.IOException- Specified by:
- readin class- java.io.InputStream
- Throws:
- java.io.IOException
 
 - 
readpublic int read(byte[] buf, int offset, int len) throws java.io.IOException- Overrides:
- readin class- java.io.InputStream
- Throws:
- java.io.IOException
 
 
- 
 
-