|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.frinika.audio.Voice
public abstract class Voice
Voice base class. A voice is producing raw audio data by filling floats into the buffer passed each time fillBuffer is called.
| Field Summary | |
|---|---|
java.util.Vector<VoiceInterrupt> |
interrupts
|
Voice |
nextVoice
For process ordering you'll set nextVoice to be the voice to be processed after this voice. |
long |
startFramePos
|
| Constructor Summary | |
|---|---|
Voice()
|
|
| Method Summary | |
|---|---|
abstract void |
fillBuffer(int startBufferPos,
int endBufferPos,
float[] buffer)
This is where the raw audio data should be produced. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public long startFramePos
public Voice nextVoice
public java.util.Vector<VoiceInterrupt> interrupts
| Constructor Detail |
|---|
public Voice()
| Method Detail |
|---|
public abstract void fillBuffer(int startBufferPos,
int endBufferPos,
float[] buffer)
startBufferPos - endBufferPos - buffer -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||