sine wave signal for 15 seconds

Andrea König andrea.koenig at gmatic.de
Wed May 18 01:38:23 PDT 2011


Hi Praveen,
many thanks for your reply. Is there a proportional behaviour? Means a num-buffers=150 ends in a timestamp of about 3s than a 15s long signal can be calculated by the ration 150num-buffers/3s?

Best regards
Andrea

Am 18.05.2011 10:05, schrieb praveen pandey:
It depends on other factors even, like sampling frequency.

To confirm  your data you can run

audiotestsrc num-buffers=150 ! fakesink -v

and observe the last timestamp. by seeing this timestamp you can calculate the num-buffers to adjust to 15 seconds.

Best Regards,
Praveen

2011/5/18 Andrea König <andrea.koenig at gmatic.de<mailto:andrea.koenig at gmatic.de>>
Hi all,
I want to create a sine wave audio signal of a defined length, e.g. 15s.
The element audiotestsrc has the property num-buffers. If I set the
property to a defined value the signal gets an EOS. Set the property to
num-buffers=150 the signal has length of about 9s. Is this the right way
to calculate the length of the signal by number of num-buffers or is
there another possibility?

--
Best regards

Andrea König
(Development)


G.punkt - medical services
Ihre Wünsche sind unser Konzept
Halberstädter Str. 115 A
39112 Magdeburg

fon: +49 391 280380
fax: +49 391 2803822

mail: Andrea.Koenig at gmatic.de<mailto:Andrea.Koenig at gmatic.de>
inet: www.gmatic.de<http://www.gmatic.de>

Institutskennzeichen: IK331530332, OID: 1.2.276.0.76.3.1.51; (c) 2011 by G.punkt;
G.punkt ist Trust center zertifiziert für elektronischen Datenaustausch mit Leistungserbringern;
GF: Tino Graßhof; ST-ID: DE210661356; Nr.: 101-225-04463; Großhandelserlaubnis nach § 52a Arzneimittelgesetz;
G.punkt ist Mitglied im N.I.R. Netzwerk für innovative Rheumadiagnostik und -therapie;
Neoscreen, NIQ und gmatic sind eingetragene Warenzeichen
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org<mailto:gstreamer-devel at lists.freedesktop.org>
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel





_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org<mailto:gstreamer-devel at lists.freedesktop.org>
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel







G.punkt - medical services
Ihre Wünsche sind unser Konzept
Halberstädter Str. 115 A
39112 Magdeburg

fon: +49 391 280380
fax: +49 391 2803822

mail: Andrea.Koenig at gmatic.de
inet: www.gmatic.de

Institutskennzeichen: IK331530332, OID: 1.2.276.0.76.3.1.51; (c) 2011 by G.punkt;
G.punkt ist Trust center zertifiziert für elektronischen Datenaustausch mit Leistungserbringern;
GF: Tino Graßhof; ST-ID: DE210661356; Nr.: 101-225-04463; Großhandelserlaubnis nach § 52a Arzneimittelgesetz;
G.punkt ist Mitglied im N.I.R. Netzwerk für innovative Rheumadiagnostik und -therapie;
Neoscreen, NIQ und gmatic sind eingetragene Warenzeichen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110518/20f76ee7/attachment.htm>


More information about the gstreamer-devel mailing list