Re: Timer function

2007-05-06 Thread Stefan Kost
hi,

I work on a whole music composer [1] built on gstreamer and there you can use
gst-controller to trigger notes or change sound-parameters. GStreamer cares
about the timing, you just schedule changes with a timestamp. Come to #gstreamer
irc on freenode.org if you have questions.

Stefan

[1] http://www.buzztard.org

Fred Lefévère-Laoide wrote:
> Hi,
> 
> I plan to write a software metronome and I wonder what would be the best
> way to get a timer precise enough for that purpose ?
> 
> The other problem is what's the best way to make a short sound
> (eventually corresponding to a note ...)
> 
> Thanks for your help.
> 
> Fred
> ___
> maemo-developers mailing list
> maemo-developers@maemo.org
> https://maemo.org/mailman/listinfo/maemo-developers

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: Timer function

2007-04-17 Thread Neil Jerram
Fred Lefévère-Laoide <[EMAIL PROTECTED]> writes:

> Hi,
>
> I plan to write a software metronome and I wonder what would be the
> best way to get a timer precise enough for that purpose ?

I wrote one using just g_timeout_add(), and that seems to me to work
well enough.

I've put the source code up at
http://www.ossau.uklinux.net/guile/metronome.scm, in case you'd like
to look and don't mind reading Scheme.

> The other problem is what's the best way to make a short sound
> (eventually corresponding to a note ...)

Indeed.  I don't have a solution for this yet; would be interested to
hear if you find a nice one.  Currently my metronome is just visual.

Regards,
 Neil

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Timer function

2007-04-17 Thread Fred Lefévère-Laoide

Hi,

I plan to write a software metronome and I wonder what would be the best 
way to get a timer precise enough for that purpose ?


The other problem is what's the best way to make a short sound 
(eventually corresponding to a note ...)


Thanks for your help.

Fred
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers