Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MIDI-CAT - State sync incorrect ? #398

Open
AmateurExpert opened this issue Nov 9, 2024 · 0 comments
Open

MIDI-CAT - State sync incorrect ? #398

AmateurExpert opened this issue Nov 9, 2024 · 0 comments

Comments

@AmateurExpert
Copy link

Sorry for the weird title, the issue is difficult to describe and I am unsure if it is a problem in MIDI-CAT. My attempt to describe the issue:

I am mapping an Akai APC mini with MIDI-CAT. I am mapping the APC mini to trowaSoft's trigiSeq. This module allows you to program 16 "channels" of 64 step trigger sequences.
To illustrate the problem, map the first note button on the APC to the first step on trigSeq channel 1. Configure the note mapping on MIDI-CAT such that the input mode for notes is "toggle" and set the "Send Note on, velocity 0" flag.
Now using the button on the APC mini toggles the step 1 on the trigSeq. The button light on the APC is properly synced with the state of step 1 on the trigSeq. The overlay for MIDI-CAT shows "NOTE ON" message.
With the trigSeq on channel 1, activate step 1 using the button on the APC mini. Now switch trigSeq to channel 2. The light on the APC mini for the mapped button turns off as the step 1 on channel 2 of the trigSeq is off. This is good.
Now when you push the mapped button, the overlay shows that a "NOTE OFF" message is being sent, the trigSeq does not activate step 1 of channel 2 and the APC mini button stays unlit. Pushing the button again will send the "NOTE ON" message and step 1 of channel 2 will now be activated and the button on the APC mini will light up.
Pushing the button again will correctly deactivate step 1 on channel 2 of the trigSeq and the light on the APC button will go out. Switching trigSeq back to channel 1, will show that step 1 on channel 1 is active, the APC button will light up in sync. Pushing the button on the APC will now send a "NOTE ON" message, changing nothing. The next button press will send "NOTE OFF" and trigSeq and APC will update correctly.

My guess is that MIDI-CAT is storing the state, i.e. what was the last message send for that toggle. When the channel changes on trigSeq, the state of step one on trigSeq is updated, MIDI-CAT updates the controller such that the lights reflect what trigSeq shows, but the last message for a particular button will be wrong if the particular step is different between the channels on the trigSeq.

I hope that I have been able to describe the problem adequately. Is MIDI-CAT storing the last note on/off message for toggles ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant