[chuck-users] Communicate with a C++ programme

Stephen D Beck sdbeck at lsu.edu
Tue May 10 16:57:19 EDT 2016


Guillermo,

You can find an example of outbound OSC messages here:

http://chuck.cs.princeton.edu/doc/examples/osc/OSC_send.ck

Steve



[LSU]<http://www.lsu.edu/>

Stephen David Beck, PhD
Associate Vice President
Office of Research & Economic Development
Louisiana State University
130 David Boyd Hall, Baton Rouge, LA  70803
office 225-578-5833 | mobile 225-223-0344 | fax 225-578-5983
sdbeck at lsu.edu<mailto:sdbeck at lsu.edu> | lsu.edu<http://www.lsu.edu/> | research.lsu.edu<http://research.lsu.edu/>

Facebook: LSUORED<http://www.facebook.com/LSUORED> | Twitter: ORED_LSU<http://www.twitter.com/ORED_LSU> | Instagram: ored_lsu<http://www.instagram.com/ored_lsu>

LSU Research - The Constant Pursuit of Discovery

From: <chuck-users-bounces at lists.cs.princeton.edu<mailto:chuck-users-bounces at lists.cs.princeton.edu>> on behalf of Guille Elias Alonso <guille_elias_alonso at hotmail.com<mailto:guille_elias_alonso at hotmail.com>>
Reply-To: ChucK Users Mailing List <chuck-users at lists.cs.princeton.edu<mailto:chuck-users at lists.cs.princeton.edu>>
Date: Tuesday, May 10, 2016 at 3:53 PM
To: "chuck-users at lists.cs.princeton.edu<mailto:chuck-users at lists.cs.princeton.edu>" <chuck-users at lists.cs.princeton.edu<mailto:chuck-users at lists.cs.princeton.edu>>
Subject: [chuck-users] Communicate with a C++ programme

Hello guys,

I'm writing a programme that analyses the micro input and makes some actions according to the analysis. Everything about the analysis is written in Chuck. The analysis of the micro signal gives a single number every 16 ms, and this number has to be sent to the C++ programme but I don't know how I can connect the two parts. This application is highly time-sensitive so I need a fast way of communicating.

I had read about these OSC events but it seems it's only for Chuck programmes receiving input from the outside and I want just the opposite. I've also thought about some mechanism of shared memory between the Chuck programme and the C++ programme but I don't see anywhere some way of implementing that with Chuck. Do you have any ideas?

Thanks,
Guillermo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20160510/4a6cbbdf/attachment.html>


More information about the chuck-users mailing list