bassdll icon indicating copy to clipboard operation
bassdll copied to clipboard

div0 and fix

Open ivannunyadambiz opened this issue 6 years ago • 0 comments

the library actually works with the esp32, but needs a little fix

bassdll.cpp, line 90: was: halflife = 500000/fixTone(notes[current]->tone + transpose); fixed:

int tempdiv = fixTone(notes[current]->tone + transpose);
if(tempdiv != 0) halflife = 500000/tempdiv;
else halflife = INT_MAX;

ivannunyadambiz avatar Nov 01 '18 13:11 ivannunyadambiz