are you kidding me?

This commit is contained in:
tildearrow 2021-05-17 00:36:09 -05:00
parent bbd175e8f6
commit 0caaa1629c
3 changed files with 7 additions and 5 deletions

View file

@ -1,4 +1,5 @@
#include "dummy.h"
#include <stdio.h>
#include <math.h>
void DivPlatformDummy::acquire(int& l, int& r) {
@ -16,6 +17,7 @@ void DivPlatformDummy::tick() {
}
int DivPlatformDummy::dispatch(DivCommand c) {
printf("command: %d %d %d %d\n",c.cmd,c.chan,c.value,c.value2);
switch (c.cmd) {
case DIV_CMD_NOTE_ON:
chan[c.chan].freq=16.4f*pow(2.0f,((float)c.value/12.0f));