fixed mtof() -> Q16n16_mtof() in manual trigger
This commit is contained in:
@ -276,7 +276,7 @@ void updateControl(){
|
||||
|
||||
//Set pitch and play notes on trigger
|
||||
if (MIDINoteFaded) {
|
||||
noteFreq = mtof((float) kMapNote(CVInVal << 2) / pitchSubSteps);
|
||||
noteFreq = Q16n16_mtof((float) kMapNote(CVInVal << 2) / pitchSubSteps);
|
||||
digitalWrite(LED, !gateInVal);
|
||||
if (gateInVal && !gateIsHigh) {
|
||||
gateIsHigh = true;
|
||||
|
||||
Reference in New Issue
Block a user