I understand that processBlock has an associated time window, from (let’s call it) blockStartSampleNumber to blockEndSampleNumber.
- When calling addEvent on the MidiBuffer argument of processBlock, what happens if the timestamp argument lies outside this window? Is the corresponding message simply ignored?
- Is the time window inclusive or exclusive of blockStartSampleNumber? i.e. is it supposed to be the open interval [blockStartSampleNumber,blockEndSampleNumber] or the left-closed, right-open interval [blockStartSampleNumber,blockEndSampleNumber)? (See https://en.wikipedia.org/wiki/Interval_(mathematics)#Classification_of_intervals for terminology if needed).