[gst-devel] Problems with recording single impulses in wav

Martin.Lehmann at telekom.de Martin.Lehmann at telekom.de
Thu Sep 18 14:55:18 CEST 2008


Ok I've tried it once more, adding some noise and 4000samples of
silence,
But still the same Problem, first it works, but when I want validate my
Results, the impulse is gone...

I really have no idea, can someone please give me a hint?

there was an error in the pipeline (one "!" to much, I've also replaced
the decodebin with the wavparse). Right one is:

gst-launch filesrc location=impulse.wav ! wavparse ! audioconvert !
alsasink 	alsasrc ! audioconvert ! wavenc ! filesink
location=test.wav

thanks for answers,
Martin


-----Original Message-----
From: gstreamer-devel-bounces at lists.sourceforge.net
[mailto:gstreamer-devel-bounces at lists.sourceforge.net] On Behalf Of
Lehmann, Martin
Sent: Mittwoch, 17. September 2008 18:16
To: gstreamer-devel at lists.sourceforge.net
Subject: [gst-devel] Problems with recording single impulses in wav

Hello,

i want to measure my Systems-latency, so created an impulse.wav-file
with one single impulse (1.0) at the first sample. Then I wrote this
commandline:

gst-launch ! filesrc location=impulse.wav ! decodebin ! audioconvert !
alsasink 	alsasrc ! audioconvert ! wavenc ! filesink
location=test.wav

but when I look in my test.wav to count the samples, the signal took,
only every 10th time I see the impulse.
Is this a problem with the wav-format, that it is not really made for
recording impulses? May there be another format, what is better for?

Or is it a problem with buffers and blocks?
In the alsasrc there is a problem changing the values for buffer-time
and latency.

Hope anybody has an idea.

------------------------------------------------------------------------
-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel




More information about the gstreamer-devel mailing list