el diego 2 finally plays back correctly
ALMOST
This commit is contained in:
parent
4f2ce0f907
commit
65444d4a99
10 changed files with 20 additions and 13 deletions
|
|
@ -25,7 +25,7 @@ void DivPlatformDummy::tick() {
|
|||
|
||||
if (chan[i].freqChanged) {
|
||||
chan[i].freqChanged=false;
|
||||
chan[i].freq=(chan[i].baseFreq*(ONE_SEMITONE+chan[i].pitch))/ONE_SEMITONE;
|
||||
chan[i].freq=(chan[i].baseFreq*pow(2,(double)chan[i].pitch/(12.0*128.0)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue