mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-24 05:25:12 +00:00
OPLL: fix per-channel osc, part 2
This commit is contained in:
parent
9fee9fa363
commit
0b70902dbe
1 changed files with 3 additions and 3 deletions
|
@ -129,12 +129,12 @@ void DivPlatformOPLL::acquire_nuked(short* bufL, short* bufR, size_t start, size
|
||||||
unsigned char nextOut=cycleMapOPLL[fm.cycles];
|
unsigned char nextOut=cycleMapOPLL[fm.cycles];
|
||||||
if ((nextOut>=6 && properDrums) || !isMuted[nextOut]) {
|
if ((nextOut>=6 && properDrums) || !isMuted[nextOut]) {
|
||||||
os+=(o[0]+o[1]);
|
os+=(o[0]+o[1]);
|
||||||
if (vrc7) oscBuf[nextOut]->data[oscBuf[nextOut]->needle++]=(o[0]+o[1])<<6;
|
if (vrc7 || fm.rm_enable) oscBuf[nextOut]->data[oscBuf[nextOut]->needle++]=(o[0]+o[1])<<6;
|
||||||
} else {
|
} else {
|
||||||
if (vrc7) oscBuf[nextOut]->data[oscBuf[nextOut]->needle++]=0;
|
if (vrc7 || fm.rm_enable) oscBuf[nextOut]->data[oscBuf[nextOut]->needle++]=0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!vrc7) for (int i=0; i<9; i++) {
|
if (!(vrc7 || fm.rm_enable)) for (int i=0; i<9; i++) {
|
||||||
unsigned char ch=visMapOPLL[i];
|
unsigned char ch=visMapOPLL[i];
|
||||||
if ((i>=6 && properDrums) || !isMuted[ch]) {
|
if ((i>=6 && properDrums) || !isMuted[ch]) {
|
||||||
oscBuf[ch]->data[oscBuf[ch]->needle++]=(fm.output_ch[i])<<6;
|
oscBuf[ch]->data[oscBuf[ch]->needle++]=(fm.output_ch[i])<<6;
|
||||||
|
|
Loading…
Reference in a new issue