[Stk] Re: Stk digest, Vol 1 #227 - 1 msg

Tristan Matthews le.businessman at gmail.com
Fri, 21 Dec 2007 17:16:25 -0500


Hi Beinan,

You should check out Mark Zadel's Different Strokes
(http://www.music.mcgill.ca/~zadel/differentstrokes/) for a good
example of interfacing gui callbacks with stk callbacks. He uses glut
but I'm sure a similar approach could be useful with wxWidgets. Keep
me posted as I'm working on an stk program that will have a gui
written in either glut/glui, or QT.

Best,
Tristan

On Dec 21, 2007 3:00 PM,  <stk-request@ccrma.stanford.edu> wrote:
> Send Stk mailing list submissions to
>         stk@ccrma.stanford.edu
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://ccrma-mail.stanford.edu/mailman/listinfo/stk
> or, via email, send a message with subject or body 'help' to
>         stk-request@ccrma.stanford.edu
>
> You can reach the person managing the list at
>         stk-admin@ccrma.stanford.edu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Stk digest..."
>
>
> Today's Topics:
>
>    1. Callback scheme with a native GUI (beinan li)
>
> --__--__--
>
> Message: 1
> Date: Fri, 21 Dec 2007 14:52:13 -0500
> From: "beinan li" <li.beinan@gmail.com>
> To: stk@ccrma.Stanford.EDU
> Subject: [Stk] Callback scheme with a native GUI
>
> ------=_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--
>
>
>
> --__--__--
>
> _______________________________________________
> Stk mailing list
> Stk@ccrma.stanford.edu
> http://ccrma-mail.stanford.edu/mailman/listinfo/stk
>
>
> End of Stk Digest
>