Csound Csound-dev Csound-tekno Search About

Re: [Csnd] [EXTERNAL] [Csnd] Openframeworks --> real-time Csound question

Date2025-04-24 11:23
FromRobert Gerard Pietrusko
SubjectRe: [Csnd] [EXTERNAL] [Csnd] Openframeworks --> real-time Csound question
Hi Victor,

Thank you for weighing in on this. These thoughts are super helpful!
Best
Robert



Date:    Wed, 23 Apr 2025 14:45:16 +0000
From:    Victor Lazzarini <Victor.Lazzarini@MU.IE>
Subject: Re: [EXTERNAL] [Csnd] Openframeworks --> real-time Csound question

Some thoughts.

- running Csound as a separate process is the simplest way to separate user interface events and audio processing. So your choices are ok. You don't necessarily need to write a custom application embedding Csound.

- besides the two options you listed which sound both ok to me, you can also consider the UDP server

https://csound.com/docs/manual/udpserver.html

- If you use Csound 7, you also have the option of sending OSC messages to the UDP server too.

https://csound.com/manual/overview/udp-server/


Regarding your problem quitting Csound, you may consider using this opcode

https://csound.com/docs/manual/exitnow.html

HTH

Prof. Victor Lazzarini
Maynooth University
Ireland
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here