Welcome to %s forums

BrainModular Users Forum

Login Register

led mode for midi devices

Tell us what you'd like Usine to do
Post Reply
drakh
Member
Posts: 198
Location: Bratislava, SK
Contact:

Unread post by drakh » 28 Aug 2015, 20:39

please, can you add something like "led" mode for midi devices ? similar to motorized mode which is now avialable.
As for example AKAI MIDImix, or korg nano kontrol has led buttons which are lit on when they recieve some midi signal. what is problem with motorized mode is that when i map this button to for example some switch with motorized mode turned on when i press the physical button Hollyhock does not send anything to desired device midi output - so the led on the physical device stays off, and Hollyhock sends midi signal to device just only when i press that software switch in workspace. which is completly fine for devices with motors but quite unusable with the led setup, as that midi controller does not reflect the real state of software buttons/switches/whatever.

so please add "led" mode for midi mapping - like when i press the physical button that mapped software element will send to midi output its state and the midi device will reflect that change immediatly. and it would be nice feature as well when open some workspace with this kind of mapping that elements will on load of the workspace send its state to the mapped midi device.

La Tenaille
Member
Posts: 547
Location: Saint Etienne (France)
Contact:

Unread post by La Tenaille » 28 Aug 2015, 21:12

have you tried the upd button (midi update) ?

drakh
Member
Posts: 198
Location: Bratislava, SK
Contact:

Unread post by drakh » 30 Aug 2015, 19:43

ok, nevermid. patched it by myself thryu buses.

drakh
Member
Posts: 198
Location: Bratislava, SK
Contact:

Unread post by drakh » 31 Aug 2015, 09:10

if anyone interested here is the patch - https://github.com/drakh/hollyhock-libr ... mapper.pat

It solves what i am requesting, but needs extra patching after you map your midi controller

after you map your midi to button or switch, connect this patch to it.
inputs:
- current value - connect it to switch/button output
- off value - connect it to the off value of switch - this is used to compute velocity. usually on the controller the led is controlled by NOTE_ON NOTE_NUMBER NOTE_VELOCITY controlls the LED, with velocity=127 -> LED ON, and velocity=0 -> LED OFF
-control num - note number, should be connected to control_num
- control type - should be connected to control type - right now it supports just NOTE ON event type as i use NOTE event on the buttons so for me there is no need to support any other control type, but this can be easily patched
- channel - channel of your midi device - this is used to create MIDIBUS name to which the events are sent. (MAPMIDIBUS-channel)

the midi event which is created is created on channel 1.

then you need to add to your MIDI OUT device midibus selector and choose your MAPMIDIBUS
probably pictures will explain more how it works

Patch contents:
Image

Example how is the midi controller maped.
Image

Example how is midi feedback patch connected to mapped switches
Image

Example how the midi out device should be patched (in this case it is the "OUT MIDI MIX 1" device
Image

Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests