[sugar] generate clean tone to speakers (first prototype of working EKG around the XO )

Walter Bender walter at laptop.org
Wed Apr 2 07:25:04 EDT 2008


there is a simple example in Pippy as well.

-walter

On Wed, Apr 2, 2008 at 1:14 AM, Arjun Sarwal <arjun at laptop.org> wrote:
> Tom,
>
>  >
>  > Arjun, could you suggest an activity that gives a good clean example of
>  > sending sound to the speakers? Thanks.
>  >
>  >
>  You could use gstreamer (the same package the measure uses to grab audio data)
>  to create a pipeline, a command line example is below which generates
>  a sine of 500Hz
>
>   gst-launch-0.10 audiotestsrc wave=sine freq=500 ! audioconvert ! alsasink
>
>  In python you could create a pipeline and implement it similar lines
>  to that given in audiograb.py in the Measure code.
>
>
>  I think it is possible to generate tones using Csound too and perhaps
>  other Activities are doing it, but I'm not aware of them.
>
>
>  regards
>  Arjun
>
>  ---
>  Arjun Sarwal
>  Intern at One Laptop per Child
>  <arjun at laptop.org>
>  http://laptop.org/
>  _______________________________________________
>  Sugar mailing list
>  Sugar at lists.laptop.org
>  http://lists.laptop.org/listinfo/sugar
>



-- 
Walter Bender
One Laptop per Child
http://laptop.org


More information about the Sugar mailing list