com.sun.media.sound
Interface ModelOscillatorStream

All Known Subinterfaces:
SoftResamplerStreamer
All Known Implementing Classes:
ModelAbstractOscillator

public interface ModelOscillatorStream

This interface is used for audio streams from ModelOscillator.

Author:
Karl Helgason

Method Summary
 void close()
           
 void noteOff(int velocity)
           
 void noteOn(javax.sound.midi.MidiChannel channel, javax.sound.midi.VoiceStatus voice, int noteNumber, int velocity)
           
 int read(float[][] buffer, int offset, int len)
           
 void setPitch(float pitch)
           
 

Method Detail

setPitch

void setPitch(float pitch)

noteOn

void noteOn(javax.sound.midi.MidiChannel channel,
            javax.sound.midi.VoiceStatus voice,
            int noteNumber,
            int velocity)

noteOff

void noteOff(int velocity)

read

int read(float[][] buffer,
         int offset,
         int len)
         throws java.io.IOException
Throws:
java.io.IOException

close

void close()
           throws java.io.IOException
Throws:
java.io.IOException