Re: [ecasound] data-logging with ecasound?

From: Kai Vehmanen <kvehmanen@email-addr-hidden>
Date: Fri Oct 21 2005 - 00:05:47 EEST

On Thu, 20 Oct 2005, The Eye wrote:

> Now here at the new department (physics, Uni Ulm) we were thinking that
> a soundcard is quite a nifty tool, it provides two channels at 44100 Hz
> .. so why not use it for data-logging?
> So .. question is: can ecasound be coerced into writing to a clear-text
> ascii file that could later be examined with gnuplot or some tool like
> that? Or can raw/wav-files somehow be transformed to such a clear text
> file?

Hmm, interesting problem. One option is to use hexdump:

ecasound -i alsa -o stdout -q |hexdump |data-log.txt

With hexdump's -f option (see hexdump(1)) you have full control
over the output formatting.

  links, my public keys, etc at
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more.
Ecasound-list mailing list
Received on Fri Oct 21 00:15:08 2005

This archive was generated by hypermail 2.1.8 : Fri Oct 21 2005 - 00:15:09 EEST