> >> Further to my previous "silence" patch I have discovered >> that there is another error involving the rms calculations. >> >> Initially, and after a reset, the rms sample window is empty >> yet the rms calculation always uses the window size as >> the calculation denominator. This will make the rms >> value appear artificially low to start with. Instead, an >> actual count of samples should be used. >> >> Incidentally, I think that the hard-coded 1/50 for selection >> of a window size should also be parametized. Sometimes a size using >> 1/20 (100 milliseconds when stereo) can be more appropriate than the >> very small 40 millisecond hard-coded sample window size. >> >> The following is the updated patch: > >I'm certainly not going to take a patch with several unrelated changes >as is, nor am I going to do the work unravelling what's what. >
I might also point out that the two issues I have rasied apply to the one same file, namely silence.c. Since patches must be applied in the correct order, and since you appear to unconditionally and irrationally rejected my first patch then I cannot possibly issue a patch that depends on the prior patch. Therefore it makes a lot of sense to submit an cumulative patch. :JW _______________________________________________ SoX-devel mailing list SoX-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-devel