Hi, I'm still learning the VST programming and my arpeggiator is now working pretty well, but I found this odd behaviour which may be a bug in reaper. To reproduce the bug: 1. Load the bug.RPP project. There are too MIDI loops: working one and NOT working one. Notice that both start at sample position 493714. 2. Start playing project at 1728000 and place your breakpoints to ProcessMidiMsg. When loop ends and then immediately starts program is stopped at break point. Place new break point to ProcessDoubleReplacing to investigate the sample position at beginning of the loop. It is 493715 with Not working MIDI loop! Thats not right! Is this a Reaper bug or am I doing somwthig wrong? - Arto