Page 1 of 1

Changing colors of Novation Launceh Control

Posted: 04 May 2020 15:40
by John2103
How do I change the color of a button when a standby player starts or stops? I know how to use the use EXEC_SEND_MIDI_SHORTMSG. I used it to initialize the buttons with Applications.OnStartup.

Probably I have to use Others.OnStandbyPlay and Others.OnStandbyStop, but what is to correct syntax to use this in combination with EXEC_SEND_MIDI_SHORTMSG?

Thanks in advance for your help.

Re: Changing colors of Novation Launceh Control

Posted: 04 May 2020 16:38
by radio42
I don’t own this device, so I guess you need to ask Novation for the exact Midi message command.
But you might also try to search the forum, if I remember correctly someone asked something similar in the past.
But the events are correct.

Maybe see here:
https://www.proppfrexx.radio42.com/foru ... f=9&t=2188

Re: Changing colors of Novation Launch Control

Posted: 04 May 2020 21:36
by John2103
Thanks for your help. It is not exactly what I meant. I have got the EXEC_SEND_MIDI_SHORTMSG working. I use it with Applications.OnStartup.

What I want to know is what to fill in for in the fields action and parameter. For example, if I use Others.OnStandbyPlay, what do I have to fill in for Standby Player A?

Can you give me an example?

Re: Changing colors of Novation Launceh Control

Posted: 04 May 2020 22:25
by radio42
I do not get your question?!
As I don't know the Novation Syntax to change the color of a specific button, how should I give you an example?

The only thing I can tel you, that you can use any of the available Standby-Player macros, e.g. the ${standby1isplaying} one.
But there is no id, index or alike available in that event to identify or map anything to a Novation button.

For cartwall items this is different, as there is for example the ${cartid} macro available for the OnCartPlayed event, which allows you to map an cartId to a button.
But this doesn't exist for Standby-Players.
So far I guess the Launchpad is only for Cartwalls and the LaunchControl for DJ-Players - but not Standby-Players.

But you might use the EXEC_COMMAND2 with the ${standby1isplaying} macro to change the color.
Just write X commands in parallel, e.g.:
EXEC_COMMAND2 ${standby1isplaying}|Equals(1)|EXEC_SEND_MIDI_SHORTMSG ...button1green...
EXEC_COMMAND2 ${standby1isplaying}|Equals(0)|EXEC_SEND_MIDI_SHORTMSG ...button1red...
EXEC_COMMAND2 ${standby2isplaying}|Equals(1)|EXEC_SEND_MIDI_SHORTMSG ...button2green...
EXEC_COMMAND2 ${standby2isplaying}|Equals(0)|EXEC_SEND_MIDI_SHORTMSG ...button2red...
EXEC_COMMAND2 ${standby3isplaying}|Equals(1)|EXEC_SEND_MIDI_SHORTMSG ...button3green...
EXEC_COMMAND2 ${standby3isplaying}|Equals(0)|EXEC_SEND_MIDI_SHORTMSG ...button3red...
...

Re: Changing colors of Novation Launceh Control

Posted: 05 May 2020 10:36
by John2103
I apologize, you are right, after rereading my text I have to admit that it is not very clear. What I meant was the syntax for this:

EXEC_COMMAND2 ${standby1isplaying}|Equals(1)|EXEC_SEND_MIDI_SHORTMSG ...button1green...

I tested it with this:

EXEC_COMMAND2 ${standby1isplaying}|Equals(1)|EXEC_SEND_MIDI_SHORTMSG 0x90|8|0x29|0x3C

It works, it makes the button 1 green. Many thanks for your help!

Re: Changing colors of Novation Launceh Control

Posted: 25 Jan 2022 13:36
by djdeeno
what is the code for a card1 in carwall1?

EXEC_COMMAND2 ${standby1isplaying}|Equals(1)|EXEC_SEND_MIDI_SHORTMSG ...button1green..

i see here standby1isplaying, but what i try to figure out is send a message when card1 is playing or stopping/pauze to send a midi message.

i have try this but this is not working
Image

also, next option is working fine but here, he is sending the midi message from al the cardplayers, doesn't matter wich card as been on pauze, so i try to find out, from each card ID send a midi message from card id as wel

Image

Re: Changing colors of Novation Launceh Control

Posted: 27 Jan 2022 11:35
by djdeeno
Made a jingle box myself with, for now this test, 4 buttons and ws2811 digital LEDs incorporated. The control is an Arduino micro that functions as a USB/MIDI and is in your own hands with programming. Now it is indeed true that with the buttons themselves you can fire midi commands to Propprexx as desired, all commands that Propprexx sends are received by Arduino, in this case the buttons are green, when starting a jingle the button turns red, this goes per button but at the feedback in Proppfrexx, so when the jingle is paused, it sends 1 midi command back to make the button green again, this applies to all card id's at the same time, as far as I understand Proppfrexx cannot be per card id be set when it comes to a pause, in short if you play 4 jingles at the same time, the least long jingle will set all buttons back to green. If this can be done separately, I would like to hear about it. Here is a picture of the test cardplayer in hardware. Give me a few weeks, I'm making a document for the enthusiasts how to make this, also 3d files ect and settings in the software. The next step is to expand this to 10 buttons including connection for controlling a studio LED lamp (green, orange, red) which is also about midi.

Will make a video soon
Image

Re: Changing colors of Novation Launceh Control

Posted: 27 Jan 2022 20:52
by radio42
what is the code for a card1 in carwall1?
This is not simple to answer, as I it depends:
You could use (e.g. in the real "Cartwall.I: OnCartPlay" event; not in the Test button!) the macro ${cartid}.
You might use this with the conditional command execution you already know...nut this might result in a lot of commands evaluation by its condition.
So it might be easier to map a math function with the ${cartid} macro to calculate the midi parameter - but as I don't know your midi values, I can not tell. The concept however is explained here:
https://www.proppfrexx.radio42.com/foru ... 385#p13385

A very simple command (even without any calc) could be (as said, this will probably not work with your MIDI device, bus is just an example):

Code: Select all

EXEC_SEND_MIDI_SHORTMSG 0x90|${cartid}|0x32|0x3C