Sorry for the spam of updates, just want to push out good changes as I make them.ĮDIT3: Pushed v1.5: I had forgotten to take the master track into account if it was visible in the TCP. I was taking away more than I was adding.ĮDIT2: Just pushed v1.4: Added perfect horizontal zoom tracking (at the expense of some tiny graphical glitches), exponential track scaling (feels way better) and maximum track height (set so when maximized, an auto-scaled envelope will take up the entire screen). I had no idea you had to take care when using reaper.PreventUIRefresh().
#Melodyne 3 horizxontal zoom how to
I would have to be able to update the scrollbar maximum size without pushing a UI update, and I don't know how to do that.ĮDIT: Actually, just pushed v1.3, fixing a major UI refresh bug. I'm not sure if there is a way around this. That means you see a couple frames of the arrange scrolled in the wrong place before it can correct it. This is because when zooming in near the end, I have to push through a UI update to update how far you can scroll.
![melodyne 3 horizxontal zoom melodyne 3 horizxontal zoom](https://musicmarketing.ca/images/article/melodyne5_blobs_zoom.jpg)
Keep in mind though, if you are zooming in vertically near the end of the tracklist, you will probably see some ugly graphical glitches. I now have that option enabled by default because it feels really nice. Long story short, you should be able to use setting track height directly without it lagging now. With the help of the kind programmers from this thread, I was able to vastly improve my handling of zooming by setting track height directly in the presence of envelopes.Īlso, as it turns out, it wasn't the script lagging that was screwing zooming up in larger projects, it was a bug in my code. If the API exposed some way to set the pitch cursor in the MIDI Editor, I could avoid having to simulate a left click, which would fix moving the edit cursor and messing with playback. If that happens, you will need to restart Reaper to use the keyboard properly again. This script uses keyboard intercepts, so if the script crashes during use for some reason, it may not properly release those intercepts. There may be other cross-platform issues I am not aware of as I can only test on Windows. This has the unfortunate effect of moving the editor cursor, but is necessary for the script to feel right. So in order to get the zoom to center around your mouse cursor, I needed to simulate a quick left click to set the pitch cursor. In the MIDI editor, the vertical zoom functions seem to be centered around the pitch cursor. Using this in the MIDI editor will move your edit cursor and mess with playback. This will mess up your relative track heights if you use it in vertical action-based zoom mode. I don't account for screen resolution or mouse DPI anywhere, so you'll probably have to adjust the xSensitivity and ySensitivity variables in the "Zoom Tool User a" file described above to suit your preference and setup to get the feel right.
![melodyne 3 horizxontal zoom melodyne 3 horizxontal zoom](https://dt7v1i9vyp3mf.cloudfront.net/styles/news_large/s3/imagelibrary/m/melodyne34-y2AK8pneXHciFDOghsgi.xQp6v8sYHf7.jpg)
![melodyne 3 horizxontal zoom melodyne 3 horizxontal zoom](http://4.bp.blogspot.com/_9B-qy1TJXUM/TPfhB0SA6GI/AAAAAAAAAb4/-G2YBgy34Q4/s1600/images.jpg)
I'm going to try to test this and troubleshoot on an OSX setup when I can. No users with OSX have confirmed that it works for them. This script apparently doesn't work on OSX. You can copy and rename this file in the same directory to "Scripts\Alkamist Scripts\Zoom Tool\Zoom Tool User a" and change the settings there so they don't get overwritten when updating.
![melodyne 3 horizxontal zoom melodyne 3 horizxontal zoom](https://64.media.tumblr.com/d4235c17602ddfb15c62f1d81263c2fe/c52365bfee255be8-37/s2048x3072/45d103aef6b31f4b08801273b0fc3603c7c8007a.png)
#Melodyne 3 horizxontal zoom install
You must also install the default settings file to "Scripts\Alkamist Scripts\Zoom Tool\Zoom Tool Default a": If you just want the raw script, it is located here: Not sure why this is, maybe I'm doing something wrong with ReaPack-index. Code: may need to go "Extensions > ReaPack > Manage Repositories." and right click my repository and hit "Refresh" for this to show up if you have some of my other scripts.