[LAD] audio/midi app development

Arnold Krille arnold at arnoldarts.de
Wed Jun 16 17:22:35 UTC 2010


On Tuesday 15 June 2010 17:55:56 Paul Davis wrote:
> On Tue, Jun 15, 2010 at 11:27 AM, James Morris <james at jwm-art.net> wrote:
> > Incidentally, if I want the GUI to update very close to real time, say
> > a grid of blocks flashing on and off as notes come and go, any
> > thoughts? Would a GTK GUI update fast enough?
> 
> key insight: your display monitor only redraws between 60 and 90 times
> per second. attempting to redraw anything more frequently than this is
> simply wasting CPU cycles and making your life more difficult. put
> more bluntly: it doesn't matter if you have notes turning on and off
> 1000 times per second - you and your users not working on a display
> device that can possibly show this.

Unless you make your lights "slowly" go on an off with transitions, there isn't 
even a need to be faster then 25 or 30 updates per second. The slowest part 
here is the human eye. And the requirement for >60Hz refresh rate for pictures 
comes from the good old days of CRT screens.

Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-dev/attachments/20100616/a9858f0b/attachment.pgp>


More information about the Linux-audio-dev mailing list