Re: [LAU] Library for simple audio programming

From: Robin Gareus <robin@email-addr-hidden>
Date: Tue Jan 15 2013 - 11:28:49 EET

Hi Ivan,

Here's a commandline utility approach:

On 01/15/2013 04:09 AM, Ivan K wrote:
> I want to write a simple application that can open a .wav file
> (stereo or mono), grab the header,

sndfile-info <filename>

> and then read and dump
> the sample values from a portion of the .wav file to an ascii data
> file

sox infile.wav outfile.dat

(I want to plot minute portions of the sound file with
> application such as gnuplot).

There's sndfile-waveform

> I am most comfortable working in C, though I would
> consider working in C++.

> What library or libraries do people suggest I work with?

libsndfile in general.

> Thanks.
>
> P.S. Or maybe someone can suggest a command line utility
> that already does this.
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Tue Jan 15 12:15:01 2013

This archive was generated by hypermail 2.1.8 : Tue Jan 15 2013 - 12:15:01 EET