Old 03-01-2023, 11:35 AM   #1
Edgemeal
Human being with feelings
 
Edgemeal's Avatar
 
Join Date: Apr 2016
Location: ASU`ogacihC
Posts: 3,797
Default v6.77rc1 - March 1 2023

v6.77rc1 - March 1 2023

+ MIDI editor: improve behavior of toggle all MIDI editor action
+ ReaScript: correct region navigation APIs when used on background projects [t=276610]
+ VST3: make MIDI learn/PC support opt-in for existing project compatibility (right click on I/O button)

Full Changelog - Pre-Releases - Feature Requests - Generated by WhatsNew2
Edgemeal is offline   Reply With Quote
Old 03-01-2023, 02:08 PM   #2
Wanekk
Human being with feelings
 
Join Date: Mar 2019
Location: Minsk
Posts: 70
Default mouse scroll

mouse wheel in "reaper.get_action_context()"
began to work rough, for example, when slowly scrolling the wheel, I get 0,
or a little faster and get a lot

in version 6.75 everything worked correctly

Last edited by Wanekk; 03-01-2023 at 02:13 PM.
Wanekk is offline   Reply With Quote
Old 03-01-2023, 02:47 PM   #3
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 15,586
Default

Quote:
Originally Posted by Wanekk View Post
mouse wheel in "reaper.get_action_context()"
began to work rough, for example, when slowly scrolling the wheel, I get 0,
or a little faster and get a lot

in version 6.75 everything worked correctly
thanks, fixing!

Worth noting that going forward this number will be a floating point number that may be less than 1.0...
Justin is offline   Reply With Quote
Old 03-01-2023, 03:02 PM   #4
mccrabney
Human being with feelings
 
mccrabney's Avatar
 
Join Date: Aug 2015
Posts: 3,636
Default

this is a longshot, but is this mouse speed stuff going to fix the issue where actions/scripts triggered by rapidly spun mousewheel events sometimes "pile up" and continue triggering even after the wheel has stopped spinning?
__________________
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 online now   Reply With Quote
Old 03-01-2023, 03:27 PM   #5
Edgemeal
Human being with feelings
 
Edgemeal's Avatar
 
Join Date: Apr 2016
Location: ASU`ogacihC
Posts: 3,797
Default

With "Maximum Vertical Zoom " set to 220% or higher, the action: "View: Toggle track zoom to maximum height" (ID: 40113) can't be toggled off.

Win10, 1080p display @ default scaling, etc
Edgemeal is offline   Reply With Quote
Old 03-01-2023, 04:36 PM   #6
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 15,586
Default

Quote:
Originally Posted by Edgemeal View Post
With "Maximum Vertical Zoom " set to 220% or higher, the action: "View: Toggle track zoom to maximum height" (ID: 40113) can't be toggled off.

Win10, 1080p display @ default scaling, etc
thx, fixing!
Justin is offline   Reply With Quote
Old 03-02-2023, 01:31 PM   #7
Wanekk
Human being with feelings
 
Join Date: Mar 2019
Location: Minsk
Posts: 70
Default

Quote:
Originally Posted by mccrabney View Post
this is a longshot, but is this mouse speed stuff going to fix the issue where actions/scripts triggered by rapidly spun mousewheel events sometimes "pile up" and continue triggering even after the wheel has stopped spinning?
i use my 2 script which move elements left/right up/down
never seen a script keep running after the wheel stops
Wanekk is offline   Reply With Quote
Old 03-02-2023, 02:25 PM   #8
mccrabney
Human being with feelings
 
mccrabney's Avatar
 
Join Date: Aug 2015
Posts: 3,636
Default

this can be experienced using a MIDI endless encoder or a free-spinning mousewheel using the action "Transport: Scrub/jog fine control (MIDI CC relative only)"

feed it enough messages fast enough and they start accumulating faster than REAPER can react, to the point that once you stop spinning the device, REAPER will spend a second catching up to the present. not really something that a licecap could show, but i've explained the gist of it. i've seen this in several scripts, as well, but it might be unavoidable as the scripts take time to run.

anyway, if it's not related to the work at hand, we can discuss it another time
__________________
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 online now   Reply With Quote
Old 03-02-2023, 10:37 PM   #9
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 15,586
Default

Quote:
Originally Posted by mccrabney View Post
this can be experienced using a MIDI endless encoder or a free-spinning mousewheel using the action "Transport: Scrub/jog fine control (MIDI CC relative only)"

feed it enough messages fast enough and they start accumulating faster than REAPER can react, to the point that once you stop spinning the device, REAPER will spend a second catching up to the present. not really something that a licecap could show, but i've explained the gist of it. i've seen this in several scripts, as well, but it might be unavoidable as the scripts take time to run.

anyway, if it's not related to the work at hand, we can discuss it another time
The MIDI side might be easier since we get a batch of MIDI message and we could coalesce the relative motion into larger events. Mousewheel gets queued by the OS, so we can't really do that. I guess we could buffer them and then every 10ms or so do a batch. Will experiment with that and see how much it ruins responsiveness...

side note -- that OS queueing is probably why some people see it and others don't -- it's driver dependent, I think most mouses I use do the coalescing themselves, because I can never reproduce that issue.

other side note -- on some macOS versions with some input devices I've reproduced it (that previous sentence was a lie apparently), which is why there's that preferences/general/advanced/throttle mouse events option (it's coalescing the events when that is enabled)
Justin is offline   Reply With Quote
Old 03-03-2023, 05:51 AM   #10
mccrabney
Human being with feelings
 
mccrabney's Avatar
 
Join Date: Aug 2015
Posts: 3,636
Default

thanks for giving me some insight into this.

in windows, i've been able to reproduce this with every mouse/rotary controller i've ever used in REAPER since 2007, to the point where i don't use (for example) scrub and a few similar actions. for other actions (mostly my own mousewheel scripts), i either just slow myself down or the issue doesn't present because it only requires a few ticks of the physical device to achieve the desired task.

note that (at least in my experience) the scrub action above can be used to demonstrate the issue pretty reliably, but something like "Edit: Move events left/right (mousewheel/MIDI relative only)" never seems to get bogged down, no matter how exaggerated my scrolling gets. likewise with vertical/horizontal zooming/scrolling with the mousewheel - the action/movement always seems to correspond 1:1 with the movement of the physical object - great!

whereas my script "nudge note, notes under mousewheel if no RE present" can pretty easily get behind the input from the encoder -- in this case, i assume it's due to my as-yet limited ability to optimize ReaScript.
__________________
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 online now   Reply With Quote
Old 03-03-2023, 02:10 PM   #11
Buy One
Human being with feelings
 
Buy One's Avatar
 
Join Date: Sep 2019
Posts: 1,005
Default

Quote:
Originally Posted by Justin View Post
thx, fixing!
Could then an action to always toggle track height to exactly 100% be added to fill in for the behavior which is now gone as far as i understand?
__________________
https://github.com/Buy-One/REAPER-scripts
REAPER is a DAW whose user guide file is larger than its installation file
Buy One is online now   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 04:51 AM.


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