Force active state for a m4l device

Learn about building and using Max for Live devices.
Post Reply
oudoupoudou
Posts: 19
Joined: Fri Oct 01, 2010 5:37 am

Force active state for a m4l device

Post by oudoupoudou » Tue Apr 07, 2020 2:22 pm

Hi there
Is there any solution or a workaround to force a m4l device to be always active without the need to click on it each time?
(in order to receive MIDI messages)
I just want to use my laptop's keyboard as a 4 octaves MIDI controller (using all the keys of the computer's keyboard).
I have seen that this is possible by using the [hi] object but I want to use the touchpad of my laptop only.
Thank you in advance.

chapelier fou
Posts: 6352
Joined: Mon May 15, 2006 12:15 pm

Re: Force active state for a m4l device

Post by chapelier fou » Tue Apr 07, 2020 4:32 pm

I don’t think so but maybe you could map the keys to graphical controls of your patch ?
MacBook Pro 13" Retina i7 2.8 GHz OS 10.13, L10.0.1, M4L.
MacStudio M1Max 32Go OS 12.3.1

oudoupoudou
Posts: 19
Joined: Fri Oct 01, 2010 5:37 am

Re: Force active state for a m4l device

Post by oudoupoudou » Tue Apr 07, 2020 9:38 pm

Yes, you are right chapelier.. this was my second approach.. but how can you handle note offs?
keymap is only for triggering aka note-on. There is no way to take data from the moment you stop to press a specific key => note off.
To be honest I am struggling with this for like ages. I have many controllers (like seaboard)
but I am always surprised by how straightforward is my laptop's keyboard and that, as it seems, I am the only one who appreciates this.
Any suggestions would be very helpful.

Post Reply