I have been working with Pure Data for a bit and just recently came across the apple library.
I want to use the [ambient_light_sensor] as a MIDI CC controller so I can perform live with it. My objective is to use it as a modulator and send MIDI CC messages to software/hardware synth parameters. Question is: How do I go about dynamically mapping the lowest value the sensor as 0 and the highest as 127? What method does anyone recommend using? Thanks in advance