PC -> Note On -> Momentary

Hello.
I just bought the pro version and I’m new to all of this.
I have a ancient Roland GFC-50 (for now) which transmits only PC messages.
I managed to convert those to Note of/off messages. But I can’t figure out how to convert these to momentary messages.
Here’s mmy translator

Thanks
Itsik

Hi and welcome to the Bome community!

As I understand when you push a button a PC message is sent and so it is translated to a note-on message. What happens when you release the button? If nothing, then we will likely need to use a perform action to send a note-off message with a delay so that both note-on and note-off are sent.
If that is the case, we will not know when you actually release the button so the timing of the release will be dependent on the time we set on the delay parameter.

See the attached example.

The first preset is just house keeping stuff I do in all of my projects.
The second preset has 2 translators
The first translator send the note-on message and in the rules has a Perform rule to trigger the 2nd translator to send a note-off 250ms later.
We pass 3 parameters:

  • The first is the PC number captured in the local variable pp
  • The second is the delay we want to send the note off. I have it a 250 ms
  • The third is the velocity of the note-off message we want. I have it set to 0

Note, that I use aliases for my devices. This is considered best practice.

You can learn more about aliases from this tutorial.

PC-to-Note-2024-10-30.bmtp (2.2 KB)

Steve Caldwell
Bome Customer Care


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

Thank you for your help Steve, but it doesn’t work.
The widget stays on.
Any other way to do this maybe?

What Widget? What are you sending the note to?

I’m working with Gig Performer, and trying to make it work with a momentary widget

So you want to

  1. Push the button that sends a PC and convert it to a note-on - Turns on Widget
  2. Release the button that sends a PC and convert it to a note-off? Turns Off Widget?

Is anything sent from you keyboard when you release the button.

Or do you want the button to turn on and then off the widget 250ms later?

Steve Caldwell
Bome Customer Care


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

I would like it to mimic a mouse button click in terms of usability

Sorry, you need to answer my question. If you release the button, does the controller send any MIDI information. If not, you will not be able to implement this. Your choices would be.

  1. Every time you press the button you toggle the widget LED. This behavior can be implemented within Gig Performer or with Bome MIDI Translator Pro.
  2. Every time you press the button, you send turn the LED on and then X milliseconds later the widget LED turns off

Now if there is another message sent when you release the button, then we can convert that MIDI message to a note-off message to turn of the widget LED.

Steve Caldwell
Bome Customer Care


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

I just checked and nothing gets transmited when the button is released.

OK, I just checked with Gig Performer and it doesn’t really like using Notes for learning widgets. I can set it up as a CC and just have the widget turn on for X msec and turn off again. Or you can make the Button toggle the widget LED using CC.

Basically if there is no MIDI in, there is nothing to convert.

Steve Caldwell
Bome Customer Care


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

You may try this. It converts PC to CC.

PC-to-CC-2024-10-30.bmtp (2.1 KB)

Steve Caldwell
Bome Customer Care


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

Ok, i’ll check it, thank you.