Option to silence warnings
Currently there is no way (that I could find) to silence plugin warnings. For instance, this happens when processing audio sampled at 48kHz with the qm onset detector:
WARNING: PluginInputDomainAdapter::initialise: non-power-of-two blocksize 1114 not supported, using blocksize 1024 instead WARNING: OnsetDetector::initialise: Possibly sub-optimal block size for this sample rate: 1024 (wanted 1114)
When processing large amounts of files it would be very helpful to be able to silence such warnings, as they render any other terminal output useless (e.g. printing out a message when a certain condition is detected).
#1 Updated by Chris Cannam almost 5 years ago
Currently no, and I'm not sure how you would achieve that -- the second of those messages at least comes from the plugin itself, not the host module.
(These presumably go to stderr at least, while normal output would generally go to stdout?)
The ideal solution in this particular case would be to get the right blocksize and avoid having the warning at all...