Old 05-12-2021, 01:25 PM   #1
Malfunction
Human being with feelings
 
Malfunction's Avatar
 
Join Date: Sep 2020
Posts: 149
Default Is there anyway to get this info?

At first glance it might seem like some windows text that could be accessed trough some JS window function
Attached Images
File Type: jpg Untitle2d.jpg (23.1 KB, 74 views)
Malfunction is offline   Reply With Quote
Old 05-12-2021, 01:47 PM   #2
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,109
Default

You mean which pitch the mouse hovers?
If so, this script may be a starting point to look into:
https://forum.cockos.com/showthread.php?t=213505

edit:
Oops wrong link, now corrected.
nofish is offline   Reply With Quote
Old 05-12-2021, 02:38 PM   #3
Vagelis
Human being with feelings
 
Vagelis's Avatar
 
Join Date: Oct 2017
Location: Larisa, Greece
Posts: 3,827
Default

Quote:
Originally Posted by nofish View Post
You mean which pitch the mouse hovers?
If so, this script may be a starting point to look into:
https://forum.cockos.com/showthread.php?t=213505

edit:
Oops wrong link, now corrected.
Nice, useful for inline editor too. But when the mouse is outside the midi item, there's some delay before the tooltip disappears.
Is it possible to change this from the code?
Vagelis is offline   Reply With Quote
Old 05-12-2021, 04:25 PM   #4
Malfunction
Human being with feelings
 
Malfunction's Avatar
 
Join Date: Sep 2020
Posts: 149
Default

Quote:
Originally Posted by nofish View Post
You mean which pitch the mouse hovers?
If so, this script may be a starting point to look into:
https://forum.cockos.com/showthread.php?t=213505

edit:
Oops wrong link, now corrected.
That was a cute one
Anything that can make spice up the midi editor is appreciated.

no,acctually I just want the pitch/mouse info without having to use
reaper.BR_GetMouseCursorContext_MIDI() cos it has to load from the midi chunk, which is slow.
Malfunction is offline   Reply With Quote
Old 05-13-2021, 07:27 AM   #5
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,109
Default

Quote:
Originally Posted by Vagelis View Post
Nice, useful for inline editor too. But when the mouse is outside the midi item, there's some delay before the tooltip disappears.
Is it possible to change this from the code?
I've made a modified version of it where this is improved (also it shows mouse position in 16th instead of ticks).
It's also in ReaPack 'Show midi note name in tooltip_nofish mod.lua' (my ReaPack repo isn't enabled by default in ReaPack, see https://github.com/nofishonfriday/ReaScripts).
nofish is offline   Reply With Quote
Old 05-13-2021, 07:54 AM   #6
Vagelis
Human being with feelings
 
Vagelis's Avatar
 
Join Date: Oct 2017
Location: Larisa, Greece
Posts: 3,827
Default

^^ Super nice thanks a lot man!

I hope this will be implemented natively at some point, simple but so useful.
Until then i 'm going to use your script
Vagelis 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 08:56 PM.


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