|
From: Ulrich K. <ul...@ch...> - 2012-05-29 17:29:51
|
Thor Andreassen <ta...@to...>: > The thing is, the data should be > compressed somehow without loosing too much information ie. local minima > and maxima, and the compression should take into account the number of > pixels that the user has available, so maybe something like this: > input : S = [buffer of samples] > output : maxmin(S) > Where the buffers size is = samples / horizontal-pixels, and where > maxmin might be plotted in the same column. AFAICS a sox effect is a > pretty good and useful place for such a solution, as you proposed. I'd agree that an effect that computes minimum or maximum values over configurable blocks of samples might be a useful addition. However, plotting directly (i.e. an effect that, like "spectrogram", writes out a PNG file, but with a waveform) seems to me outside the scope of an audio utility. Ulrich |