several pitch fixes and stuff

pull request #303
This commit is contained in:
tildearrow 2022-03-23 23:19:16 -05:00
parent 3ed38aca5e
commit ece34990e5
5 changed files with 36 additions and 16 deletions

View file

@ -326,7 +326,7 @@ class DivEngine {
void setConf(String key, String value);
// calculate base frequency/period
int calcBaseFreq(double clock, double divider, int note, bool period);
double calcBaseFreq(double clock, double divider, int note, bool period);
// calculate frequency/period
int calcFreq(int base, int pitch, bool period=false, int octave=0);