<div dir="ltr">The way to do this would be to write a C++ program that uses all of the &quot;core/&quot; source files, but not the &quot;host/&quot; source files, and write your own host that interfaces with an audio callback of your choosing (could reuse / modify the included host). Then, use a global Event to be your clock and use your custom host to respond to events fired from that global Event and to pass the event messages on over to Touchdesigner.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 5, 2019 at 2:08 PM Da Xu &lt;<a href="mailto:djsignal7@yahoo.com">djsignal7@yahoo.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="gmail-m_-3454768279848347307yahoo-style-wrap" style="font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:13px"><div>Hi guys, </div><div><br></div><div>Since, I am not developing for Chuck itself, so, I thought this might be a more appropriate place to ask this question. </div><div><br></div><div>Is it possible to integrate Chuck into a program that I am writing? Basically, I would like to utilize Chuck&#39;s strong time nature to create a custom clock plugin for another environment, specifically Touchdesigner. TD is great for visuals, however, for audio related stuff, its clock can be bit unstable. It has a feature which allows external programs to communicate with it via a shared memory block, which would be the fastest way to get info into TD without overheads like protocol decoding. </div><div><br></div><div>My goal is to create a custom clock(s) generator to send pulses into TD via the shared mem block. So, my question is can I use Chuck in this way? And how would I go about doing that? I know this is a rather simplistic use of Chuck, but I really like Chuck&#39;s strong time nature, its concurrency abilities and being particularly lightweight.</div><div><br></div><div>I searched the documentations, and didn&#39;t really find anything. So, any info would be greatly appreciated.</div><div><br></div><div>Thank you!</div><div><br></div><div>Da. </div></div></div>_______________________________________________<br>
chuck-users mailing list<br>
<a href="mailto:chuck-users@lists.cs.princeton.edu" target="_blank">chuck-users@lists.cs.princeton.edu</a><br>
<a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" rel="noreferrer" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>
</blockquote></div>