How to add listener to parameter changes of a M4L device?

604 viewsCSS Questions
0

Is it possible to add a listener to parameterchanges of a M4L device?
The obvious way of setting the listener via
self.song().tracks[0].devices[0].add_bank_parameters_changed_listener
or
self.song().tracks[0].devices[0].add_parameters_listener
doesn’t work for me.

Can anyone help with that?

MartinJ Answered question October 4, 2024
Attached Files:
0

It seems that listeners on devices don’t work at all.
I tried name, parameter, is_active and is_collapsed. Nothing fires a reaction!

Can someone confirm?

admin Changed status to publish May 22, 2024
Attached Files:
0

Ah sorry.. is_active and is_collapsed work.
but name & parameter listeners don’t work

admin Changed status to publish May 22, 2024
Attached Files:
0

Hi tmp, same problem here and sadly no solution for that but this has been reported here: https://remotify.io/community/question/selected-parameter-listener-bug

admin Changed status to publish May 22, 2024
Attached Files:
0

Oh no 🙁
So this bug was reported nearly 2 years ago and no solution yet?

admin Changed status to publish May 22, 2024
Attached Files:
0

Maybe I just don’t understand how to use listeners… but “self.song().view.selected_track.add_name_listener” also doesn’t fire. It works using “self.song().tracks[1].add_name_listener” but not with “selected”_track.

Is there another solution to use listeners maybe in a user.py ?

Regards, mj

MartinJ Answered question October 4, 2024