Quote:
Originally Posted by gofer
It would probably be possible to make the script check each time whether the LSB event it is looking at is on the exact same time position as the MSB currently in process (in other words if it's really a pair of 7bits making a 14bit message). That would solve the situation, not sure how much it would slow down the process, though.
|
Exactly, and it's really not that hard.
Working example:
https://github.com/Breeder/sws/blob/....cpp#L574-L603
We can access CC events by their time order and lower CCs appear first. So you look for your MSB first, and then go through rest of CC events, making sure time position doesn't go further than detected MSB's time position. If you find LSB there - that's your CC pair that makes up 14 bit event