flip
New Member
Posts: 14
Posts: 14
|
Post by flip on Oct 19, 2018 21:24:37 GMT 1
Hi there, I'm a bit puzzled when it comes to the values shown when outputting the values used for 'quarter notes per bar' and 'pulses per bar' in the BPMClock4 module.
As I don't think setting a specific time signature to test is possible in SE itself, I've created an output pin for the QuarterNotesPerBar value and the pulsesperbar value to see what the VST will see when I set the DAW to 3/4 or 6/8. In both cases it shows 5 for the value of QuarterNotesPerBar and 960 for the pulsesperbar (which is based of 384 * quarternotes / 2). At 4/4 it shows the expected 4 quarternotes and I have no issues on this time signature.
I guess I'm missing something as I was assuming different values? I guess it's because qnperbar is an int and the line to get to this is quarterNotesPerBar = (4 * denominator) / numerator; Which would be 5.333 in case of 6/8 and 3/4.. Shouldn't this be quarterNotesPerBar = (4 * numerator) / denominator; ?
|
|