Level meter object to midi CC

nemoy's icon

Hey there!

i'm quite new to M4L.
I've read about the Level Meter live object in the LOM Reference
and I think it should be possible to read the level meter,
scale its value to a 1-127 scale and send it as a Midi CC.
(for further use within Ableton live, or with a visualisation
software etc..)

I'm just not getting anywhere trying to program that...

Do you guys have a good starting point for this one?
or is there already a patch that does that?
or is there another much simpler way, i havent thought of?

Cheers!
And Thank you very much!