Weird data flow (not waveform)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2010-06-15 20:19, Jos? Tom?s Tocino Garc?a wrote:
> Hi, I'm using the Pulseaudio Simple Api to get the microphone input.
> It works ok, because I can hear exactly what I say on the mic if I
> open an output stream, but if I dump the audio stream to a file and
> then plot it (using gnuplot for instance), it's got nothing to do with
> a waveform. I realized so when I was trying to apply a FFT to the read
> stream, I was getting weird results.

Have you checked that the sample format is matched? E g if the output
from PA is 16 bit signed and gnuplot is expecting floating-point, or
perhaps the other way around.

// David



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux