|
From: Thor A. <ta...@to...> - 2012-05-30 11:29:19
|
On Tue, May 29, 2012 at 07:29:06PM +0200, Ulrich Klauer wrote: > 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. I've been meaning to write something like that for awhile, maybe it should also support computing spectral and spectrogram information ... -- best regards Thor Andreassen |