How do I make Max read a controller (Akai APC20)?

Jess's icon

Hey everyone!

I've worked with videos before, but have never manipulated videos through a controller, sequencer or MIDI keyboard. I'm very new to this. I'm curious as to what the first step is: how do I read a controller or device through Max? I'm working with an Akai APC20 controller and I can't seem to make the first step work. Your help is much appreciated. Thanks!

-Jess

Stephane Morisse's icon

Use [ctlin] connected to an [int] object to identify the controllers (aka CC numbers), then you'll have to scale the values from midi (0 to 127) into a range you can use with video (0. 1. in many cases). You can also have a look at [bendin], [notein] or program changes...

Jess's icon

Thank you!! Have an awesome day!

Cheers.

Peter Nyboer's icon

Darwin's article might be a good thing to read. It's not about the APC40 specifically, but the general lessons apply.
https://cycling74.com/2012/01/04/working-with-hardware-livid-instruments’-code/