fixed (?) a bug when the sequencer and multipliers were not working correctly with with ext 4ppqn clock
This commit is contained in:
@ -6,7 +6,7 @@
|
|||||||
#include <avr/wdt.h>
|
#include <avr/wdt.h>
|
||||||
#include <NeoHWSerial.h>
|
#include <NeoHWSerial.h>
|
||||||
|
|
||||||
#define VERSION "V:1.1.1"
|
#define VERSION "V:1.1.2b"
|
||||||
|
|
||||||
byte memCode = 'D'; //Change to different letter if you changed the data structure
|
byte memCode = 'D'; //Change to different letter if you changed the data structure
|
||||||
|
|
||||||
@ -100,7 +100,6 @@ byte currentStep = 0;
|
|||||||
byte stepNumSelected = 0;
|
byte stepNumSelected = 0;
|
||||||
bool *patternToEdit;
|
bool *patternToEdit;
|
||||||
|
|
||||||
|
|
||||||
unsigned int channelPulseCount[6];
|
unsigned int channelPulseCount[6];
|
||||||
unsigned int channelPulsesPerCycle[6];
|
unsigned int channelPulsesPerCycle[6];
|
||||||
byte sixteenthPulseCount = 0;
|
byte sixteenthPulseCount = 0;
|
||||||
@ -529,7 +528,7 @@ void calculateBPMTiming() {
|
|||||||
pulsePeriod = 600000 / (calcbpm * PPQN);
|
pulsePeriod = 600000 / (calcbpm * PPQN);
|
||||||
|
|
||||||
} else if (masterClockMode == 1 && extClockPPQN == 1) { //for ext 1/16 clock (hardcoded)
|
} else if (masterClockMode == 1 && extClockPPQN == 1) { //for ext 1/16 clock (hardcoded)
|
||||||
pulsePeriod = (newExtPulseTime - lastExtPulseTime) / 6;
|
pulsePeriod = ((newExtPulseTime - lastExtPulseTime) * 10) / 6;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user