Hard-mapping control between M4L objects

wheelersounds's icon

Hello,

I've searched as best I could and couldn't find an answer to this; my apologies if it's already been answered.

I'm attempting to build a M4L object that uses Arduino to control different parameters on an Ableton synth.
I know that in order to control pan and volume and have it be mapped at startup, I can put the address of those parameters into [live.path]. But my question is: if I want to use the Ableton API to adjust a parameter (say, filter frequency) how can I locate that parameter's path? I tried the click method in the LFO example, but it only shows "id xx."

Thanks for any help!

-Nathan

tyler mazaika's icon

Hi Nathan,

As long as you have a parameter's id you can pass that to a [live.object] and then call getpath on that [live.object] to report the path.

-Tyler

wheelersounds's icon

Thanks, Tyler!

I threw together a little utility that does that (using the 'map' functionality found in the LFO patch) in case anyone else wants to find the id of a parameter quickly.

-Nate

Max Patch
Copy patch and select New From Clipboard in Max.