|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjass.engine.Out
jass.generators.GlottalWave
public class GlottalWave
Output glottal wave. See Rubin et al JASA vol 70 no 2 1981 p323
| Field Summary | |
|---|---|
protected float |
freq
Freq. |
protected boolean |
odd
|
protected float |
openQuotient
|
protected float |
phase
Current phase |
protected float |
speedQuotient
|
float |
srate
Sampling rate in Hertz of Out. |
protected float |
volume
Amplitude or volume |
| Fields inherited from class jass.engine.Out |
|---|
buf, bufferSize, bufOld, lock |
| Constructor Summary | |
|---|---|
GlottalWave(float srate,
int bufferSize)
|
|
| Method Summary | |
|---|---|
protected void |
computeBuffer()
Compute the next buffer and store in member float[] buf. |
float |
getFrequency()
|
float |
getOpenQuotient()
|
float |
getSpeedQuotient()
|
float |
getVolume()
|
void |
setFrequency(float f)
Set frequency |
void |
setOpenQuotient(float oq)
Set Open Quotient |
void |
setSpeedQuotient(float sq)
Set Speed Quotient |
void |
setVolume(float val)
Set amplitude |
| Methods inherited from class jass.engine.Out |
|---|
clearBuffer, copyToOld, getBuffer, getBuffer, getBufferSize, getTime, peekAtBuffer, resetTime, setBufferSize, setTime, setTimeAndNotify |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public float srate
protected float volume
protected float phase
protected boolean odd
protected float freq
protected float openQuotient
protected float speedQuotient
| Constructor Detail |
|---|
public GlottalWave(float srate,
int bufferSize)
| Method Detail |
|---|
public void setVolume(float val)
val - Volume.public float getVolume()
public void setFrequency(float f)
f - frequency.public float getFrequency()
public void setSpeedQuotient(float sq)
sq - Speed Quotientpublic float getSpeedQuotient()
public void setOpenQuotient(float oq)
oq - Open Quotientpublic float getOpenQuotient()
protected void computeBuffer()
Out
computeBuffer in class Out
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||