Tutorial: Use a MIDI controller as a Mouse using Bome MIDI Translator Pro

  • Forum
  • Tutorial: Use a MIDI controller as a Mouse using Bome MIDI Translator Pro
0
0

Hi,

can you please send me the project file of the turorial, so I can adapt it for my needs?

In my solution, the mouse moves just in one direction, if I turn the midi controller to both sides… so your project looks like the better solution šŸ˜‰

thanks

klaus

Marked as spam
Posted by (Forum: 5, Answers: 10)
November 4, 2018 10:48 pm
448 views
0
Private answer

Hi Klaus,

 

Check the attachments on the following posting:

 

https://www.bome.com/support/kb/mouse-movement-tutorial-now-available

 

Marked as spam
Posted by (Forum: 50, Answers: 5121)
November 5, 2018 2:13 am
0
Private answer

Hi Steve,

one more question:
I want to program a midi controller (maybe MCU/BCF2000) to control a 6band EQ in MIO Console (Metric Halo).
This would require 16 knobs, 7 switches, 1 fader.
All are usually accessed bei pointing the mouse to one of them, press and hold left mousekey, and then moving the mouse up or right for increase, down or left to decrease.
Is this in theory possible with Midi translator? (Obviously it will not be possible to access more then one at the same timeā€¦)
Any tutorials around to get me started?

That would be awesome!

regards
Klaus

Marked as spam
Posted by (Forum: 5, Answers: 10)
November 6, 2018 1:02 am
0
Private answer

Hi Steve,

one more question:
I want to program a midi controller (maybe MCU/BCF2000) to control a 6band EQ in MIO Console (Metric Halo).
This would require 16 knobs, 7 switches, 1 fader.
All are usually accessed bei pointing the mouse to one of them, press and hold left mousekey, and then moving the mouse up or right for increase, down or left to decrease.
Is this in theory possible with Midi translator? (Obviously it will not be possible to access more then one at the same timeā€¦)
Any tutorials around to get me started?

That would be awesome!

regards
Klaus

Marked as spam
Posted by (Forum: 5, Answers: 10)
November 6, 2018 1:03 am
0
Private answer

Hi Klaus,

It would certainlyĀ  be possible, however since mouse coordinates move around on a screen pretty often, it would be better if we found another way such as mapping to keystrokes since they are not as vulnerable to screen coordinates.

For instance if you can assign hotkeys to up and down movements of each knob then we could do that pretty easily.

So I usually set things in the following priorities

If application understands MIDI, use that.

If not check if there are keystrokes.

Finally mouse movements.

Also on Windows sometimes you can inject a keystroke or mouse event to a particularĀ  control on a screen but not applications allow that.

Within MT Pro you have to find the control name and capture that parameter at which point it will remember, however not all controls are “capturable”.

 

Steve Caldwell
Bome Q and A Moderator and
Independent Bome Consultant/Specialist
bome@sniz.biz

 

 

 

Marked as spam
Posted by (Forum: 50, Answers: 5121)
November 6, 2018 1:14 am

Looking at MIO Console, it may be better to directly control the hardware via MIDI than to try and manipulate your computer screen if the console implementation allows you to control EQ knobs via MIDI. Then with the connection the hardware has to the software, it would probably also update your computer screen.

( at November 6, 2018 1:21 am)
0
Private answer

Klaus,

I’ve attached an example of how this could happen with a relative encoder.

In this case I used an encoder that puts out 0x41 when turned 1 click right and 0x39 which turned one click left.

The action for the encoder includes 5 tanslators.

1 ) Move mouse to the knob center position (no click)

2) Click and hold mouse down after 20 ms

3) Start a timer to release the mouse after 1 second

4)Drag the mouse depending on which way you turned the knob

5) Timer to release the mouse after the timeout

Of course this requires the knob always be on the same position on the screen.

I use the variable ga to determine if we are in click down or click up state (some translators should only fire in one of the 2 states).

I use variable gb to determine the mouse movement amount (up or down).

Again it is not bulletproof so you have to sometimes move the knob slowly and never change the position of the knob on your screen. It would certainly be more reliable to have each knob with a hotkey (up) and hotkey (down) and have the encoder trigger one of those two actions.

 

 

Marked as spam
Posted by (Forum: 50, Answers: 5121)
November 6, 2018 2:28 am
0
Private answer

Hi Steve,

thanks, great! I modified your file and programmed it for a two channel EQ with gain/frequency/bandwith/onoff/eq-type. Works flawless with endless encoder/switch combination.

Next I would like to try the same with “fixed” encoders like a fader. I would need help to change the mouse movement programming from plus/minus a certain amount like in endless encoder, to plus/minus a certain value. Didnt find out howto do that…#My file is attached.

Thanks a lot

Klaus

Marked as spam
Posted by (Forum: 5, Answers: 10)
November 6, 2018 3:58 pm

Hi Klaus,

You might want to check out the tutorial on how to map a fixed encoder to a relative encoder. It can be found at the link below:

https://www.youtube.com/edit?o=U&video_id=VCvxPZawJyE

If you want me to write your project for you, I’m available for a fee. Just drop me an email for an estimate. I assume your application could not handle this with either MIDI or keystroke shortcuts.

https://www.youtube.com/edit?o=U&video_id=VCvxPZawJyE

Steve Caldwell
Bome Q and A Moderator and
Independent Bome Consultant/Specialist
bome@sniz.biz

( at November 6, 2018 4:03 pm)

Yes, unfortunately the support for external controllers is the only weak point of the Metric Halo stuff, otherwise it would be great also for live mixing. There is no keystroke or Midi control for the fx section. But with MT Pro itĀ“s a big jump forward. I try to find a solution by myself, and if I get lost, IĀ“m glad to handle the project over to you.
Thanks for yout help so far! MT rocks.
Klaus

( at November 6, 2018 6:34 pm)