Old 06-21-2022, 09:28 AM   #121
Kaxaze music
Human being with feelings
 
Kaxaze music's Avatar
 
Join Date: Sep 2020
Location: India
Posts: 283
Default

Quote:
Originally Posted by Ozman View Post
Is it possible to also write to metadata?
That would be very cool
Kaxaze music is offline   Reply With Quote
Old 06-21-2022, 11:26 AM   #122
FeedTheCat
Human being with feelings
 
FeedTheCat's Avatar
 
Join Date: May 2019
Location: Berlin
Posts: 2,164
Default

Quote:
Originally Posted by dna598 View Post
Any news on this front?
I have a prototype that's working, but it's quite a bit of work to turn it into a full script. And I currently don't really the time for it...

Quote:
Originally Posted by Kaxaze music View Post
This is a Very very useful Script. I am so happy today. now, I can insert drum samples from Media explorer into ReaSamplOmatic5000 without worrying about the tuning being not set correctly.

Would be nice to have a option to set default locked key for the keyboard that would make a key locked even after restarting the script.
I guess I can make the script remember if a note was locked previously. Isn't much trouble to add.

If you're using ReaSamplomatic, also have a look at my RS5K link script. It works really nicely with MX Tuner (any file/pitch changes are mirrored in the linked ReaSamplomatic instance).

I looked into writing metadata but gave up on it for now. I'll get back on it if the devs ever decide to add a native function.
__________________
Featured scripts: REAPER Update UtilityLil ChordboxGridbox/Adaptive gridMX TunerRS5K LinkMIDI Editor Magic Donate💝: PayPal|ko-fi
FeedTheCat is online now   Reply With Quote
Old 07-20-2022, 10:29 PM   #123
Kaxaze music
Human being with feelings
 
Kaxaze music's Avatar
 
Join Date: Sep 2020
Location: India
Posts: 283
Default A small Bug

I can't delete selected media from media explorer.

i always shows this error:-



but when the mx tuner is closed, it deletes it

when i Render and overwrite a previously rendered file (which is a common practice by most people) which is opened in mx tuner, reaper says this :-



then i have to restart reaper, open the project again and render it

Last edited by Kaxaze music; 11-30-2022 at 09:33 PM.
Kaxaze music is offline   Reply With Quote
Old 11-30-2022, 09:22 PM   #124
gdm_music
Human being with feelings
 
gdm_music's Avatar
 
Join Date: Sep 2022
Location: India
Posts: 128
Default

Still No Reply?
gdm_music is online now   Reply With Quote
Old 12-01-2022, 05:03 AM   #125
FeedTheCat
Human being with feelings
 
FeedTheCat's Avatar
 
Join Date: May 2019
Location: Berlin
Posts: 2,164
Default

Sry, I somehow missed your post. Looks like this issue is specific to Windows.
Just pushed a fix for it in v1.7.3. Hopefully that solves the problem.
__________________
Featured scripts: REAPER Update UtilityLil ChordboxGridbox/Adaptive gridMX TunerRS5K LinkMIDI Editor Magic Donate💝: PayPal|ko-fi
FeedTheCat is online now   Reply With Quote
Old 12-01-2022, 08:32 PM   #126
gdm_music
Human being with feelings
 
gdm_music's Avatar
 
Join Date: Sep 2022
Location: India
Posts: 128
Default

Delete works but rendering and overwriting a file opened in mx tuner doesn't :-
gdm_music is online now   Reply With Quote
Old 12-02-2022, 04:02 AM   #127
FeedTheCat
Human being with feelings
 
FeedTheCat's Avatar
 
Join Date: May 2019
Location: Berlin
Posts: 2,164
Default

Not sure what you are doing exactly, but I replicated the error message you have. In my case, it didn't have to do anything with the script though. I get the same error message when the rendered file is open in the media explorer without the script running. Rendering works again when closing the media explorer. Can you check if that's the case? Then it's likely a reaper bug, not a MX Tuner bug.
__________________
Featured scripts: REAPER Update UtilityLil ChordboxGridbox/Adaptive gridMX TunerRS5K LinkMIDI Editor Magic Donate💝: PayPal|ko-fi
FeedTheCat is online now   Reply With Quote
Old 12-02-2022, 04:56 AM   #128
gdm_music
Human being with feelings
 
gdm_music's Avatar
 
Join Date: Sep 2022
Location: India
Posts: 128
Default

Quote:
Originally Posted by FeedTheCat View Post
I get the same error message when the rendered file is open in the media explorer without the script running. Rendering works again when closing the media explorer. Can you check if that's the case? Then it's likely a reaper bug, not a MX Tuner bug.
Ohh yeah sorry to bother you . i tested it now, it works after closing the ME for me too. i should do a reaper bug report then
gdm_music is online now   Reply With Quote
Old 12-11-2022, 08:20 AM   #129
dna598
Human being with feelings
 
Join Date: Jul 2007
Posts: 710
Default

Hmm, on 6.71 and went to use MX tuner. Forgot to use it for a while. Locked it to a key, and turned autoplay on in Media explorer.

The playback is now very slow to happen, whereas before it was instant. freezes Reaper. Spinning wheel of death is appearing.

Anyone seen this?

EDIT: seems to be working today

Last edited by dna598; 12-12-2022 at 05:38 AM.
dna598 is offline   Reply With Quote
Old 12-14-2022, 04:39 PM   #130
FeedTheCat
Human being with feelings
 
FeedTheCat's Avatar
 
Join Date: May 2019
Location: Berlin
Posts: 2,164
Default

Quote:
Originally Posted by dna598 View Post
Hmm, on 6.71 and went to use MX tuner. Forgot to use it for a while. Locked it to a key, and turned autoplay on in Media explorer.

The playback is now very slow to happen, whereas before it was instant. freezes Reaper. Spinning wheel of death is appearing.

Anyone seen this?

EDIT: seems to be working today
Hmm, can't say I have. Let me know if it happens again.
__________________
Featured scripts: REAPER Update UtilityLil ChordboxGridbox/Adaptive gridMX TunerRS5K LinkMIDI Editor Magic Donate💝: PayPal|ko-fi
FeedTheCat is online now   Reply With Quote
Old 01-13-2023, 07:45 AM   #131
X.E.L. OHH
Human being with feelings
 
X.E.L. OHH's Avatar
 
Join Date: Sep 2022
Posts: 7
Default

Hey FTC thanks for this tool. It's one of those tools that you didn't know you needed until you used it. I made a video using that may help people visually see what it does and how it works. Once again thanks for this tool. https://youtu.be/AiV0MKuWAWo
X.E.L. OHH is offline   Reply With Quote
Old 01-14-2023, 12:41 PM   #132
FeedTheCat
Human being with feelings
 
FeedTheCat's Avatar
 
Join Date: May 2019
Location: Berlin
Posts: 2,164
Default

Cool video! Interesting to see it being used with loops, only ever used it with one-shot samples. Just so you know, it only analyzes the first 3 seconds of audio.

Was surprised it didn't catch the C in that filename though . Apparently I had an exception just for this specific case. (I have a lot of samples that have names like "Color A something" etc.)

Pushed a small update to make it work now.

v1.7.4
  • Improved file name pitch detection
  • FFT algorithm is now set as default (had some recent improvements)
__________________
Featured scripts: REAPER Update UtilityLil ChordboxGridbox/Adaptive gridMX TunerRS5K LinkMIDI Editor Magic Donate💝: PayPal|ko-fi
FeedTheCat is online now   Reply With Quote
Old 01-14-2023, 12:49 PM   #133
FeedTheCat
Human being with feelings
 
FeedTheCat's Avatar
 
Join Date: May 2019
Location: Berlin
Posts: 2,164
Default

Ah also:

I just made a small feature request for native actions to add metadata. If it gets added we could do stuff like ctrl+click on a key to quickly add metadata for it. (Make MX tuner remember the key for specific files permanently).

In case anyone's interested, feel free to bump that FR from time to time
__________________
Featured scripts: REAPER Update UtilityLil ChordboxGridbox/Adaptive gridMX TunerRS5K LinkMIDI Editor Magic Donate💝: PayPal|ko-fi
FeedTheCat is online now   Reply With Quote
Old 01-18-2023, 02:05 PM   #134
Alex Ortega
Human being with feelings
 
Join Date: Oct 2013
Posts: 105
Default

It's a pity that it doesn't work on mac os monterey m1 pro :-(


Last edited by Alex Ortega; 01-18-2023 at 03:41 PM.
Alex Ortega is offline   Reply With Quote
Old 01-18-2023, 04:39 PM   #135
FeedTheCat
Human being with feelings
 
FeedTheCat's Avatar
 
Join Date: May 2019
Location: Berlin
Posts: 2,164
Default

Quote:
Originally Posted by Alex Ortega View Post
It's a pity that it doesn't work on mac os monterey m1 pro :-(

Have you installed JS_ReascriptAPI? Or isn't it available for M1 macs?
__________________
Featured scripts: REAPER Update UtilityLil ChordboxGridbox/Adaptive gridMX TunerRS5K LinkMIDI Editor Magic Donate💝: PayPal|ko-fi
FeedTheCat is online now   Reply With Quote
Old 03-25-2023, 12:22 PM   #136
FeedTheCat
Human being with feelings
 
FeedTheCat's Avatar
 
Join Date: May 2019
Location: Berlin
Posts: 2,164
Default

Quote:
Originally Posted by FeedTheCat View Post
I just made a small feature request for native actions to add metadata. If it gets added we could do stuff like ctrl+click on a key to quickly add metadata for it. (Make MX tuner remember the key for specific files permanently).
This was just added in the latest dev release. I played around with it a bit and looks like it works great.

We can now quickly set key metadata by alt-clicking on a key, and removing it by alt-clicking the metadata icon:



I'll update MX Tuner to include this feature once the actions make it into a main release.
__________________
Featured scripts: REAPER Update UtilityLil ChordboxGridbox/Adaptive gridMX TunerRS5K LinkMIDI Editor Magic Donate💝: PayPal|ko-fi
FeedTheCat is online now   Reply With Quote
Old 03-25-2023, 01:31 PM   #137
Spookye
Human being with feelings
 
Spookye's Avatar
 
Join Date: Jul 2018
Location: Torino, Italia
Posts: 734
Default

Thnx FTC.......thnx thnx thnx
__________________
Cupboard Home Studio YT
https://www.youtube.com/channel/UCm8...X1912MA260ELzg
Spookye is offline   Reply With Quote
Old 08-06-2023, 01:12 PM   #138
FeedTheCat
Human being with feelings
 
FeedTheCat's Avatar
 
Join Date: May 2019
Location: Berlin
Posts: 2,164
Default

Update to v1.8:
  • Alt-click on a key now adds 'key' metadata (not automatic on MacOS). If the pitch detection wasn't accurate this is a quick way to save the correct file pitch for future detection.
  • Alt-click on the metadata icon now removes 'key' metadata
  • Reworked how MX Tuner detects pitch. Instead of analyzing the first 3 seconds of audio, it now finds the loudest section of the file and analyzes 1 sec of audio. The window size (1 sec by default) can be changed in menu > algorithm.
  • Improved FFT pitch detection algorithm (better harmonics detection)
  • FTC algorithm is now deprecated
__________________
Featured scripts: REAPER Update UtilityLil ChordboxGridbox/Adaptive gridMX TunerRS5K LinkMIDI Editor Magic Donate💝: PayPal|ko-fi
FeedTheCat is online now   Reply With Quote
Old 08-06-2023, 03:36 PM   #139
gxray
Human being with feelings
 
Join Date: Dec 2020
Location: Miami, FL USA
Posts: 396
Default

I made a small enhancement/feature for myself, sharing here in case anyone else finds it useful:

It displays the underlying detected key and the method used for detecting it in a box in the upper-right corner:

SOURCE CODE:
https://gist.githubusercontent.com/G...%2520Tuner.lua

EXAMPLE:


PHP Code:
diff --git a/MX Tuner original.lua b/MX Tuner.lua
index 828e5b9
..962b549 100644
--- a/MX Tuner original.lua    
+++ b/MX Tuner.lua    
@@ -44,+44,@@ local prev_use_rate
 local prev_file_pitch
 local sel_note_name
 local prev_file
+local underlying_note_name
+local detected_pitch_source -- "Metadata" "Filename" "Algorithm" "MIDI"
 
 
local locked_key
 local hovered_key
@@ -1003,+1005,42 @@ function DrawPiano()
     
gfx.update()
 
end
 
+function DrawDetectedPitchInfo()
+    -- 
Set box dimensions
+    local box_width 110
+    local box_height 50
+
+    -- 
Calculate right aligned x position
+    local box_x gfx.box_width
+
+    -- 
Draw gray box aligned to right side of window
+    gfx.set(0.30.30.3)
+    
gfx.rect(box_x0box_widthbox_height1)
+
+    -- 
Add padding
+    local padding 8
+
+    -- 
Draw key name
+    gfx.set(111)
+    
gfx.setfont(1''14string.byte('b'))
+    
local key_text underlying_note_name and 'Key: ' .. underlying_note_name or ''
+    local text_wtext_h gfx.measurestr(key_text)
+
+    
gfx.box_x padding
+    gfx.padding
+    gfx.drawstr(key_text)
+
+    -- 
Draw key source
+    gfx.set(111)
+    
local source_text detected_pitch_source and 'Source: ' .. detected_pitch_source or ''
+    local text_wtext_h gfx.measurestr(source_text)
+
+    
gfx.box_x padding
+    gfx.padding text_h 4
+    gfx.drawstr(source_text)
+
end
+
+
 function 
Main()
     -- 
Ensure hwnd for MX is valid (changes when docked etc.)
     if 
not reaper.ValidatePtr(mx'HWND'then
@@ -1051,11 +1089,13 @@ function Main()
         if 
parse_meta_mode == 1 then
             curr_parsing_mode 
2
             file_pitch 
GetPitchFromMetadata(new_file)
+            
detected_pitch_source 'Metadata'
         
end
         
-- Check file name for pitch
         
if not file_pitch and parse_name_mode == 1 then
             curr_parsing_mode 
1
             file_pitch 
GetPitchFromFileName(new_file)
+            
detected_pitch_source 'Filename'
         
end
         
-- Use chosen pitch detection algorithm to find pitch
         
if not file_pitch or is_parsing_bypassed then
@@ -1066,+1106,@@ function Main()
                 -- 
Get pitch from MIDI file
                 local root_name 
GetMIDIFileRootName(new_file)
                 
file_pitch NameToFrequency(root_name)
+                
detected_pitch_source 'MIDI'
             
else
                 -- 
Get pitch from audio file
                 
if algo_mode == 1 then
@@ -1074,+1115,@@ function Main()
                 if 
algo_mode == 2 then
                     file_pitch 
GetPitchFFT(new_file)
                 
end
+                detected_pitch_source 'Algorithm'
             
end
         end
         prev_file_pitch 
file_pitch
@@ -1084,+1126,@@ function Main()
                 
pitch_offs pitch_offs 12 math.log(mx_rate2)
             
end
             sel_note_name 
FrequencyToName(file_pitchpitch_offs)
+            
underlying_note_name FrequencyToName(file_pitch)
         
end
 
         
if file_pitch and locked_key then
@@ -1177,+1220,10 @@ function Main()
         
is_redraw true
     end
 
-    if is_redraw then DrawPiano() end
+    if is_redraw then
+        DrawPiano()
+        
DrawDetectedPitchInfo()
+    
end
 
     
-- Open settings menu on right click
     
if gfx.mouse_cap == 2 then 
__________________
Seasoned codemonkey
Dunno a thing about making music (here to learn!)
gxray is offline   Reply With Quote
Old 10-29-2023, 08:41 AM   #140
/AND/
Human being with feelings
 
Join Date: Aug 2022
Posts: 717
Default

This thread / tool named almost exactly as Liuanlin's MX Tune plugin (https://github.com/liuanlin-mx/MXTune)
/AND/ is offline   Reply With Quote
Old 10-30-2023, 02:51 AM   #141
FeedTheCat
Human being with feelings
 
FeedTheCat's Avatar
 
Join Date: May 2019
Location: Berlin
Posts: 2,164
Default

Quote:
Originally Posted by /AND/ View Post
This thread / tool named almost exactly as Liuanlin's MX Tune plugin (https://github.com/liuanlin-mx/MXTune)
Oh cool, has a linux version as well! V1.0 of MXTune was released in July 2021, so I guess that makes me the copycat
__________________
Featured scripts: REAPER Update UtilityLil ChordboxGridbox/Adaptive gridMX TunerRS5K LinkMIDI Editor Magic Donate💝: PayPal|ko-fi
FeedTheCat is online now   Reply With Quote
Old 11-04-2023, 08:14 AM   #142
/AND/
Human being with feelings
 
Join Date: Aug 2022
Posts: 717
Default

I don't think that technically you are a copycat, since the name is almost the same and your plugin deals with a different type of 'tuning' (i.e. not with live pitch correction).

But some confusion might be bound anyway
/AND/ is offline   Reply With Quote
Old 02-19-2024, 03:39 PM   #143
Kaze
Human being with feelings
 
Join Date: Apr 2015
Posts: 24
Default

For some reason, whenever I open the plugin, I notice that on the media explorer, when I try to preview a sound, it gets a bit laggy, like the "line" moves as if Reaper has frame drops. Has anyone else noticed that or it's just me? (It only happens when the plugin is running/or it's docked).
Kaze is offline   Reply With Quote
Old 02-19-2024, 06:27 PM   #144
FeedTheCat
Human being with feelings
 
FeedTheCat's Avatar
 
Join Date: May 2019
Location: Berlin
Posts: 2,164
Default

Quote:
Originally Posted by Kaze View Post
For some reason, whenever I open the plugin, I notice that on the media explorer, when I try to preview a sound, it gets a bit laggy, like the "line" moves as if Reaper has frame drops. Has anyone else noticed that or it's just me? (It only happens when the plugin is running/or it's docked).
Hmmm, maybe it's the pitch detection algorithm. Are you on Windows? (this stuff usually happens on Windows).

When the script is active but not docked it doesn't happen? If so, that's weird...
__________________
Featured scripts: REAPER Update UtilityLil ChordboxGridbox/Adaptive gridMX TunerRS5K LinkMIDI Editor Magic Donate💝: PayPal|ko-fi
FeedTheCat is online now   Reply With Quote
Old 02-19-2024, 08:08 PM   #145
PitchSlap
Human being with feelings
 
PitchSlap's Avatar
 
Join Date: Jan 2008
Location: Vancouver, BC
Posts: 3,793
Default

I'm shocked it took me until today to (re)discover this script (thanks Reapertips!)
It was already installed but I must've mistaken it for a guitar tuner or something.

As someone that religiously adds key information to filenames this will be amazingly useful, the only snag is I use a circle of fifths based system which is more useful for determining harmonic compatibility between different keys.

I'd be super grateful if you could add support for the Camelot System/Open Key which are the same thing with different naming. It's useful enough for me that I don't mind trying to modify it myself with a coding assistant, but it would need to be redone with each update.

A major side benefit of 'harmonic awareness' is the script could eventually use this to reduce the amount of pitch-shifting, or know when it's not necessary at all.

Simple example:
If locked to 8B (C Major) and selecting a file that's 7B or 9B (F&G Major) it could know to leave them alone as they are highly compatible keys (5th and 7th if in root note terms.) Similar with 8A (A Minor) which contains all the same notes.


This includes Open Key:


Another thing I really like is the frameless window.
I already have my mixer docked below the Media Explorer on the right side so am trying to use it Lil Chordbox style in available space.
I don't mind losing a bit of the scroll bar like this, but would prefer to see some or all of it.

It seems the only way to adjust the size is using the frame so if I make it small enough to fit entirely in the bottom info section only the title bar is visible which means I can't access the options to hide the frame.

Shortcuts for certain settings might help but be tricky not to clash with existing Reaper ones, so maybe a modifier key for resizing edges and modifier click-drag to move could work in frameless mode?
__________________
FRs: v5 Media Explorer Requests, Global Quantization, Session View
Win10 Pro 64-bit, Reaper 6(x64), AMD 3950x, Aorus X570 Master, 64GB DDR4 3600, PowerColor Red Devil 5700XT, EVO 970 2TB, 10TB HD, Define R6
PitchSlap is offline   Reply With Quote
Old 02-20-2024, 02:07 AM   #146
buckman
Human being with feelings
 
buckman's Avatar
 
Join Date: Jul 2008
Posts: 1,850
Default

Just found this via Reapertips Youtube video

Brilliant idea!

I used to use Acid Pro back in the day, and it was fast, and that was with auditioning a sample, dragging it into the timeline and pitching it to see if it would work!

This is 20x faster! and a musical keyboard for pitch too!

Even better is the Snap all samples to the same note/pitch when auditioning and the 'Tune With Rate' option that I guess doesn't actually stretch anything just uses the rate for cleaner pitching?

I asked for this a while ago, and struggled to get this across, (pitching without a stretch algorithm) but now it looks like this does it!! Well done @FeedTheCat!!
buckman is offline   Reply With Quote
Old 02-20-2024, 03:18 AM   #147
Kaze
Human being with feelings
 
Join Date: Apr 2015
Posts: 24
Default

Quote:
Originally Posted by FeedTheCat View Post
Hmmm, maybe it's the pitch detection algorithm. Are you on Windows? (this stuff usually happens on Windows).

When the script is active but not docked it doesn't happen? If so, that's weird...
Ye, I am on windows and the specs of PC are good to handle way more demanding stuff. And nono, whenever the script is active, the framedrops start regardless of if it's docked or not. Once I open the script, that 'laggy-ness' will exist until I close Reaper or terminate the script. It's weird because I have a lot of scripts running and that's the only one that gives me frame drops sadly.

Here is an example. You can notice the 'time count' and the line to start getting laggy once I run MX Tuner.
https://i.imgur.com/JzWAlIC.mp4
Kaze is offline   Reply With Quote
Old 02-20-2024, 06:01 AM   #148
FeedTheCat
Human being with feelings
 
FeedTheCat's Avatar
 
Join Date: May 2019
Location: Berlin
Posts: 2,164
Default

Quote:
Originally Posted by PitchSlap View Post
I'd be super grateful if you could add support for the Camelot System/Open Key which are the same thing with different naming. It's useful enough for me that I don't mind trying to modify it myself with a coding assistant, but it would need to be redone with each update.

A major side benefit of 'harmonic awareness' is the script could eventually use this to reduce the amount of pitch-shifting, or know when it's not necessary at all.
Is the info in the filename or in the metadata? Could you send me a few examples for both camelot and open key? (screenshot should do it).

I'll see what I can do about the frameless mode.

Quote:
Originally Posted by buckman View Post
I asked for this a while ago, and struggled to get this across, (pitching without a stretch algorithm) but now it looks like this does it!! Well done @FeedTheCat!!


Quote:
Originally Posted by Kaze View Post
Here is an example. You can notice the 'time count' and the line to start getting laggy once I run MX Tuner.
https://i.imgur.com/JzWAlIC.mp4
Thx for the vid, that gives so much info! Unfortunately I can't replicate it on Windows 10. Weird that it happens just when the script is running, on my end it barely uses CPU. It also doesn't do something that I'd "suspect" of causing UI stutters like this. Maybe it's something with JS_ReaScriptAPI on Win11, I'll try to test that when I get the chance. Or maybe it's a specific REAPER setting I'm missing.

If you're willing to get your hands dirty and debug it on your system (nothing crazy or time consuming, I'd send you some instructions) let me know. I'll get back to you after testing it on Win11 though.

Aaa, btw. If you're running an older reaper version (between 7.03 and 7.08) make sure to update both REAPER and MX Tuner. There were some things in these versions that could potentially be the cause.
__________________
Featured scripts: REAPER Update UtilityLil ChordboxGridbox/Adaptive gridMX TunerRS5K LinkMIDI Editor Magic Donate💝: PayPal|ko-fi
FeedTheCat is online now   Reply With Quote
Old 02-20-2024, 06:24 AM   #149
Kaze
Human being with feelings
 
Join Date: Apr 2015
Posts: 24
Default

Quote:
Originally Posted by FeedTheCat View Post
Thx for the vid, that gives so much info! Unfortunately I can't replicate it on Windows 10. Weird that it happens just when the script is running, on my end it barely uses CPU. It also doesn't do something that I'd "suspect" of causing UI stutters like this. Maybe it's something with JS_ReaScriptAPI on Win11, I'll try to test that when I get the chance. Or maybe it's a specific REAPER setting I'm missing.

If you're willing to get your hands dirty and debug it on your system (nothing crazy or time consuming, I'd send you some instructions) let me know. I'll get back to you after testing it on Win11 though.

Aaa, btw. If you're running an older reaper version (between 7.03 and 7.08) make sure to update both REAPER and MX Tuner. There were some things in these versions that could potentially be the cause.
Oh sure! I am on Windows 11, I run the latest versions on everything, Reaper, SWS, ReaPack and all that. I saw that you pushed a mini-update like an hour ago, right? With that update, now I can just click to close MX Tuner normally and the lag goes away (obviously if I re-open it, it comes back) but I don't have to close Reaper or forcefully terminate the MX Tuner instance.

Also check this clip, do you think that plays a role? If I drag and move the plugin, the frames drops even more while I do that.
https://i.imgur.com/dMjkySt.mp4
Kaze is offline   Reply With Quote
Old 02-20-2024, 07:12 AM   #150
FeedTheCat
Human being with feelings
 
FeedTheCat's Avatar
 
Join Date: May 2019
Location: Berlin
Posts: 2,164
Default

Quote:
Originally Posted by Kaze View Post
Oh sure! I am on Windows 11, I run the latest versions on everything, Reaper, SWS, ReaPack and all that. I saw that you pushed a mini-update like an hour ago, right? With that update, now I can just click to close MX Tuner normally and the lag goes away (obviously if I re-open it, it comes back) but I don't have to close Reaper or forcefully terminate the MX Tuner instance.

Also check this clip, do you think that plays a role? If I drag and move the plugin, the frames drops even more while I do that.
https://i.imgur.com/dMjkySt.mp4
Oh wow, that is very strange and definitely related, thx!
__________________
Featured scripts: REAPER Update UtilityLil ChordboxGridbox/Adaptive gridMX TunerRS5K LinkMIDI Editor Magic Donate💝: PayPal|ko-fi
FeedTheCat is online now   Reply With Quote
Old 02-20-2024, 09:06 AM   #151
FeedTheCat
Human being with feelings
 
FeedTheCat's Avatar
 
Join Date: May 2019
Location: Berlin
Posts: 2,164
Default

v1.8.2 adds tooltips to the detection indicator:

__________________
Featured scripts: REAPER Update UtilityLil ChordboxGridbox/Adaptive gridMX TunerRS5K LinkMIDI Editor Magic Donate💝: PayPal|ko-fi
FeedTheCat is online now   Reply With Quote
Old 02-20-2024, 09:16 AM   #152
FeedTheCat
Human being with feelings
 
FeedTheCat's Avatar
 
Join Date: May 2019
Location: Berlin
Posts: 2,164
Default

Quote:
Originally Posted by Kaze View Post
Also check this clip, do you think that plays a role? If I drag and move the plugin, the frames drops even more while I do that.
https://i.imgur.com/dMjkySt.mp4
Unfortunately I can't reproduce that on Windows 11 as well.



Some ideas:

Is "Avoid focus" under right-click menu > Window enabled? In you GIF it looks like it isn't. If it is, try unchecking it.

Any chance you have messed with media explorer settings a lot? In that case you could send me your reaper.ini file (REAPER>Options>Show resource path) or you can try on a fresh portable install and see if the issue persists.
__________________
Featured scripts: REAPER Update UtilityLil ChordboxGridbox/Adaptive gridMX TunerRS5K LinkMIDI Editor Magic Donate💝: PayPal|ko-fi
FeedTheCat is online now   Reply With Quote
Old 02-20-2024, 09:49 AM   #153
Kaze
Human being with feelings
 
Join Date: Apr 2015
Posts: 24
Default

Quote:
Originally Posted by FeedTheCat View Post
Unfortunately I can't reproduce that on Windows 11 as well.



Some ideas:

Is "Avoid focus" under right-click menu > Window enabled? In you GIF it looks like it isn't. If it is, try unchecking it.

Any chance you have messed with media explorer settings a lot? In that case you could send me your reaper.ini file (REAPER>Options>Show resource path) or you can try on a fresh portable install and see if the issue persists.
Ye, "Avoid focus" is unchecked. I haven't done anything in media explorer settings, they are most of the stuff on default.
I mean, it's not the end of the world, the plugin is still usable for me since that other issue got fixed that I don't have to close Reaper or forcefully terminate the MX Tuner instance to bring the smooth frames back. And since it looks like I am the only one with this issue, maybe it's something on my PC that causes it even tho I can't think of what.

Check the funniest part now. I have the MX Tuner on, and it gives those laggy frame drops like before, however if I right click and bring the menu, it goes smooth and works as intended. If I close the menu options, it goes back to frame drops.
https://i.imgur.com/3PdDDsB.mp4

Even now, it's not that bad for me personally, I will still use the plugin but I thought some others had the same issue so I thought of asking.

Last edited by Kaze; 02-20-2024 at 09:58 AM.
Kaze is offline   Reply With Quote
Old 02-21-2024, 04:28 AM   #154
FeedTheCat
Human being with feelings
 
FeedTheCat's Avatar
 
Join Date: May 2019
Location: Berlin
Posts: 2,164
Default

Quote:
Originally Posted by Kaze View Post
Check the funniest part now. I have the MX Tuner on, and it gives those laggy frame drops like before, however if I right click and bring the menu, it goes smooth and works as intended. If I close the menu options, it goes back to frame drops.
Yea that it to be expected. When the menu is shown the script is basically halted until you click something.

Quote:
Originally Posted by Kaze View Post
Even now, it's not that bad for me personally, I will still use the plugin but I thought some others had the same issue so I thought of asking.
I'll write you some instructions on how to debug it. If you're up to it and have the time you can try this:

1. Install Lua profiler in ReaPack (and ReaImGui if you haven't already).

2. Right click on MX tuner in the Action list and press "Edit selected custom action/ReaScript". Then insert this code at the very top of the file:

Code:
local profiler = dofile(reaper.GetResourcePath() ..
  '/Scripts/ReaTeam Scripts/Development/cfillion_Lua profiler.lua')
reaper.defer = profiler.defer
profiler.attachToWorld() -- after all functions have been defined
profiler.run()
3. Press save (it should run the script) otherwise run it manually in the action list after saving. A blue profiler window should show up along with MX Tuner, click this:



and send me a screenshot of the result.

When you're done (to get rid of that profiler window) either reinstall MX tuner in Reapack, or delete the code you added.
__________________
Featured scripts: REAPER Update UtilityLil ChordboxGridbox/Adaptive gridMX TunerRS5K LinkMIDI Editor Magic Donate💝: PayPal|ko-fi
FeedTheCat is online now   Reply With Quote
Old 02-21-2024, 06:48 AM   #155
FeedTheCat
Human being with feelings
 
FeedTheCat's Avatar
 
Join Date: May 2019
Location: Berlin
Posts: 2,164
Default

Ok folks, in v1.8.3 I reworked the "avoid focus" mode to be less aggressive. It will now only set focus back to the media explorer when clicking inside the script window. Hopefully that works just as well and avoids issues with right-clicking the title bar etc.
__________________
Featured scripts: REAPER Update UtilityLil ChordboxGridbox/Adaptive gridMX TunerRS5K LinkMIDI Editor Magic Donate💝: PayPal|ko-fi
FeedTheCat is online now   Reply With Quote
Old 02-21-2024, 08:46 AM   #156
Kaze
Human being with feelings
 
Join Date: Apr 2015
Posts: 24
Default

Quote:
Originally Posted by FeedTheCat View Post
and send me a screenshot of the result.
Mhmm I see. Here are the results when I run it. I also noticed the VU Meter (ZenoMOD) that I have on my master track is getting 'laggy' when I have MX Tuner open. So it's not just the media explorer but I guess whole Reaper's frames are dropping.
Attached Images
File Type: png reaper_qVP3e6fSHC.png (61.5 KB, 10 views)
Kaze is offline   Reply With Quote
Old 02-21-2024, 11:04 AM   #157
FeedTheCat
Human being with feelings
 
FeedTheCat's Avatar
 
Join Date: May 2019
Location: Berlin
Posts: 2,164
Default

Quote:
Originally Posted by Kaze View Post
Mhmm I see. Here are the results when I run it. I also noticed the VU Meter (ZenoMOD) that I have on my master track is getting 'laggy' when I have MX Tuner open. So it's not just the media explorer but I guess whole Reaper's frames are dropping.
Awesome, thanks that helps a lot! Just uploaded v1.8.4. Can you check if it made a difference?
__________________
Featured scripts: REAPER Update UtilityLil ChordboxGridbox/Adaptive gridMX TunerRS5K LinkMIDI Editor Magic Donate💝: PayPal|ko-fi
FeedTheCat is online now   Reply With Quote
Old 02-21-2024, 12:29 PM   #158
Kaze
Human being with feelings
 
Join Date: Apr 2015
Posts: 24
Default

Quote:
Originally Posted by FeedTheCat View Post
Awesome, thanks that helps a lot! Just uploaded v1.8.4. Can you check if it made a difference?
Perfect! It's fixed now. Great work.
Kaze is offline   Reply With Quote
Old 02-22-2024, 12:14 PM   #159
Subz
Human being with feelings
 
Subz's Avatar
 
Join Date: Jun 2006
Location: UK
Posts: 3,210
Default

Key lock is cool!

Have you thought about scale lock? So it snaps to the closest key in a scale?

Subz
Subz is offline   Reply With Quote
Old 02-22-2024, 12:23 PM   #160
tfmc
Human being with feelings
 
Join Date: Feb 2019
Posts: 138
Default

Thanx for this fantastic program.
How do I get it to stay with the media explorer? I am using the Repertips Explorer docked on the side. and every time I close Reaper, and then open it again, it is not there. when I run the action it shows up below the explorer like I left it.
I want it always to be there. Do I need to have it run on startup? If so, How can I do that? I guess what I would like it to do is become part of media explorer and have it show up in the same place every time. Is that possible?
thanx again.

Last edited by tfmc; 02-22-2024 at 01:00 PM.
tfmc 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 05:52 PM.


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