Welcome to %s forums

BrainModular Users Forum

Login Register

Matrix mousedown problems

Create your own modules in C++
Post Reply
woodslanding
Member
Posts: 1327
Contact:

Unread post by woodslanding » 16 Feb 2016, 20:46

I am having 2 problems with mousedown on the matrix:

First of all, no mousedown information is sent if the clicked cell is the same as 'last clicked cell'. I often change the data in the matrix programmatically, and need a mousedown to be sent even if it's in the same cell, as it will now trigger computation of a new value.

I can't actually think of a use for a mousedown event if it is not independent of a change in the value of lastClicked..... a hasChanged on lastClicked would give you the current mousedown behaviour.

Secondly, I'm finding that if a change in the matrix triggers a processor intensive event, such as loading a bank from a VST, no mouseUP event is sent.

That's okay, but then the next mouseDown event sends a 0 instead of a 1.

I've actually worked around the 2nd of these, but cannot think of a workaround for the first.

Thoughts?

thanks,
-eric
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify

sm_jamieson
Member
Posts: 551
Contact:

Unread post by sm_jamieson » 19 Feb 2016, 10:53

Which matrix module are you using ?
In the SDK modules directory there is
Matrix - Audio Mix
Matrix - Data Mix
Matrix - Display or Set
Matrix - Midi Mix.

woodslanding
Member
Posts: 1327
Contact:

Unread post by woodslanding » 19 Feb 2016, 23:38

It's the display or set.

I seem to have found a workaround. I put a wait1bloc after the mouse out on the matrix. Now the matrix has a chance to send the mouseUP before processing takes over.

Not a bad workaround at all!
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests