Add check for negative bpm & ppqn

This commit is contained in:
2023-09-03 00:36:41 +03:00
parent cee8c82c89
commit 7224218122
2 changed files with 3 additions and 2 deletions

View File

@ -24,6 +24,7 @@ class TransportProcessor extends AudioWorkletProcessor {
this.currentPulsePosition = 0;
} else if(message.data.type === 'ppqn') {
this.ppqn = message.data.value;
this.currentPulsePosition = 0;
}
};