Visual Productions forum

Products => Cuelux => Topic started by: mburger on November 13, 2013, 07:47:43 PM

Title: MIDIMAPPING: playback button state doesn't work
Post by: mburger on November 13, 2013, 07:47:43 PM
I'm using Cuelux 1.3.41 for Mac and I'm fiddling around with MIDI mapping.

In the MIDI API there is mention of a playback state for both the buttons and the faders that expresses the state of the control in colour (e.g. Playback Direct Button 01 State). I use the code below in my mapping xml:

Code: [Select]
<actionlist label="feedback" source="System">
<action>
<trigger type="Unsigned" specifier="Change">Playback Direct Button 01 State</trigger>
<tasks>
<task type="Midi" function ="Control">
<argument type="Midi Address">Channel 2 - Message 9 - Index 0</argument>
</task>
</tasks>
</action>
</actionlist>

By use of a MIDI monitor, I discovered that the above code does fire a MIDI event if I click button 1, but the value of that event always is '0'.

I did expect something of for instance the colour of the LED on the button being reflected in the MIDI value, but so far I'm not really getting anywhere.

Can anyone point me in the right direction here?

Any help on getting the correct reflection of the button state through MIDI would be greatly appreciated!
Title: Re: MIDIMAPPING: playback button state doesn't work
Post by: Dennis Kromhout on November 14, 2013, 09:21:37 AM
Hello,

Depending of the flexibility of what you're using to receive the messages you could use the function we made for the Livid OhmRGB (http://lividinstruments.com/hardware_ohmrgb.php):

function="Control OhmRGB"

This sends:
Black = 0
White = 3
Cyan = 7
Magenta =15
Red = 31
Blue = 63
Yellow = 126
Green = 127
Title: Re: MIDIMAPPING: playback button state doesn't work
Post by: mburger on November 14, 2013, 07:04:41 PM
Dennis,

Thanks for your reply. The OhmRGB function looks promising! I'll give a try as soon as possible.

While we're on the topic of functions... The forum does provide me with lots of information already, but may I perhaps suggest to update the API PDF with some extra information on how to use the general functions (like 'Set' and 'Toggle' and the like)? And maybe even add information on functions like the one written specially for the OhmRGB?

I've got a feeling that the MIDI API is indeed much more powerful than now meets the eye.

Keep up the good work with Cuelux!
Title: Re: MIDIMAPPING: playback button state doesn't work
Post by: Dennis Kromhout on November 15, 2013, 09:38:23 AM
Yes, but the syntax has been changed a bit in CueluxPro so the document needs to be updated anyway.
Best is to look at the included midimaps.
The amount of people making their own maps is also very limited.
Title: Re: MIDIMAPPING: playback button state doesn't work
Post by: djlucky on May 05, 2019, 10:38:48 PM
hi, is there any way to set midi mapping for buttons in cuelux/emulation for example when i press first button-it starts first button show, when i press second button it ends first show and starts second button show
i don´t know if you will understand what i´m thinking. I´m planing to use software in a club with combination of launchpad mk2, and there is 64 buttons, so when a dj press some button it starts show, but when press another, it ends last show and start desired which coresponds to actualy pressed button.
if to write some code in midi or how to set program, because when there are to simultanously running cuelists they influece each other
Title: Re: MIDIMAPPING: playback button state doesn't work
Post by: Bootsy van der Zande on May 06, 2019, 10:26:36 AM
Hi,

You can bundle playbacks with the Bundle button on the right when you open the playback.
If you activate a Bundled playback, it will release all other playbacks in that Bundle.

So in your situation, you could have the launchpad buttons setup as 'Play' buttons. And then just bundle everything you want to play solo.
You can have multiple bundles as well!

Greetings,
Bootsy
Title: Re: MIDIMAPPING: playback button state doesn't work
Post by: djlucky on May 06, 2019, 10:37:38 AM
please can you send me small example file how to do that?
Title: Re: MIDIMAPPING: playback button state doesn't work
Post by: Bootsy van der Zande on May 06, 2019, 12:29:35 PM
Hi,

I've included a copy of the standard midi map for the Launchpad MK2. Every Midi Button is triggering a playback Button. I've also included a picture showing you the Bundle option in Cuelux. And I've added a file that explains the MIDI API. 

Greetings,
Bootsy
Title: Re: MIDIMAPPING: playback button state doesn't work
Post by: djlucky on May 06, 2019, 05:18:29 PM
thank you very much