[ecasound] ecatools addition - ecasignalview

New Message Reply Date view Thread view Subject view Author view Other groups

Subject: [ecasound] ecatools addition - ecasignalview
From: Kai Vehmanen (k@eca.cx)
Date: Sat Nov 25 2000 - 20:50:16 EET


This is one of those little things that should have been added a long,
long time ago. I rewrote -ev's visual look, and made this little util,
ecasignalview, which periodically shows its output. Ncurses is used for
clearing the screen between updates. Here's a "screenshot":

--cut--
(audiofx) -- Amplitude statistics -----------------------------
Range, pos/neg, count,(%), ch1...n
Pos -1.0 dB: 0 0
Pos -2.0 dB: 0 0
Pos -4.0 dB: 0 0
Pos -8.0 dB: 0 0
Pos -16.0 dB: 0 0
Pos -32.0 dB: 1475 1375
Pos -64.0 dB: 2982 3088
Pos -inf.0 dB: 152 151
Neg -inf.0 dB: 132 144
Neg -64.0 dB: 3096 3172
Neg -32.0 dB: 1379 1286
Neg -16.0 dB: 0 0
Neg -8.0 dB: 0 0
Neg -4.0 dB: 0 0
Neg -2.0 dB: 0 0
Neg -1.0 dB: 0 0
(audiofx) Peak amplitude, period: pos=0.10629 neg=0.11493.
(audiofx) Peak amplitude, all : pos=0.99997 neg=1.00000.
(audiofx) Clipped samples, period: pos=0 neg=0.
(audiofx) Clipped samples, all : pos=0 neg=2.
(audiofx) Max gain without clipping, all: 1.00003.
(audiofx) -- End of statistics (periodical counters reseted) --
--cut--

From ecatools man page:

--cut--
SYNOPSIS

ecasignalview [ options ] [ input ] [ output ]

DESCRIPTION

Ecasignalview is meant for monitoring signal amplitude and
peak statistics. It accepts the following options:

input The first option not starting with with a '-' is
              interpreted as input string. This can be a device
              or a filename. All formats supported by libecasound
              are accepted. Defaults to '/dev/dsp'.

output Similarly to input, second option not starting with
              a '-' is interpreted as output. Defaults to 'null'.

-b:buffersize
              Buffersize in sample frames. Defaults to 128.

-c Enable cumulative mode. Counters are not reseted
               after refresh.

-d Enable debug mode.

-r:rate_msec
              Specify screen refresh rate in milliseconds.
--cut--

... and it's in CVS ...(switching console) ... now. :)

-- 
 . http://www.eca.cx ... [ audio software for linux ] /\ . 
 . http://www.eca.cx/aivastus ... [ aivastus net radio ] /\ . 
 . http://www.eca.cx/sculpscape [ my armchair-tunes mp3/ra/wav ]

-- To unsubscribe send message 'unsubscribe' in the body of the message to <ecasound-list-request@wakkanet.fi>.


New Message Reply Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Sat Nov 25 2000 - 20:16:54 EET