Old 09-17-2021, 03:56 AM   #1
uksnowy
Human being with feelings
 
uksnowy's Avatar
 
Join Date: Feb 2008
Location: 6950 DK
Posts: 659
Default JSFX Fader resolution

Hi all,

While using the MIDI Transpose JSFX plugin. I like to have open so that I can roll the transpose by semitones roll by way of my mouse wheel. However, what I have noticed is that as standard the fader jumps two semitones at a time. I can make this to be one semitone jumps by holding down 'ctrl'. The question is: can it be made so that the standard resolution is one semitone.

I hope this makes sense.
__________________
REAPING HAVOC SINCE 2008
uksnowy is offline   Reply With Quote
Old 09-17-2021, 01:24 PM   #2
ashcat_lt
Human being with feelings
 
Join Date: Dec 2012
Posts: 7,264
Default

If you hit edit, toward the top will be the slider definitions. The last number between the < > brackets is the increment amount. Try replacing that with half of whatever it is now, then Ctrl+S to save and recompile the effect. See if that helps.
ashcat_lt is offline   Reply With Quote
Old 09-20-2021, 05:25 AM   #3
uksnowy
Human being with feelings
 
uksnowy's Avatar
 
Join Date: Feb 2008
Location: 6950 DK
Posts: 659
Default

Quote:
Originally Posted by ashcat_lt View Post
If you hit edit, toward the top will be the slider definitions. The last number between the < > brackets is the increment amount. Try replacing that with half of whatever it is now, then Ctrl+S to save and recompile the effect. See if that helps.
Thank you. I did look at the code to see if it obvious..But not to my inept eye it wasnt.
__________________
REAPING HAVOC SINCE 2008
uksnowy is offline   Reply With Quote
Old 09-20-2021, 06:09 AM   #4
xpander
Human being with feelings
 
xpander's Avatar
 
Join Date: Jun 2007
Location: Terra incognita
Posts: 7,667
Default

JS MIDI Transpose Notes already changes semitones in 1 semitone steps, both from the slider and with the mousewheel. CTRL key does nothing. The respective line in JS code is
Code:
slider1:0<-64,64,1>Transpose Semitones
I do get 2 semitone change steps with keyboard up/down arrows. So the question is, why doesn't it work like that in your system?
xpander is offline   Reply With Quote
Old 09-21-2021, 02:39 AM   #5
Xasman
Human being with feelings
 
Xasman's Avatar
 
Join Date: Jun 2009
Posts: 667
Default

Quote:
Originally Posted by xpander View Post
JS MIDI Transpose Notes already changes semitones in 1 semitone steps, both from the slider and with the mousewheel. CTRL key does nothing. The respective line in JS code is
Code:
slider1:0<-64,64,1>Transpose Semitones
I do get 2 semitone change steps with keyboard up/down arrows. So the question is, why doesn't it work like that in your system?
Just FYI, here (Ubuntu 20.04, REAPER 6.36, default JS MIDI Transpose plug in - i.e. slider 1 set to 1 step), it works like this:

Left-click + Drag on Transpose slider = 1 semitone steps

Hovering over Transpose slider, each Mousewheel turn = 2 semitone steps. Holding Ctrl + Mousewheel = 1 semitone steps.

After selecting Transpose slider, Up/Down arrows = 2 semitone steps
Ctrl + Up/Down arrows = no value changes
Xasman is offline   Reply With Quote
Old 09-21-2021, 03:13 AM   #6
IXix
Human being with feelings
 
Join Date: Jan 2007
Location: mcr:uk
Posts: 3,887
Default

I think the resolution of the fader depends to some extent on the size of the window.
IXix is offline   Reply With Quote
Old 09-21-2021, 06:30 AM   #7
Xasman
Human being with feelings
 
Xasman's Avatar
 
Join Date: Jun 2009
Posts: 667
Default

Quote:
Originally Posted by IXix View Post
I think the resolution of the fader depends to some extent on the size of the window.
That occurred to me too, so I tried maximizing the JS plugin window but in this instance it seems to make no difference.
Xasman is offline   Reply With Quote
Old 09-22-2021, 02:58 AM   #8
uksnowy
Human being with feelings
 
uksnowy's Avatar
 
Join Date: Feb 2008
Location: 6950 DK
Posts: 659
Default

Quote:
Originally Posted by Xasman View Post
Just FYI, here (Ubuntu 20.04, REAPER 6.36, default JS MIDI Transpose plug in - i.e. slider 1 set to 1 step), it works like this:

Left-click + Drag on Transpose slider = 1 semitone steps

Hovering over Transpose slider, each Mousewheel turn = 2 semitone steps. Holding Ctrl + Mousewheel = 1 semitone steps.

After selecting Transpose slider, Up/Down arrows = 2 semitone steps
Ctrl + Up/Down arrows = no value changes
This is exactly the behaviour I see. Could it be linked to the mouse wheel resolution somehow?
__________________
REAPING HAVOC SINCE 2008
uksnowy is offline   Reply With Quote
Old 09-28-2021, 05:13 AM   #9
uksnowy
Human being with feelings
 
uksnowy's Avatar
 
Join Date: Feb 2008
Location: 6950 DK
Posts: 659
Default SOLVED - Sort of

I managed to fix this by changing the -+64 to -+48. So I have only +/- 4 octaves. it works a treat.
__________________
REAPING HAVOC SINCE 2008
uksnowy is offline   Reply With Quote
Old 09-29-2021, 02:36 AM   #10
Xasman
Human being with feelings
 
Xasman's Avatar
 
Join Date: Jun 2009
Posts: 667
Default

Quote:
Originally Posted by uksnowy View Post
I managed to fix this by changing the -+64 to -+48. So I have only +/- 4 octaves. it works a treat.
That's a cunning solution - thanks for the tip!
Xasman 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 04:22 AM.


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