I managed to write my first Haskell program with a GUI! It shows a window 
of sliders and when you move a slider it sends an according MIDI 
controller message via ALSA.

http://code.haskell.org/~thielema/alsa-gui/

Now I like to provide the reverse direction: If my program receives a MIDI 
controller event via ALSA, then it shall update the slider position. I can 
do this by using WX's timer events and check for incoming ALSA events in 
regular intervals. Is there also a way to wait for ALSA events as they 
come in, without a busy wait?

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users

Reply via email to