Package com.sun.media.sound
Interface ModelOscillatorStream
public interface ModelOscillatorStream
This interface is used for audio streams from ModelOscillator.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidnoteOff(int velocity) voidnoteOn(MidiChannel channel, VoiceStatus voice, int noteNumber, int velocity) intread(float[][] buffer, int offset, int len) voidsetPitch(float pitch)
-
Method Details
-
setPitch
void setPitch(float pitch) -
noteOn
-
noteOff
void noteOff(int velocity) -
read
- Throws:
IOException
-
close
- Throws:
IOException
-