I'm working on a few modules that I'm building hoping to be able to re-use them in many projects, so it has to be versatile. I often have mono sources and stereo sources.
At the moment, I switch between both using a button. But I would like it to be automatic based on the signal. The problem I am foreseeing is if I have a stereo input that I pan all the way to the left, It will detect it as a mono signal and I don't want that.
Do you guys have any ideas on how to detect whether the signal is mono or stereo that wouldn't get confused when I pan the signal?