|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jfrace.device.WaveTablePlayer | +--jfrace.device.GI_AY_3_8910ToneGenerator
Simulating class of a voice of the GI's sound generator AY-3-8910.
Fields inherited from class jfrace.device.WaveTablePlayer |
waveTable |
Constructor Summary | |
GI_AY_3_8910ToneGenerator(int clockRate)
Create an instance for a given clock rate. |
Method Summary | |
int |
getAmplitude()
Return the amplitude. |
int |
getEnvelopePeriod()
Return the envelope period. |
int |
getPeriod()
Return the period. |
boolean |
isAmplitudeMode()
Return true if in the amplitude mode. |
void |
run()
Running envelope thread for changing waveform du to the envelope shape. |
void |
setAmplitude(int value)
Set the amplitude. |
void |
setAmplitudeMode(boolean value)
Set amplitude mode. |
void |
setEnvelopePeriod(int value)
Set envelope period. |
void |
setEnvelopeShape(int value)
Set envelope shape. |
void |
setPeriod(int value)
Set the period. |
Methods inherited from class jfrace.device.WaveTablePlayer |
getLength, getSize, isPlaying, linear2ulaw, play, setLength, setWaveTable, stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GI_AY_3_8910ToneGenerator(int clockRate)
clockRate
- Clock rate in Hz.Method Detail |
public int getPeriod()
public void setPeriod(int value)
public int getAmplitude()
public void setAmplitude(int value)
public boolean isAmplitudeMode()
true
if in the amplitude mode.public void setAmplitudeMode(boolean value)
public int getEnvelopePeriod()
public void setEnvelopePeriod(int value)
public void setEnvelopeShape(int value)
public void run()
run
in interface java.lang.Runnable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |