On Tue, Jun 15, 2010 at 11:27 AM, James Morris
<james(a)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