Threshold detection and pattern matching

3 views
Skip to first unread message

d.andrew STEWART

unread,
Dec 14, 2025, 2:42:49 AM (8 days ago) Dec 14
to dot_mapper
Hello

Here is another programming challenge I am trying to realise in Max.

-Using five continuous controllers, each played by a single finger [controlled by the fingers of my hands – like playing piano keys]

-I convert the continuous values to either 1 (on) or 0 (off) based on threshold detection

-0.0 to 0.199999 is OFF and  0.2 to 1.0 is ON; rather ON is triggered when value passes threshold 0.2

This is the easy part

-Next, I take the on and off states (1 or 0) of all five continuous controllers and convert them to a new value

-I convert a bit – formed by the on and off states – into an integer (base 10)

Still easy

-Because the five controllers are continually sending out data, it's difficult to form the precise bit value without accidentally triggering an unwanted bit value

-This issue concerns the actual physical design of the control surface (karlax) and the physical challenge of playing the continuous controllers in such a controlled way

-Can any DOT object be used as a pattern matching system to help map the continuous data to the desired bit value?

Thoughts?

Thank you
DAndrew

d.andrew STEWART

unread,
Dec 14, 2025, 2:46:05 AM (8 days ago) Dec 14
to dot_mapper
By the way, this seems like prototypical case for pattern matching via machine learning – I want to teach the system to recognise the states of the five continuous controllers; but the system needs to be fast – very fast. And it needs to discriminate – to know when a continuous controller's value is no longer relevant, even if the value is still being modulated.

Anyone have an idea?
Reply all
Reply to author
Forward
0 new messages