Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Bug Reports

Reply
 
Thread Tools
Old 06-23-2022, 05:22 PM   #1
thommazk
Human being with feelings
 
thommazk's Avatar
 
Join Date: Jun 2020
Location: Brazil
Posts: 264
Default MIDI Editor - drag to extend a note doesn't follow the grid lines

Hi, after discussing if this is either a bug or a nitpick I decided to post this problem because it looks more like a bug than just a needed improvement.

The grid when dragging the mouse to draw or extend a note doesn't correspond to where the mouse cursor is.


In the gif, the MIDI Editor seems to calculate half of the MIDI grid cell pixel size and wait for the mouse cursor to move this distance to extend the note. If you happen to click at the beginning of the cell, the note will be extended way before the mouse cursor crosses the grid to the next cell!

This makes writing in the MIDI Editor very unintuitive as it's not visually well represented (normally you'd just click in the grid you want to start, not worrying with the exact mouse cursor, and extend to the measure you want, based on the grid lines)

For reference, take a look at FL Studio MIDI Editor and what is expected:


It waits until you "draw" the entire grid measure to extend the note and that makes total sense to me.

It's probably a bug but I think it'll improve the overall experience of the MIDI editor.

Thanks a lot!

(see original discussion here)

Last edited by thommazk; 06-23-2022 at 06:12 PM.
thommazk is offline   Reply With Quote
Old 06-23-2022, 06:14 PM   #2
pcp
Human being with feelings
 
pcp's Avatar
 
Join Date: Oct 2021
Location: Singapore
Posts: 182
Default

It also affects note drag-to-move, not just insertion/extension, and it affects dragging left as well as right. Moreover the behaviour is inconsistent, or feels that way, as this gif shows. The first two notes (F and G) initially snap as expected, snapping correctly when the mouse cursor crosses the grid line. But the third note (F#) demonstrates the buggy behaviour, after which the initial F and G don't snap correctly any more.



That gif was recorded with scripts running but I've reproduced in a stock portable 6.61 REAPER install, on Windows 11.

I think more predictable snapping would have an outsized impact on the usability and enjoyability of the MIDI Editor. As mccrabney said in that original thread

Quote:
Originally Posted by mccrabney View Post
this is almost certainly one of the "REAPER's midi workflow is not smooth but i cannot articulate why" ghost issues that people bring up sometimes. these are very valuable fixes to make, even if the fanfare is low for them.
pcp is offline   Reply With Quote
Old 06-28-2022, 10:34 PM   #3
ferropop
Human being with feelings
 
ferropop's Avatar
 
Join Date: Jan 2016
Location: Los Angeles, CA
Posts: 3,547
Default

It's this specific style of quirk that seems like nothing, but it's involved in 90% of your mouse-clicks sometimes - and that's when it's more of a bug than a quirk.
__________________
FERRO
production / reaper substack : https://substack.com/@ferromontanino
instagram : http://www.instagram.com/ferropop
ferropop is online now   Reply With Quote
Old 07-05-2022, 03:56 PM   #4
thommazk
Human being with feelings
 
thommazk's Avatar
 
Join Date: Jun 2020
Location: Brazil
Posts: 264
Default

bump for the next release
thommazk is offline   Reply With Quote
Old 07-05-2022, 08:53 PM   #5
ferropop
Human being with feelings
 
ferropop's Avatar
 
Join Date: Jan 2016
Location: Los Angeles, CA
Posts: 3,547
Default

Also -

Let's say the grid is set to 1/16ths - because of the adaptive grid, if you zoom out until the 16ths grid disappears (doesn't take much) and it goes down to 1/8th --

If you insert notes in this situation, they are still inserting at 1/16th grid, even though visibly it's 1/8th!

The number of times I end up inserting notes incorrectly between the visible grid ... it's every single day.
__________________
FERRO
production / reaper substack : https://substack.com/@ferromontanino
instagram : http://www.instagram.com/ferropop

Last edited by ferropop; 07-05-2022 at 09:30 PM.
ferropop is online now   Reply With Quote
Old 07-06-2022, 10:51 AM   #6
ferropop
Human being with feelings
 
ferropop's Avatar
 
Join Date: Jan 2016
Location: Los Angeles, CA
Posts: 3,547
Default




...this should either be

1. Adaptive Grid, ie if the visual grid is going to change depending on zoom, the actual grid should follow along

2. No Adaptive Grid, so if you have 1/32 selected the grid will display 1/32 no matter the zoom.


WYSIWYG should be the usability standard always.
__________________
FERRO
production / reaper substack : https://substack.com/@ferromontanino
instagram : http://www.instagram.com/ferropop
ferropop is online now   Reply With Quote
Old 07-06-2022, 12:01 PM   #7
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,500
Default

Quote:
Originally Posted by ferropop View Post
...this should either be

1. Adaptive Grid, ie if the visual grid is going to change depending on zoom, the actual grid should follow along

2. No Adaptive Grid, so if you have 1/32 selected the grid will display 1/32 no matter the zoom.


WYSIWYG should be the usability standard always.
Yes, I miss that we dont have "Grid snap settings follow grid visibility" like we have for the arrnge.
nofish is offline   Reply With Quote
Old 07-06-2022, 12:58 PM   #8
ferropop
Human being with feelings
 
ferropop's Avatar
 
Join Date: Jan 2016
Location: Los Angeles, CA
Posts: 3,547
Default

Quote:
Originally Posted by nofish View Post
Yes, I miss that we dont have "Grid snap settings follow grid visibility" like we have for the arrnge.
Yup, the disconnect between visual and functional. Such a simple fix too
__________________
FERRO
production / reaper substack : https://substack.com/@ferromontanino
instagram : http://www.instagram.com/ferropop
ferropop is online now   Reply With Quote
Old 07-06-2022, 01:33 PM   #9
EvilDragon
Human being with feelings
 
EvilDragon's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 25,066
Default

Yep this is very annoying. FL did it right, really.
EvilDragon is offline   Reply With Quote
Old 07-06-2022, 03:40 PM   #10
strachupl
Human being with feelings
 
strachupl's Avatar
 
Join Date: Jan 2013
Posts: 764
Default

I second that it is one of the things that makes peoples opinion about midi in R-DAW clunky.
__________________
Love is patient and kind; love does not envy or boast; it is not arrogant or rude.
It does not insist on its own way; it is not irritable or resentful;
it does not rejoice at wrongdoing, but rejoices with the truth. Corinthians 13:4-6
strachupl is offline   Reply With Quote
Old 07-07-2022, 05:17 AM   #11
mccrabney
Human being with feelings
 
mccrabney's Avatar
 
Join Date: Aug 2015
Posts: 3,819
Default

Quote:
Originally Posted by nofish View Post
Yes, I miss that we dont have "Grid snap settings follow grid visibility" like we have for the arrnge.
very much this, but also the OP
__________________
mccrabney scripts: MIDI edits from the Arrange screen ala jjos/MPC sequencer
mccrabney is online now   Reply With Quote
Old 07-07-2022, 05:34 AM   #12
sockmonkey72
Human being with feelings
 
sockmonkey72's Avatar
 
Join Date: Sep 2021
Location: Berlin
Posts: 2,730
Default

please open another bug report/FR for issues unrelated to this specific problem, this is how stuff gets missed/ignored.
__________________
ReaPack Repository: right-click and copy index URL
sockmonkey72 is online now   Reply With Quote
Old 07-07-2022, 08:49 AM   #13
pcp
Human being with feelings
 
pcp's Avatar
 
Join Date: Oct 2021
Location: Singapore
Posts: 182
Default

Quote:
Originally Posted by pcp View Post
the third note (F#) demonstrates the buggy behaviour, after which the initial F and G don't snap correctly any more.

I've realized that what's going on in this case is not actually a bug in the sense of unpredictable behaviour -- the notes are snapping to other notes ahead of them in the grid, which is why the snapping behaviour changed, seemingly erratically, only after adding notes in the piano roll.

It's obviously useful to snap to other note edges, but the more logical behaviour I think is for that snapping to occur based on the mouse cursor touching snappable events, so the note would only extend/move when the cursor passes the snapped-to note edge, or grid line. So really, just what thommazk said in his original post.

Otherwise, if there was a visual cue when a note is snapping to something other than the grid -- I'm thinking of something like how in Premiere Pro and other NLEs you get a vertical line when dragging through a snappable edge -- it would make the behaviour way more grokkable and intuitive.
pcp is offline   Reply With Quote
Old 07-20-2022, 10:14 AM   #14
thommazk
Human being with feelings
 
thommazk's Avatar
 
Join Date: Jun 2020
Location: Brazil
Posts: 264
Default

Bump!
thommazk is offline   Reply With Quote
Old 08-13-2022, 11:33 AM   #15
thommazk
Human being with feelings
 
thommazk's Avatar
 
Join Date: Jun 2020
Location: Brazil
Posts: 264
Default

bump for the next release
thommazk is offline   Reply With Quote
Old 08-13-2022, 12:26 PM   #16
ferropop
Human being with feelings
 
ferropop's Avatar
 
Join Date: Jan 2016
Location: Los Angeles, CA
Posts: 3,547
Default

+1, huge benefit for what seems like a fairly basic tweak devs <3
__________________
FERRO
production / reaper substack : https://substack.com/@ferromontanino
instagram : http://www.instagram.com/ferropop
ferropop is online now   Reply With Quote
Old 08-13-2022, 07:21 PM   #17
kotll
Human being with feelings
 
Join Date: Jun 2021
Posts: 107
Default

bump as well, really annoying when editing MIDI
kotll is offline   Reply With Quote
Old 08-14-2022, 04:28 AM   #18
Chris Diablo
Human being with feelings
 
Join Date: Jul 2006
Posts: 107
Default

Agreed.

Please address this, Reaper gods.
Chris Diablo is offline   Reply With Quote
Old 08-23-2022, 12:34 PM   #19
thommazk
Human being with feelings
 
thommazk's Avatar
 
Join Date: Jun 2020
Location: Brazil
Posts: 264
Default

Bump for 6.67.
@devs, I believe this would benefit the feel of writing in the MIDI Editor so much.. I hope this isn't something super hard to fix!
thommazk is offline   Reply With Quote
Old 08-23-2022, 03:56 PM   #20
ferropop
Human being with feelings
 
ferropop's Avatar
 
Join Date: Jan 2016
Location: Los Angeles, CA
Posts: 3,547
Default

This same logic comes into play in a few spots. Would really clean things up and make the feel of the DAW so much more consistent and reliable if it were looked at.

I know it's not a sexy request, it's just quality of life stuff that unfortunately rarely gets looked at. In reality though, more people probably care about this than CLAP plugin support... but different strokes i suppose.
__________________
FERRO
production / reaper substack : https://substack.com/@ferromontanino
instagram : http://www.instagram.com/ferropop

Last edited by ferropop; 08-23-2022 at 06:38 PM.
ferropop is online now   Reply With Quote
Old 09-08-2022, 09:38 AM   #21
thommazk
Human being with feelings
 
thommazk's Avatar
 
Join Date: Jun 2020
Location: Brazil
Posts: 264
Default

bump for 6.68!

@devs, let us know if you're aware of this bug. I'm bumping this thread every release to see if you can check this out, as it's affecting many users.
thommazk is offline   Reply With Quote
Old 11-05-2022, 07:22 AM   #22
thommazk
Human being with feelings
 
thommazk's Avatar
 
Join Date: Jun 2020
Location: Brazil
Posts: 264
Default

Devs, can you take a look at this one?
thommazk is offline   Reply With Quote
Old 11-05-2022, 12:19 PM   #23
strachupl
Human being with feelings
 
strachupl's Avatar
 
Join Date: Jan 2013
Posts: 764
Default

Quote:
Originally Posted by thommazk View Post
bump for 6.68!

@devs, let us know if you're aware of this bug. I'm bumping this thread every release to see if you can check this out, as it's affecting many users.
thank you for keeping eye on this I support
__________________
Love is patient and kind; love does not envy or boast; it is not arrogant or rude.
It does not insist on its own way; it is not irritable or resentful;
it does not rejoice at wrongdoing, but rejoices with the truth. Corinthians 13:4-6
strachupl is offline   Reply With Quote
Old 12-20-2022, 05:58 AM   #24
thommazk
Human being with feelings
 
thommazk's Avatar
 
Join Date: Jun 2020
Location: Brazil
Posts: 264
Default

Bumping this as we got a new build.
thommazk is offline   Reply With Quote
Old 12-20-2022, 10:53 AM   #25
ferropop
Human being with feelings
 
ferropop's Avatar
 
Join Date: Jan 2016
Location: Los Angeles, CA
Posts: 3,547
Default

Thanks for taking the time to explain and demonstrate with the GIFs thommazk, the FL Studio comparison makes it clear as day.
__________________
FERRO
production / reaper substack : https://substack.com/@ferromontanino
instagram : http://www.instagram.com/ferropop
ferropop is online now   Reply With Quote
Old 02-14-2023, 02:24 PM   #26
thommazk
Human being with feelings
 
thommazk's Avatar
 
Join Date: Jun 2020
Location: Brazil
Posts: 264
Default

Another bump! Seeing a lot of MIDI Editor fixes recently, so I hope @devs can look at this one.
thommazk is offline   Reply With Quote
Old 04-02-2023, 05:08 PM   #27
thommazk
Human being with feelings
 
thommazk's Avatar
 
Join Date: Jun 2020
Location: Brazil
Posts: 264
Default

bump
thommazk is offline   Reply With Quote
Old 09-05-2023, 07:33 PM   #28
thommazk
Human being with feelings
 
thommazk's Avatar
 
Join Date: Jun 2020
Location: Brazil
Posts: 264
Default

Since v7.0 had updates in the MIDI Editor, I'm bumping this FR.
thommazk is offline   Reply With Quote
Old 10-16-2023, 07:12 AM   #29
thommazk
Human being with feelings
 
thommazk's Avatar
 
Join Date: Jun 2020
Location: Brazil
Posts: 264
Default

This fix would be a good fit with all the ME improvements that v7 will have.
thommazk is offline   Reply With Quote
Old 10-16-2023, 07:26 AM   #30
ferropop
Human being with feelings
 
ferropop's Avatar
 
Join Date: Jan 2016
Location: Los Angeles, CA
Posts: 3,547
Default

Same goes when say, grid is set to 1/32 but Zoom only shows 1/8 gridlines -- Reaper still allows 1/32 positioning! It's such a simple tweak to fix, and infinitely frustrating in its current form.
__________________
FERRO
production / reaper substack : https://substack.com/@ferromontanino
instagram : http://www.instagram.com/ferropop
ferropop is online now   Reply With Quote
Old 06-10-2024, 05:17 PM   #31
Arthur McArthur
Human being with feelings
 
Arthur McArthur's Avatar
 
Join Date: Sep 2016
Location: Toronto
Posts: 822
Default

This would be a big improvement to the feel of the MIDI editor
Arthur McArthur is offline   Reply With Quote
Old 04-11-2025, 09:28 AM   #32
thommazk
Human being with feelings
 
thommazk's Avatar
 
Join Date: Jun 2020
Location: Brazil
Posts: 264
Default

bump for the new MIDI overhaul feature branch that's being included
thommazk is offline   Reply With Quote
Old 04-11-2025, 10:08 AM   #33
elcalen
Human being with feelings
 
elcalen's Avatar
 
Join Date: Sep 2019
Location: Finland
Posts: 2,486
Default

Well, if you read the changelogs for recent builds... I haven't tested these myself, but v7.36rc1 did have these lines...
  • + MIDI editor: add option for snap to visible grid
  • + MIDI editor: snap to grid matches grid line visibility
__________________
Artist name Ben Enkindle. Trying to make electronic music with Linux software. In reality most likely just procrastinating.
elcalen is offline   Reply With Quote
Old 04-11-2025, 10:41 AM   #34
thommazk
Human being with feelings
 
thommazk's Avatar
 
Join Date: Jun 2020
Location: Brazil
Posts: 264
Default

Quote:
Originally Posted by elcalen View Post
Well, if you read the changelogs for recent builds... I haven't tested these myself, but v7.36rc1 did have these lines...
  • + MIDI editor: add option for snap to visible grid
  • + MIDI editor: snap to grid matches grid line visibility
The snap still feels like it doesn't follow the mouse cursor position, even with these recent changes.
thommazk is offline   Reply With Quote
Old 04-12-2025, 01:05 PM   #35
thommazk
Human being with feelings
 
thommazk's Avatar
 
Join Date: Jun 2020
Location: Brazil
Posts: 264
Default

Thanks for the fix, @devs! Dragging to extend a note feels much better now

While we're on the topic, dragging a note to move still feels a bit inconsistent:
thommazk is offline   Reply With Quote
Old 10-01-2025, 12:25 PM   #36
Cyaoeu
Human being with feelings
 
Join Date: Aug 2010
Location: Sweden
Posts: 27
Default

For me extending notes still feels bad. The editor closes when it loses focus though so I can't record it.

For me what feels bad is that the place where you clicked decides the starting point instead of just using the grid lines that exist. I want the note to move whenever I cross a grid line with the cursor, that way every action is consistent with the grid instead of having a new snapping behavior for every pixel the cursor is offset when clicking the note.

I made a bug report a few years ago which shows the issue - https://forum.cockos.com/showthread.php?t=250421

To see the behavior I would like to see you can enable "Snap notes/CC to the left" and move a 1 grid size note, it will always move whenever the cursor crosses a line. It breaks on larger notes though and doesn't work with extending or inserting (and dragging) notes.
Cyaoeu is offline   Reply With Quote
Reply

Thread Tools

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 03:25 PM.


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