Jump to content

Undo causes Melodyne Region FX to close (and lose work)


Glenn Stanton

Recommended Posts

if you have a Melodyne region created, do some edits, then click on another track, then click back on the track you have Melodyne active, hit Ctrl+Z, it's simply closes Melodyne and and you lose any work you've done. Presumably this is because Sonar only has the "Create region FX" as the last step in the history list.

image.png.c43aaffbf3dfddc90f6933e63e283d0d.png

not sure if there is anyway for Sonar to to cache the change list memory in Melodyne when you switch to another track and return, so you can use the undo on those Melodyne changes. (e.g. ala "marked dirty" when changes made so don't undo region fx unless ok'd by user)

this is the same regardless if Melodyne is docked or undocked. and there doesn't seem to be anyway to force Melodyne to consume the keystrokes or undo command (like you can with other FX).

image.png.933637fa8ae8792b83f146e5a534f690.png

a workaround - you must save your file to clear the undo history... so Ctrl+S is still your best friend...

 

 

Edited by Glenn Stanton
Link to comment
Share on other sites

To verify your results, I created a Melodyne region, did some edits, and then switched to a different track. Then I clicked on the original track (that has the Melodyne region) and pressed Ctrl+Z. The Melodyne window closed and the edits were lost. This is the same result you experienced.

After that, I tried it a little differently. After I returned to the original track, I clicked inside the Melodyne editor window before pressing Ctrl+Z. I pressed Ctrl+Z, and Melodyne undid its most recent edit. Melodyne remained open and the other edits were still in place. I pressed Ctrl+Z a few more times. After each press, another individual Melodyne edit was undone, until I had undone all the edits.

I suspect that Sonar and Melodyne each maintain their own history lists. If that is the case, then it would work like this:

1. Sonar remembers only that it opened Melodyne, and does not track specific edits.

2. Melodyne maintains its own history of individual edit operations.

3. If you go to another Sonar track and then click on the original track (e.g. in Track View) instead of the actual Melodyne window, focus is still on Sonar. It will process a Ctrl+Z by undoing the last command in its history, which is "Open Melodyne."

4. If, however, you return to the original track and then click inside the Melodyne edit window, focus is then on Melodyne. From this point on, Melodyne (not Sonar) receives subsequent Ctrl+Z keypresses and applies them according to the edits in its own history.

In the past, I have switched back and forth between tracks this way a number of times, with consistent results. On occasion, I have decided to discard my Melodyne edits, so I simply clicked in the edited track (outside the Melodyne window) and pressed Ctrl+Z to delete the Melodyne region.

When you return to the original track (containing the Melodyne region), try clicking inside the Melodyne editor before pressing Ctrl+Z.

Link to comment
Share on other sites

Melodyne will not receive keystrokes unless it has focus. No matter what you do, it won't see the Ctrl-Z keystroke, or any substitutes, unless you first click inside its window.

Sonar will not allow you to unbind Ctrl+Z from its own Undo function. It is a dedicated keyboard shortcut. However, Melodyne will let you remap its Undo function. You could assign it to a keystroke that you don't have assigned in Sonar. Then, if you ever forget to give Melodyne focus before pressing your shortcut key for Undo, Sonar will ignore the keystroke, since it is not assigned in Sonar, and you won't lose your changes.

Rather than go to that trouble, I just use Sonar's Redo function (Ctrl+R) whenever I inadvertently delete a Melodyne region. This restores the Melodyne region and all the editing that has been done. After hitting Ctrl+R, I click the Rx indicator in the edited clip in Sonar and choose "open editor." The Melodyne editor reopens and I resume editing where I left off.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...