implement more effects and bugfixes
enough to play time trax intro near flawless
This commit is contained in:
parent
eb692ca9a9
commit
9a97c38cc6
4 changed files with 141 additions and 14 deletions
|
|
@ -11,7 +11,7 @@ struct DivChannelState {
|
|||
int volume, volSpeed;
|
||||
int vibratoDepth, vibratoRate, vibratoPos;
|
||||
int tremoloDepth, tremoloRate, tremoloPos;
|
||||
bool doNote;
|
||||
bool doNote, legato;
|
||||
|
||||
DivChannelState():
|
||||
note(-1),
|
||||
|
|
@ -26,7 +26,7 @@ struct DivChannelState {
|
|||
tremoloDepth(0),
|
||||
tremoloRate(0),
|
||||
tremoloPos(0),
|
||||
doNote(false) {}
|
||||
doNote(false), legato(false) {}
|
||||
};
|
||||
|
||||
class DivEngine {
|
||||
|
|
@ -50,6 +50,7 @@ class DivEngine {
|
|||
void nextRow();
|
||||
void nextTick();
|
||||
bool perSystemEffect(int ch, unsigned char effect, unsigned char effectVal);
|
||||
bool perSystemPostEffect(int ch, unsigned char effect, unsigned char effectVal);
|
||||
void renderSamples();
|
||||
|
||||
public:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue