implement pitch macro
TODO: test!
This commit is contained in:
parent
c743a9e96a
commit
d47a59f5f0
33 changed files with 44 additions and 39 deletions
|
|
@ -203,7 +203,7 @@ void DivPlatformPCE::tick() {
|
|||
}
|
||||
if (chan[i].freqChanged || chan[i].keyOn || chan[i].keyOff) {
|
||||
//DivInstrument* ins=parent->getIns(chan[i].ins);
|
||||
chan[i].freq=parent->calcFreq(chan[i].baseFreq,chan[i].pitch,true);
|
||||
chan[i].freq=parent->calcFreq(chan[i].baseFreq,chan[i].pitch,true)+chan[i].std.pitch.val;
|
||||
if (chan[i].furnaceDac) {
|
||||
double off=1.0;
|
||||
if (chan[i].dacSample>=0 && chan[i].dacSample<parent->song.sampleLen) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue