Old 03-01-2017, 05:41 PM   #1
levets
Human being with feelings
 
Join Date: Jan 2017
Posts: 159
Default Zoom Preset?

PT has this deal where you can press "T" or "R" iirc which will zoom out or in to a certain width. It has presets too.

But T and R are like you're "stepping through consecutive zoom levels".

I checked the Actions and there are only a million choices!

Which ones do I want if I want to assign a keystroke to toggle between a regular and horizontally zoomed (by some same percentage all the time for example) version, and vertically regular and zoomed version?

I'd also like maybe a couple of presets to set it to say, zoom 4 tracks on the screen (right now it's sized at 8 with a smidgen of the 9th which would zoom in both horizontally and vertically - so I could switch between what equates to maybe 100%, then 50% and 200%?
levets is offline   Reply With Quote
Old 03-01-2017, 11:54 PM   #2
EpicSounds
Human being with feelings
 
EpicSounds's Avatar
 
Join Date: Jul 2009
Posts: 7,571
Default

I used to use R and T, found I use mousewheel more than anything so assigned those buttons to other functions.

I talk about zoom presets around 6 min into this video

https://www.youtube.com/watch?v=8p0Nm1o39ig
__________________
REAPER Video Tutorials, Tips & Tricks and more at The REAPER Blog
EpicSounds is offline   Reply With Quote
Old 03-02-2017, 02:27 AM   #3
planetnine
Human being with feelings
 
planetnine's Avatar
 
Join Date: Oct 2007
Location: Lincoln, UK
Posts: 7,926
Default

There are tools to set up absolute zoom levels a la PT, but it's easier as a script action than using standard/custom actions. From memory PT has five preset levels -you want a time width window, measures like Epic, or % of project for the presets..?




>
__________________
Nathan, Lincoln, UK. | Item Marker Tool. (happily retired) | Source Time Position Tool. | CD Track Marker Tool. | Timer Recording Tool. | dB marks on MCP faders FR.
planetnine is online now   Reply With Quote
Old 03-02-2017, 12:03 PM   #4
levets
Human being with feelings
 
Join Date: Jan 2017
Posts: 159
Default

Thanks guys - I found an action that will work - I just assigned + and - to horizontal zoom in and out, and added "command" for the vertical.

I have some screensets set up (or Track Layouts) that allow me to jump back to my original zoom level easily so I think this will work.

+ and - now essentially work like the R and T in PT.
levets is offline   Reply With Quote
Old 08-27-2018, 09:49 AM   #5
gkornbluth
Human being with feelings
 
Join Date: Jul 2018
Posts: 2
Default Zoom Presets

Hi Levets,

I know it's been a while but could you be more specific about what you did and what you found?

I've been struggling with zoom presets as well and the best I came up with so far is screensets track views, but they're volatile and only work for the session that they're created in.

Most of my work is audio post, and I'd love to have actions that I could assign to menu buttons as I have in my (old) ProTools setup. Like maybe 15 frames, 1 second, 15 seconds, 1 minute, 10 minutes and full session along with the ability to zoom way.

Thanks,

Jerry
gkornbluth is offline   Reply With Quote
Old 08-27-2018, 11:30 AM   #6
EpicSounds
Human being with feelings
 
EpicSounds's Avatar
 
Join Date: Jul 2009
Posts: 7,571
Default

I got this code from cfillion to replace my zoom presets. Just change the first two numbers and save as a new script (.lua)
can be modified to use a different time format

Code:
pad = 0.125 -- add space at beginning and end of view
add = 1 -- number of measures in view

local startPoint = reaper.GetCursorPosition()

local _, measure = reaper.TimeMap2_timeToBeats(0, startPoint)

local   endPoint = reaper.TimeMap2_beatsToTime(0, 0, measure + add)



reaper.GetSet_ArrangeView2(0, true, 0, 0, startPoint-pad, endPoint+pad)
__________________
REAPER Video Tutorials, Tips & Tricks and more at The REAPER Blog
EpicSounds is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 06:07 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.