sine wave signal for 15 seconds

praveen pandey praveen.pande1 at gmail.com
Wed May 18 01:05:35 PDT 2011


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>

> 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
> 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
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110518/4a13cd01/attachment.htm>


More information about the gstreamer-devel mailing list