[LAD] help with RtMidi and gtkmm

From: alessandro filippo <alessandro.filippo@email-addr-hidden>
Date: Sat Feb 04 2012 - 19:57:23 EET

Hi, I'm learning to write simple audio/midi applications in C++ with
RtMidi and gtkmm libraries (version 2.4).

This is the application I'm working on:
http://www.eclepticbox.altervista.org/index.php/download/finish/2-audio-midi/8-sawlidsyngui

I got some issues with RtMidi IN (Callback). I followed the RtMidi
tutorial and the VMPK example (however this is written with Qt), but the
problem is that the GUI freezes when I send some MIDI data and it
doesn't refresh the widgets values.

Midi Out works properly.

I think the problem is in the Midi Callback and in the event/signal
managing.
I tried some function in order to refresh the gui but they didn't work.

This is the smallest extract of code that has the issue (only a
spinbutton sending / receiving MIDI Program Change):

http://www.eclepticbox.altervista.org/index.php/download/finish/2-audio-midi/9-sawlidsyngui-test

The sources are in the src folder, see:

sawlidsyngui.cpp
sawlidsyngui.h

Any help is appreciated....

Thanks ...
Alessandro

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Sat Feb 4 20:15:02 2012

This archive was generated by hypermail 2.1.8 : Sat Feb 04 2012 - 20:15:02 EET