mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-30 08:23:01 +00:00
preparing stuff
This commit is contained in:
parent
8d8bdfd1f7
commit
bb6bcab2e3
2 changed files with 7 additions and 1 deletions
|
@ -602,6 +602,7 @@ void DivPlatformGenesisExt::reset() {
|
|||
for (int i=0; i<4; i++) {
|
||||
opChan[i]=DivPlatformGenesisExt::OpChannel();
|
||||
opChan[i].vol=127;
|
||||
opChan[i].outVol=127;
|
||||
}
|
||||
|
||||
// channel 3 mode
|
||||
|
|
|
@ -28,8 +28,12 @@ class DivPlatformGenesisExt: public DivPlatformGenesis {
|
|||
int freq, baseFreq, pitch, pitch2, portaPauseFreq, ins;
|
||||
signed char konCycles;
|
||||
bool active, insChanged, freqChanged, keyOn, keyOff, portaPause, inPorta, mask;
|
||||
int vol;
|
||||
int vol, outVol;
|
||||
unsigned char pan;
|
||||
void macroInit(DivInstrument* which) {
|
||||
std.init(which);
|
||||
pitch2=0;
|
||||
}
|
||||
OpChannel():
|
||||
freqH(0),
|
||||
freqL(0),
|
||||
|
@ -48,6 +52,7 @@ class DivPlatformGenesisExt: public DivPlatformGenesis {
|
|||
inPorta(false),
|
||||
mask(true),
|
||||
vol(0),
|
||||
outVol(0),
|
||||
pan(3) {}
|
||||
};
|
||||
OpChannel opChan[4];
|
||||
|
|
Loading…
Reference in a new issue