[Stk] Callback scheme with a native GUI

beinan li li.beinan at gmail.com
Fri, 21 Dec 2007 14:52:13 -0500


------=_Part_1850_30545998.1198266733680
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi All,

I used STK a few years ago for a real-time synthesis
and my control interface was a vanilla TclTK one.

Now I would like to shift to a native C++ GUI, namely
wxWidgets. Here is my question:

   1. Would it make a big difference in the latency of control/synthesis
   feedback loop by using such a native GUI from using an external control such
   as TclTK? I've had latency issues when using TclTK.
   2. If I choose to use a native GUI anyway, I'm not sure yet how to
   hook it up with the Callback scheme in STK. It looks to me that there are
   only two ways to communicate between the main synthesis process and the
   controller: Stdin/Stdout and Socket. When using an external GUI, it makes
   more sense to use these; but I don't know where to start if I'm to
   communicate in the same program. Should I explicitly implement
   multi-threading?

Any tip is much appreciated.

If no one cares enough around this time, I'll just have to
say:
Merry Christmas and see you next year!~

-- 

Beinan

------=_Part_1850_30545998.1198266733680
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi All,<br><br>I used STK a few years ago for a real-time synthesis<br>and my control interface was a vanilla TclTK one. <br><br>Now I would like to shift to a native C++ GUI, namely <br>wxWidgets. Here is my question:<br>
<ol><li>Would it make a big difference in the latency of control/synthesis feedback loop by using such a native GUI from using an external control such as TclTK? I&#39;ve had latency issues when using TclTK.</li><li>If I choose to use a native GUI anyway, I&#39;m not sure yet how to hook it up with the Callback scheme in STK. It looks to me that there are only two ways to communicate between the main synthesis process and the controller: Stdin/Stdout and Socket. When using an external GUI, it makes more sense to use these; but I don&#39;t know where to start if I&#39;m to communicate in the same program. Should I explicitly implement multi-threading?
<br></li></ol>Any tip is much appreciated.<br><br>If no one cares enough around this time, I&#39;ll just have to <br>say:<br>Merry Christmas and see you next year!~<br clear="all"><br>-- <br><br>Beinan

------=_Part_1850_30545998.1198266733680--