AZSlow

Reaper related => ReaCWP => Topic started by: evaluna001 on January 13, 2025, 03:01:41 PM

Title: Another minor MIDI sync issue
Post by: evaluna001 on January 13, 2025, 03:01:41 PM
Hi AZSlow,
I hope you are well.
I found another minor MIDI sync issue in the conversion from Cakewalk by Bandlab to Reaper using your utility. In this case, the MIDI arpeggio starts in sync and slowly drifts out of sync in Reaper, but in Cakewalk it remains in sync. If you still have time to look at this, may I send you the file? Thanks, much appreciated.
Title: Re: Another minor MIDI sync issue
Post by: azslow3 on January 14, 2025, 10:29:31 PM
PM me the link to the file, I will check.
Title: Re: Another minor MIDI sync issue
Post by: azslow3 on January 20, 2025, 03:52:35 PM
Thank for reporting. Please check b69 (the latest release) doesn't have the issue.

Please note its code is reworked, there can be regressions. It is better to report them, but if in hurry you can use older version with the following change in the original Cakewalk project:
set Quarter per Minute to 960 in Cakewalk preferences.

Fixed bug: when Quarter per Minute was not 960, I was creating REAPER clips with that setting. But I was not accounting for rounding errors and REAPER use differential time in ticks, so the error was accumulating. Depending from the source, that error can be big just after several notes.

Since Cakewalk in practice always use 960 in projects (so the setting may influence something, but not the form in which MIDI clips are saved), I have fixed converter to 960. That avoid any rounding errors and in general better in REAPER (since it use what is specified for MIDI timing).
Title: Re: Another minor MIDI sync issue
Post by: evaluna001 on January 21, 2025, 07:55:28 AM
Thank you for the quick response! I will convert that same project a bit later and report back.
Title: Re: Another minor MIDI sync issue
Post by: evaluna001 on January 22, 2025, 12:16:24 PM
Hi,
I tested the project which was giving sync issues and it converts fine now, the MIDI arpeggio is perfectly in sync. I will do some other test imports using different clock bases this weekend and let you know the results.
Thank you again for the time spent on this, I do appreciate it!
Regards,
Terry
Title: Re: Another minor MIDI sync issue
Post by: evaluna001 on March 16, 2025, 02:57:40 PM
Apologies for the delay - I have finally done some more testing on conversion of projects using different clock settings in Cakewalk. So far projects using 240, 480, 960, 168, and 216 ticks per quarter note all convert fine with no timing issues. This is great news!