Using modifier for sending MIDI velocity value to input
Hi,
I’m setting the value of a modifier: self.set_modifier_value(“m1”, “midi_note_ch_0_val_81”)
And then using modifier m1 as MIDI input target to send velocity value: self.get_modifier_value(“m1”).send_value(5)
M1 gets properly set with a value but I get the error when trying to trigger the second action (send midi):
(Launchpad Mini (mk3) TEST) There’s a problem with ‘Action Block 1’ in reaction ‘Mark Pad 1’ (from ‘Button 8 was pressed’ listener) >>
>> ‘str’ object has no attribute ‘send_value’
Do you have any ideas how to fix this?
What you’re doing is storing the text string “” to a modifier and then attempting to send a midi value to it. Obviously its just a text string so this won’t work which is why you’re seeing the message: >> ‘str’ object has no attribute ‘send_value’
Sign up
User registration is currently not allowed.