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