public class Voice extends Object
| Modifier and Type | Field and Description |
|---|---|
protected EnvelopeGenerator |
envelope |
protected boolean |
muted |
protected int |
voice_DC
Multiplying D/A DC offset.
|
protected WaveformGenerator |
wave |
protected int |
wave_zero
Waveform D/A zero level.
|
| Constructor and Description |
|---|
Voice()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
mute(boolean enable)
Voice mute.
|
int |
output()
Amplitude modulated waveform output.
|
void |
reset()
SID reset.
|
void |
set_chip_model(ISIDDefs.chip_model model)
Set chip model.
|
void |
set_sync_source(Voice source)
Set sync source.
|
void |
writeCONTROL_REG(int control)
Register functions.
|
protected WaveformGenerator wave
protected EnvelopeGenerator envelope
protected boolean muted
protected int wave_zero
protected int voice_DC
public int output()
public void set_chip_model(ISIDDefs.chip_model model)
model - public void set_sync_source(Voice source)
public void writeCONTROL_REG(int control)
control - public void reset()
public void mute(boolean enable)
enable - Copyright © 2014. All rights reserved.