Re: [LAD] pyqt vs wxpython for audio apps?

From: Iain Duncan <iainduncan@email-addr-hidden>
Date: Sun Sep 06 2009 - 21:38:47 EEST

On Sun, 2009-09-06 at 11:01 -0400, Joshua D. Boyd wrote:
> Paul Davis wrote:
> > On Sat, Sep 5, 2009 at 5:33 PM, Iain Duncan<iainduncan@email-addr-hidden> wrote:
> >> Hi everyone, I'm wondering what most linux audio developers think about
> >> pyqt vs wxpy for writing audio app guis now that qt is gpl'd.
> >> Specifically I'm interested in tightly controlling the timing of event
> >> loop ( ie making some accurate external clock source like the csound
> >> engine be the time boss ) and making decent faders widgets.
> >
> > my recommendation is that you rethink whatever architecture you're
> > imagining. you will not, and almost certainly should not, drive a GUI
> > event loop from anything audio related. you should (IMHO) be thinkng
> > about two different loops: a GUI event loop driven by mouse, keyboard
> > and system time(r|out) events, and an audio engine loop driven by the
> > "clock" of the audio API (JACK, ALSA, whatever). the GUI doesn't need
> > tight timing (remember that your display almost certainly only
> > refreshes at no more than 100 times per second, and quite possibly
> > more in the range of 60-80 times per second.

Thanks. How do you communicate to the gui loop when it should update
itself based on audio activity?

thanks
Iain

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Mon Sep 7 00:15:02 2009

This archive was generated by hypermail 2.1.8 : Mon Sep 07 2009 - 00:15:02 EEST