Old 09-30-2019, 02:47 PM   #1
Win Conway
Human being with feelings
 
Join Date: Dec 2010
Posts: 3,826
Default Adaptive grid

Would be nice if we could get actual adaptive grid, right now we have snap follows grid, but this is only half way there, grid actions like nudge and move always follow the grid size you set no matter the zoom, so if you set an action to move item by grid size, it always moves them at the grid size set in grid options, not the grid that is visible.
__________________
Stop posting huge images, smaller images or thumbnail, it's not rocket science!
Win Conway is offline   Reply With Quote
Old 10-01-2019, 04:10 PM   #2
mccrabney
Human being with feelings
 
mccrabney's Avatar
 
Join Date: Aug 2015
Posts: 3,669
Default

Quote:
Originally Posted by gpunk_w View Post
Would be nice if we could get actual adaptive grid, right now we have snap follows grid, but this is only half way there, grid actions like nudge and move always follow the grid size you set no matter the zoom, so if you set an action to move item by grid size, it always moves them at the grid size set in grid options, not the grid that is visible.
+1, i feel like i remember acid pro 3.0 doing this even and i really miss it. i used renostraws' script, but there's an issue with that downstream: it requires that the midi editor's "sync to arrange view" setting is enabled, but that is virtually unusable with anything other than a docked midi editor.

https://forum.cockos.com/showthread.php?t=222938
__________________
mccrabney scripts: MIDI edits from the Arrange screen ala jjos/MPC sequencer
|sis - - - anacru| isn't what we performed: pls no extra noteons in loop recording
| - - - - - anacru|sis <==this is what we actually performed.
mccrabney is offline   Reply With Quote
Old 11-02-2019, 07:11 AM   #3
Travesty
Human being with feelings
 
Travesty's Avatar
 
Join Date: Nov 2014
Posts: 798
Default

Ended up here after trying to fix this in script.
I'm surprised noone has scripted this yet.

Though we only seem to be able to get the horiz zoom level, which doesn't guarantee the grid units, because people can set the grid resolution at any given zoom to taste.

I seem to do this out of reflex, so I think it must have been present in Acid.
Travesty is offline   Reply With Quote
Old 11-02-2019, 07:25 AM   #4
Vagelis
Human being with feelings
 
Vagelis's Avatar
 
Join Date: Oct 2017
Location: Larisa, Greece
Posts: 3,797
Default

+1. I agree with the op, it would be a very useful addition. I ‘d be also happy If someone could make a script that’s working properly.
Vagelis is offline   Reply With Quote
Old 11-02-2019, 11:56 AM   #5
V1b3zman
Human being with feelings
 
Join Date: Oct 2016
Posts: 100
Default

if you download the SWS extensions there is a "groove tool". you simply create a groove select it click "get groove" then apply to any midi or audio items you want here is the link that explains it. I use this all the time and it works great!

https://wiki.cockos.com/wiki/index.p...rs_Groove_Tool

here is the link to download the extensions

http://www.sws-extension.org/
V1b3zman is offline   Reply With Quote
Old 11-14-2019, 01:16 AM   #6
Travesty
Human being with feelings
 
Travesty's Avatar
 
Join Date: Nov 2014
Posts: 798
Default

Not really the same thing, this is more about manual item manipulation, like moving via the move or nudge commands
Travesty is offline   Reply With Quote
Old 04-06-2020, 08:47 AM   #7
David Carlyon
Human being with feelings
 
Join Date: Feb 2019
Posts: 182
Default

Just thought i would chime in to say that an adaptive grid would be a huge step forward for reaper. It makes editing so quick and easy. As it is, i find it a pain in the Butt.
I have buttons set up to change the grid size, but it is not the same, and not nearly as quick.

Other than that i really like reapers midi editor (other than the fact i cannot seem ot get consistent set up behaviour for each midi editor)
The mouse modifiers are powerful
David Carlyon is offline   Reply With Quote
Old 08-28-2020, 08:40 AM   #8
operator
Human being with feelings
 
operator's Avatar
 
Join Date: Nov 2019
Location: Austria, near Lake Constance
Posts: 453
Default

I hope "adaptive Grid" will find its way into Reaper... I can´t believe this isn´t already implemented. Would be such a timesaver as already mentioned.
operator is offline   Reply With Quote
Old 08-28-2020, 09:08 AM   #9
amagalma
Human being with feelings
 
amagalma's Avatar
 
Join Date: Apr 2011
Posts: 3,451
Default

There are these scripts:

Code:
amagalma_Move edit cursor to next visible grid line
amagalma_Move edit cursor to previous visible grid line
Archie_Grid; Move select items to next visible grid
Archie_Grid; Move select items to previous visible grid
__________________
Most of my scripts can be found in ReaPack.
If you find them useful, a donation would be greatly appreciated! Thank you! :)
amagalma is offline   Reply With Quote
Old 08-29-2020, 04:23 AM   #10
mccrabney
Human being with feelings
 
mccrabney's Avatar
 
Join Date: Aug 2015
Posts: 3,669
Default

^ those are great, and thanks for contributing scripts -- but that's not the FR. Win Conway, if you see this, you might want to add a concise, 1 sentence description of Adaptive Grid, because i see people misinterpreting the FR in every Adaptive Grid thread.

adaptive grid means that your zoom level sets your grid. here's a licecap of renostraw's adaptive grid script that shows how this is useful in the context of ahem, hypothetical "sharp selections"



note, renostraw's script accounts for triplets, but that's not shown here

since i use double tempos (legacy from getting 2x ppq in the MPC days, and now i'm used to REAPER's count in being shorter) i edited renostraws adaptive grid script to be 2x.

this script is more usable, now that "sync to arrange view" no longer demands vertical alignment.
__________________
mccrabney scripts: MIDI edits from the Arrange screen ala jjos/MPC sequencer
|sis - - - anacru| isn't what we performed: pls no extra noteons in loop recording
| - - - - - anacru|sis <==this is what we actually performed.
mccrabney is offline   Reply With Quote
Old 08-29-2020, 04:32 AM   #11
mccrabney
Human being with feelings
 
mccrabney's Avatar
 
Join Date: Aug 2015
Posts: 3,669
Default

EDIT - i was wrong in the below italicized text -- i was conflating "sync to project transport" with "project-synced timebase" ... again, italicized text below is misinformed

but renostraws' script remains problematic, since zoom in the MIDI editor doesn't change zoom in the Arrange screen. you can get around this by editing the script to not auto-enable "use same grid divisions for midi editor and arrange" ... i feel like i remember that happening in the past, was that also decoupled when the "sync to project transport" function was changed?
__________________
mccrabney scripts: MIDI edits from the Arrange screen ala jjos/MPC sequencer
|sis - - - anacru| isn't what we performed: pls no extra noteons in loop recording
| - - - - - anacru|sis <==this is what we actually performed.

Last edited by mccrabney; 08-29-2020 at 04:58 AM.
mccrabney is offline   Reply With Quote
Old 08-29-2020, 06:36 AM   #12
amagalma
Human being with feelings
 
amagalma's Avatar
 
Join Date: Apr 2011
Posts: 3,451
Default

You have to "play" with these values:



Works fine here:


__________________
Most of my scripts can be found in ReaPack.
If you find them useful, a donation would be greatly appreciated! Thank you! :)
amagalma is offline   Reply With Quote
Old 08-29-2020, 09:09 AM   #13
mccrabney
Human being with feelings
 
mccrabney's Avatar
 
Join Date: Aug 2015
Posts: 3,669
Default

oof, those settings are per project tho

of course, it does work really well, per project! thanks for the tip
__________________
mccrabney scripts: MIDI edits from the Arrange screen ala jjos/MPC sequencer
|sis - - - anacru| isn't what we performed: pls no extra noteons in loop recording
| - - - - - anacru|sis <==this is what we actually performed.
mccrabney is offline   Reply With Quote
Old 08-29-2020, 09:36 AM   #14
amagalma
Human being with feelings
 
amagalma's Avatar
 
Join Date: Apr 2011
Posts: 3,451
Default

Save a project template with your preferred settings and set it as the default project. From then on, any new project will inherit them.
__________________
Most of my scripts can be found in ReaPack.
If you find them useful, a donation would be greatly appreciated! Thank you! :)
amagalma is offline   Reply With Quote
Old 08-29-2020, 09:50 AM   #15
mccrabney
Human being with feelings
 
mccrabney's Avatar
 
Join Date: Aug 2015
Posts: 3,669
Default

Quote:
Originally Posted by amagalma View Post
Save a project template with your preferred settings and set it as the default project. From then on, any new project will inherit them.
that part is easy! remembering old project-specific snap settings on a few hundred legacy projects which i have to revisit several times a year? less easy.

maybe i could try to write a script if it ends up bothering me so much. meanwhile, default project is set and it all seems to be handling right.
__________________
mccrabney scripts: MIDI edits from the Arrange screen ala jjos/MPC sequencer
|sis - - - anacru| isn't what we performed: pls no extra noteons in loop recording
| - - - - - anacru|sis <==this is what we actually performed.
mccrabney is offline   Reply With Quote
Old 10-05-2020, 10:51 AM   #16
Win Conway
Human being with feelings
 
Join Date: Dec 2010
Posts: 3,826
Default

Quote:
Originally Posted by amagalma View Post
You have to "play" with these values:



Works fine here:


Damn dude, thumbnail your images DOH
Again, this is partial adaptive grid, it adapts visually and for snapping but not for actions, if you use an action like move by grid or whatever, it uses the grid size as defined in the grid settings, not the grid size you are currently at based upon those adaptive settings.
A simple tickbox in that panel that says "Actions follow grid visibility" BAM, done.
__________________
Stop posting huge images, smaller images or thumbnail, it's not rocket science!
Win Conway is offline   Reply With Quote
Old 02-10-2022, 10:01 PM   #17
earhax
Human being with feelings
 
earhax's Avatar
 
Join Date: Nov 2015
Location: earth
Posts: 471
Default

@amagalma

I found a bug with your script "amagalma_Move edit cursor to previous visible grid line".

If the project start time is *negative* (which I sometimes need it to be), once the cursor reaches timecode/absolute frame 0, the action will make the cursor jump to nearly the start of the project.

I'm guessing this has something to do with the way the reaper.SnapToGrid function works.

Hopefully you can figure out how to make it continue to work even when the timecode/frame count is negative.

Thanks for an excellent and otherwise really useful script!
earhax is offline   Reply With Quote
Old 02-12-2022, 08:24 AM   #18
FeedTheCat
Human being with feelings
 
FeedTheCat's Avatar
 
Join Date: May 2019
Location: Berlin
Posts: 2,164
Default

Oo, had never seen this thread before. Not long ago I developed an adaptive grid tool for REAPER. For anyone interested, here's the link.
__________________
Featured scripts: REAPER Update UtilityLil ChordboxGridbox/Adaptive gridMX TunerRS5K LinkMIDI Editor Magic Donate💝: PayPal|ko-fi
FeedTheCat 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 02:28 PM.


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