Quote:
Originally Posted by xpander
+ Media items: improve auto-stretch warp slope calculation with linear tempo changes [ p=2215207]
|
Unfortunately, the bugs that I mentioned in dev1222 are still present, and the auto-stretch timebase is too dangerous to use yet:
* Sometimes, when switching to auto-stretch timebase, the dialog box doesn't pop up, and the audio is shifted as if REAPER assumes that the audio is not yet mapped. This seems to happen if there are no tempo changes over the item, or if each tempo change already has a manually inserted stretch marker underneath at the same time position.
For example, in this screenshot shows a MIDI item (top) and its render (middle), which is of course tempo mapped. There are no tempo markers above the item (except at the edges). When setting timebase to auto-stretch (bottom), the audio is automatically warped without a dialog box:
If there are tempo markers across the item, but they are directly above the stretch markers, there are again no dialog, and the audio is automatically warped:
* If the audio crosses linear tempo changes, and the audio is already mapped to these changes (and "Yes" is clicked in the dialog box), incorrect sloped markers are inserted, and the audio is shifted. The timebase should either insert flat SMs (thereby regarding the current mapping as the "base", or it should "reverse engineer" the current tempo map to a flat tempo base, and then insert sloped SMs as if the item has not yet been mapped.
This is the example that I posted before. The original audio is on top, the two alternative correct options are in the middle, and the incorrect results of the present version in at the bottom:
Here is another example, in which there is a tempo marker above the item without a SM in the item. The dialog is popped up, but even if YES is clicked, the audio is warped: