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
|
//Set pitch and play notes on trigger
|
||||||
if (MIDINoteFaded) {
|
if (MIDINoteFaded) {
|
||||||
noteFreq = mtof((float) kMapNote(CVInVal << 2) / pitchSubSteps);
|
noteFreq = Q16n16_mtof((float) kMapNote(CVInVal << 2) / pitchSubSteps);
|
||||||
digitalWrite(LED, !gateInVal);
|
digitalWrite(LED, !gateInVal);
|
||||||
if (gateInVal && !gateIsHigh) {
|
if (gateInVal && !gateIsHigh) {
|
||||||
gateIsHigh = true;
|
gateIsHigh = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user