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
Steve-Bome Forum Moderator
2018-11-05 02:13:12
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
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
Steve-Bome Forum Moderator
2018-11-06 01:14:22
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
Steve-Bome Forum Moderator
2018-11-06 01:21:20
comment
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.
Steve-Bome Forum Moderator
2018-11-06 02:28:04
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.
Attachments:
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
Attachments:
Steve-Bome Forum Moderator
2018-11-06 16:03:28
comment
kde1
2018-11-06 18:34:32
comment
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