Encoder to mouse wheel

  • Forum
  • Encoder to mouse wheel
0
0

Hello again.  🙂   I’m trying to create a macro knob that I can twist and it sends out a mouse wheel command.  Clockwise knob turn, mouse wheel down.  Counterclockwise, mouse wheel up.

I’m having no luck.  The Bome MTP MIDI capture considers turning the knob both ways as the same input.

How do I tell it that translator one is a clockwise turn and translator two is counter clockwise of the same knob?

Marked as spam
Posted by (Forum: 9, Answers: 39)
September 8, 2020 2:42 am
54 views
0
Private answer

Hi,

It depends on what type of encoder you have. Can you tell me what it sends on clockwise movement and what it sends on counter clockwise?  If it is an absolute encoder, we probably will also need a button to recenter it (without wheel movement) when it hits one end or the other.

 

Steve Caldwell
Bome Customer Care


Also available for paid consulting services: bome@sniz.biz

Marked as spam
Posted by (Forum: 50, Answers: 5298)
September 8, 2020 2:45 am
You have a point; didn't think of that. The two MIDI controllers with endless encoders, are my MIDI Fighter Twister and my Akai Fire. I don't want to even touch the Akai Fire here, because its connection to FL Studio is like concrete. I tried to open it in Bome MTP and it crashed FLS. No error, no warning, nothing. It resets itself anytime another MIDI device is connected. I'll just leave that one alone. But with the MIDI Fighter Twister, I don't want to have to divide its connection between FLS and Bome MTP, like I did with the Novation Launch Control XL, just for one knob. I still get the annoying 'Failed connection' popup in FLS, for some reason, even though I set up the virtual out properly. I can't tell you how frustrating it is to have to juggle these connections, and they still don't work without at least pop ups. Why they can't just work in both programs without the hassle. Anyway, I think I will have to use the Launch Control XL, which is not endless encoders. They are bipolar knobs too, with a graduation indent in the middle. Maybe I should buy a one knob MIDI controller. I really like this mouse wheel idea I have right now. I can hover the mouse over anything in FLS and use the hardware knob on the object. I'll attach a pic of the MIDI input in Bome MTP. I twist the knob both ways. Looks the same to me. The bottom line is just my mouse with MIDI Buddy.
( at September 8, 2020 3:03 am)
0
Private answer

I put my reply in the comment instead of 'post your answer', this here.  I pushed 'add comment'.  It's buffering.  Kind of frozen.  Dunno.  Hope it went through.  But I attached the pic to this box here.

Attachments:
Marked as spam
Posted by (Forum: 9, Answers: 39)
September 8, 2020 3:05 am
0
Private answer

Forgot I could also use my Novation Zero XL MKII DAW Control Surface.  It has a DJ style mix fader in the middle that I never use.  Problem is it's on the right side of me; the same side as my mouse.

Input looks like this, moving it left and right:

Attachments:
Marked as spam
Posted by (Forum: 9, Answers: 39)
September 8, 2020 3:18 am
0
Private answer

Hi, I've include presets for both examples here. Just different CC's and channels for each preset. The first one is for your Launch Control XL and the second is for Novation Zero.

In each I set up a button that if you push and hold, you can recenter the knob without scrolling mouse wheel at all.  I could not find an application that understood scroll left or scroll right though so I just looked at the outgoing log to see if things were working as expected.

 

Steve Caldwell
Bome Customer Care


Also available for paid consulting services: bome@sniz.biz

 

PS. Yes on posting comments my browser (chrome) freezes also but the posting still goes through. You can use browser refresh to see the posting.

 

 

Marked as spam
Posted by (Forum: 50, Answers: 5298)
September 8, 2020 4:03 am
That looks awesome, thank you so much. I'll test that today.
( at September 8, 2020 1:48 pm)
0
Private answer

Ya, it's kind of working.  Works in FL Studio, but not Google Chrome.  Does work in notepad.

(I'm only concerned about FLS though).  The mouse wheel moves the view in FLS up and down, but this is moving it left and right.  Interesting.

Works on FLS parameters, but not in plugins.  The mouse wheel can move plugin knobs, but this isn't.

The numbing of the output to center the knob doesn't seem to be doing anything, but I'm not really concerned about that because I'm thinking about getting an endless encoder MIDI controller just for this.  But if it doesn't work on plugins, then it's a no go.

Marked as spam
Posted by (Forum: 9, Answers: 39)
September 9, 2020 4:37 am
I think I read somewhere that some Windows require a shift and scroll-up down mouse wheel in order to accomplish scroll left and scroll right. This would mean you would need to incorporate a keystroke sequence within what I sent you.
( at September 9, 2020 7:09 am)
0
Private answer

Ok thank you for the help.  I've found a controller that might do the trick for me.

I've sent them an email with some questions to make sure of what it can and can't do.

https://www.nobcontrol.com/

Marked as spam
Posted by (Forum: 9, Answers: 39)
September 10, 2020 2:22 am
0
Private answer

Interesting. It is not a MIDI device however. Just a HID that imitates a mouse.

 

 

Marked as spam
Posted by (Forum: 50, Answers: 5298)
September 10, 2020 2:33 am
0
Private answer

Ya.  The promotion videos promise it can do several things that would be right up my alley.  I'll see how they answer my questions.

A few quick questions if you don't mind:

The manual says I should divide a long list of translators into presets, so Bome MTP reads them faster.  Is this true, or does it not matter?  Is about forty or fifty translators enough to divide them up into presets?

I'm considering buying the Native Instruments Traktor Kontrol S4 MK3 DJ Controller.  Main use is using it in FL Studio.  It has a MIDI mode, and I can map out its knobs etc.  Then I also have a DJ controller.

But this one carries such a heavy price tag, I have to be doubly sure it will work as I'm thinking.

I assume Bome MTP can process DJ controllers?  Do you know if both FLS and Bome MTP can access this one, without having to set up a virtual port?

Maybe the two jog wheel platters can be set as the mouse wheel output we are discussing?  (One with Ctrl held down, the other with Shift).

I'm pretty sure it has an onboard soundcard, for stand alone use.  Does this interfere with anything?

Marked as spam
Posted by (Forum: 9, Answers: 39)
September 10, 2020 3:39 am
0
Private answer

A few quick questions if you don't mind:

The manual says I should divide a long list of translators into presets, so Bome MTP reads them faster.  Is this true, or does it not matter?  Is about forty or fifty translators enough to divide them up into presets?

SJC> If you disable and enable presets for only the ones you need, then yes, only enabled presets will be processed. However if they are all going to be enabled anyway, then no it does not matter. Multiple translators with the same incoming action do provide some level of parallel processing so could be more efficient in some cases.  In many cases the outgoing action has to be serial anyway so the efficiency should primarily be the queuing speed of the incoming triggers.

I'm considering buying the Native Instruments Traktor Kontrol S4 MK3 DJ Controller.  Main use is using it in FL Studio.  It has a MIDI mode, and I can map out its knobs etc.  Then I also have a DJ controller.

But this one carries such a heavy price tag, I have to be doubly sure it will work as I'm thinking.

I assume Bome MTP can process DJ controllers?  Do you know if both FLS and Bome MTP can access this one, without having to set up a virtual port?

SJC> I can't speak directly to your controller but I've used DJ controllers with MTP on occasion. The processing of MIDI would be highly dependent on the DAW used.  I would buy from a reputable source and test as early as possible so that if it doesn't do what you want, you can return it. As far as virtual ports, FLS would need to access the Virtual Port and MTP would then connect to your controller.  On Windows only one application can access a given MIDI port at a time. If you want multiple applications to access the same device, you use multiple virtual ports (one for each application) and then use either the MTP MIDI router or translators to ensure the traffic flows to and from the right application.

 

 

Maybe the two jog wheel platters can be set as the mouse wheel output we are discussing?  (One with Ctrl held down, the other with Shift).

SJC> Possibly, however the keystrokes would still be recognized by the host OS. I would recommend using a MIDI command and switching presets or using a global variable to send the entire keystroke/mouse message from MTP. That way the modifier key would not be seen by the host application and you could send the entire sequence to the application via MT Pro.

 

I'm pretty sure it has an onboard soundcard, for stand alone use.  Does this interfere with anything?

SJC> I don't think so but I'm not 100% sure.  Usually even though the MIDI and sound functions access the same USB port,  the OS sees these as two separate devices. One MIDI and One Sound.  I have an Allen and Heath Xone K2 that has both sound and MIDI via same USB port so I will have to experiment how this work. With that said,  your mileage may vary based on the manufacturer and how they designed the device.  In summary I would check with Traktor to see what they say.

Steve Caldwell
Bome Customer Care


Also available for paid consulting services: bome@sniz.biz

Marked as spam
Posted by (Forum: 50, Answers: 5298)
September 10, 2020 4:31 pm
0
Private answer

I just checked my Xone-K2 on Windows. It is indeed seen as both a speaker (audio device) and controller (MIDI device) on my system. I can play music through it (as a speaker/sound card) and also simultaneosly process MIDI commands. I suspect most hybrid DJ controllers are set up in a similar way.

With that said, there are some DJ controllers that also are seen as HID (ie keyboard or mouse) devices and some DJ software relies on the HID side of things for some functions. For instance my Pioneer DDJ-SB3 I cannot set to Deck3 and Deck4 via MIDI (as documented) rather if connected directly to Serato DJ, it seems to work. I suspect they are doing this via the non-MIDI (HID) interface.

Again, best to ensure you buy your controller for a reputable source so that you can return it if it does not work as you want.

 

Steve Caldwell
Bome Customer Care


Also available for paid consulting services: bome@sniz.biz

Marked as spam
Posted by (Forum: 50, Answers: 5298)
September 10, 2020 4:53 pm