Is there any possibility to read the PCM data of a song in a script without the use of an external program?
If not, it would be a great enhancement to easily implement any kind of analysis or visualization script.
An idea is to create a script that analyzes songs for clipping and dynamic range (DR). The results would be written to the database and tags, using the custom tagging interface.
As MM scans the files to calculate ReplayGain, I guess there is already an internal function that could be made available publicly to scripts? The format could be 32 bit integer array with variable channels and sampling rate, or downsampled to 16bit 44.1kHz stereo.