trigger when midi port opens

pedro.estrela

2020-02-08 02:00:32

Hi
Is there is way to trigger a rule when a port is pending and it opens for the first time? I only see project loaded and processing start.


1377391 - Opened MIDI OUTPUT 'Bome MIDI Translator 1 Virtual Out'
1377391 - Opened MIDI OUTPUT 'DDJ-1000'
1377392 - Opened MIDI INPUT 'Bome MIDI Translator 1 Virtual In'
1377395 - Opened MIDI INPUT 'DDJ-1000'

Related, can messages sent to closed ports be counted somewhere and be later visible to the user?

suggestion: a new button "show stats" being next to "show vars"

1374640 - OUT 4.10 Note On on ch. 1 with note:57 (0x39) and velocity:127 (0x7F) [port closed]

 

thanks

Steve-Bome Forum Moderator

2020-02-08 02:12:18

For your first question about triggering with ports open (or close). That is not currently supported however I think it is an interesting request so will request that as an enhancement for future versions. 

Queing output is also currently not supported yet it might be a bit dangerous to cue up too many messages as it could bog MT Pro buffers down.  I'll also request as an enhancement, however.

I could envision seeing a translator like this:

Incoming trigger: port xxx opens

Outgoing action : (some SysEx initialization stream) to port xxx

For now, you would need to just periodically try and send data to a given port or, trigger the outgoing message by an incoming message from that port (once it opens).

 

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