[LAU] Library for simple audio programming

Ivan K ivan_521521 at yahoo.com
Tue Jan 15 19:07:17 UTC 2013



Fons Adriaensen <fons at linuxaudio.org> writes:
>
> On Mon, Jan 14, 2013 at 07:09:56PM -0800, Ivan K wrote:
>
> > I want to write a simple application that can open a .wav file
> > (stereo or mono), grab the header, and then read and dump
> > the sample values from a portion of the .wav file to an ascii data
> > [...]
>
> All you need is libsndfile and the standard C or C++ libraries.
 
Thanks;  I do want to go with whatever is standard or most
commonly used.
 
 
 
> Note that gnuplot will just plot the sample values, not the
> analog waveform represented by them. If the signal contains
> significant energy at high frequencies (say FS / 10) just
> plotting the samples will provide a poor idea of the waveform.
> One solution in that case is to upsample first.
 
Again, thank you for the advice!


More information about the Linux-audio-user mailing list