|
|
Thread Tools | Display Modes |
01-08-2021, 06:23 AM | #1 |
Human being with feelings
Join Date: Jul 2016
Posts: 2
|
[6.15] Tempo maps do not line up correctly when exported/imported via MIDI
Reaper 6.15. I have been using Reaper since v3 and this bug has always existed. Also exists on all operating systems I have used in that time, Windows 7, Windows 10 and several versions of Mac OS.
Start new project, 120bpm. Add a tempo marker at (for example) bar 32, at 140bpm Set the shape of the transition to 'Linear' so there is a linear tempo increase from 120bpm to 140bpm. Add a track with a click source and render it so you have a wav file containing a click track that should match exactly with metronome. Export project MIDI, with embedded tempo/time sig information. Import media file and reimport the MIDI, importing the tempo map at 0:00:00 The wav click file (and any recorded audio in the project should you have done any) is no longer in sync with the metronome. I've attached a project file showing before and after the re-import also. I would expect an exported tempo map to reproduce the created tempo map when reimported. The same problem occurs when importing the MIDI into Pro Tools/other DAWS. This wastes so much of my time whenever I go to finish a record in a studio with Pro Tools as we have to recreate my tempo map from scratch. The engineer says he always has this problem when importing from Reaper, but never from Sonar/Cubase/Logic etc. Even if it didn't work into other DAWs at the very minimum I would expect to reliably coming back into Reaper. I appreciate what the problem is - the data in the original project is continuous but after conversion to MIDI it becomes a collection of discrete data points. I understand this is how MIDI works. However, the fact that my engineer who deals with files from many different DAWs does not have this problem with any DAW outside Reaper shows that it can be fixed. |
01-08-2021, 06:35 AM | #2 |
Administrator
Join Date: Mar 2007
Location: NY
Posts: 16,518
|
Thanks for posting the project files. We’ll take a look at whether this can be improved.
|
01-08-2021, 09:41 AM | #3 |
Administrator
Join Date: Mar 2007
Location: NY
Posts: 16,518
|
This should be improved in the new +dev build, if you'd care to try it out.
https://forum.cockos.com/forumdisplay.php?f=37 |
01-08-2021, 04:45 PM | #4 |
Human being with feelings
Join Date: Jul 2016
Posts: 2
|
Hello! I've tried the dev build, and I am very happy to report that it is vastly improved.
On the example project I sent, it was absolutely perfect. On a project I have that is extremely complicated and has some quite extreme changes, I could see it had drifted ever so slightly from looking at it visually, but within a few milliseconds. To all intents and purposes, listening to the click it was correct. I'm a developer myself and have worked with MIDI quite a bit before, so I appreciate absolute perfection in all scenarios is probably not possible. I am however, extremely satisfied with this fix, and I know my engineer friend will be also. Many thanks for addressing this so promptly, and I look forward to seeing it in and upcoming release! |
01-08-2021, 05:10 PM | #5 |
Administrator
Join Date: Mar 2007
Location: NY
Posts: 16,518
|
Thanks for testing it! You’re correct that it will never be sample-correct due to, essentially, midi jitter, but I’m glad it’s improved.
|
01-08-2021, 08:51 PM | #6 |
Human being with feelings
Join Date: Jan 2009
Posts: 1,867
|
|
01-08-2021, 09:03 PM | #7 | |
Human being with feelings
Join Date: Aug 2009
Posts: 403
|
Quote:
would it be possible to make an imported tempo map only apply to the timeline for the length of the imported midi file itself, and not erase other tempo markers that follow ? |
|
02-01-2021, 06:05 AM | #8 | |
Human being with feelings
Join Date: Aug 2015
Posts: 2,978
|
Quote:
I'm not 100% convinced that Reapers "discretization" of these gradual tempo changes is correct. As a demonstration / experiment I've cobbled together an EEL script which you can try before exporting midi. It replaces tempo "ramps" with a bunch of discrete (square) markers. Even when creating fewer markers than the native mechanism, it seems to be more accurate. If you'd like to test it, it's on the stash: https://stash.reaper.fm/v/41247/JRK_...o_Map_v0_6.eel Cheers!
__________________
it's meant to sound like that... Last edited by jrk; 02-02-2021 at 02:05 PM. |
|
02-03-2021, 05:27 PM | #9 |
Human being with feelings
Join Date: Aug 2015
Posts: 2,978
|
This looks like it's totally fixed in v6.21+dev0201
... and in 6.22rc1 Great stuff Devs!
__________________
it's meant to sound like that... Last edited by jrk; 02-04-2021 at 05:03 AM. |
Thread Tools | |
Display Modes | |
|
|