Csound Csound-dev Csound-tekno Search About

[Csnd] Multiple OSC ports

Date2024-10-18 14:19
FromPhilipp Neumann <0000119f78f3a4f9-dmarc-request@LISTSERV.HEANET.IE>
Subject[Csnd] Multiple OSC ports
Hello everybody!

I’m currently working on a connection between my SBCL Lisp Repl and Csound.

I already can send messages from csound to lisp.
But with the implementation i use in lisp i have a problem with the port configuration.

i send my osc messages to lisp on port 8090, lisp is then evaluating my message and then should send the result to csound on port 8091.
my problem is, when i set my Lisp Repl to the receiving state it is already setting it’s sending port to 8091. When i run csound after this i run in the problem, that csound can’t open the port 8091 because it is already in use.

Is there any solution for this?

Greetings,
Philipp
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

Date2024-10-18 14:56
Fromvlz
SubjectRe: [Csnd] Multiple OSC ports
what about start Csound listening first, before you start listening?

Btw, Csound 7 has bindings for SBCL so you can run Csound directly from it. See examples here



Prof. Victor Lazzarini
Maynooth University
Ireland

On 18 Oct 2024, at 14:19, Philipp Neumann <0000119f78f3a4f9-dmarc-request@listserv.heanet.ie> wrote:

Hello everybody!

I’m currently working on a connection between my SBCL Lisp Repl and Csound.

I already can send messages from csound to lisp.
But with the implementation i use in lisp i have a problem with the port configuration.

i send my osc messages to lisp on port 8090, lisp is then evaluating my message and then should send the result to csound on port 8091.
my problem is, when i set my Lisp Repl to the receiving state it is already setting it’s sending port to 8091. When i run csound after this i run in the problem, that csound can’t open the port 8091 because it is already in use.

Is there any solution for this?

Greetings,
Philipp
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

Date2024-10-20 14:11
FromPhilipp Neumann <0000119f78f3a4f9-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: [Csnd] Multiple OSC ports
> Am 18.10.2024 um 15:56 schrieb vlz :
> 
> what about start Csound listening first, before you start listening?

Yes, this works. But is not the nicest workflow. Since i have to restart SBCL OSC listening every time i recall csound. Thats why i was wondering if there is a workaround.


maybe someone can help me with another question on receiving OSC messages:

i get from sbcl messages like this:
eabf7de1.d1cd91ed /OSC-SC 1203-OSC-SC-EVAL 7 
i printed this in the terminal via oscdump from the liblo library.

i can’t manages to get this to receiving in csound.
/OSC-SC is the adresse i'm using.
1203-OSC-SC-EVAL is a unique identifier, to make the adresse more precise
7 is an example for an result i get from SBCL via evaluating lisp code i send from csound.

i just want to extract the result from and use it in csound.
How do i have to use OSClisten here?

Greetings,
Philipp
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

Date2024-10-21 20:40
Fromluis antunes pena <00000fd5d0d20dbf-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: [Csnd] Multiple OSC ports
Victor, thanks for the Lisp examples! Something to study and develop. Really cool.

Also enjoyed listening to your tracks specially at bandcamp ;) Nice to hear the live sound with the room acoustics. I was wondering if you are tracking the incoming midi notes and processing them - it is like a mysterious shadow, a canon.
Thanks for sharing.

On 18.10.24 15:56, vlz wrote:
what about start Csound listening first, before you start listening?

Btw, Csound 7 has bindings for SBCL so you can run Csound directly from it. See examples here



Prof. Victor Lazzarini
Maynooth University
Ireland

On 18 Oct 2024, at 14:19, Philipp Neumann <0000119f78f3a4f9-dmarc-request@listserv.heanet.ie> wrote:

Hello everybody!

I’m currently working on a connection between my SBCL Lisp Repl and Csound.

I already can send messages from csound to lisp.
But with the implementation i use in lisp i have a problem with the port configuration.

i send my osc messages to lisp on port 8090, lisp is then evaluating my message and then should send the result to csound on port 8091.
my problem is, when i set my Lisp Repl to the receiving state it is already setting it’s sending port to 8091. When i run csound after this i run in the problem, that csound can’t open the port 8091 because it is already in use.

Is there any solution for this?

Greetings,
Philipp
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
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

Date2024-10-21 20:53
Fromvlz
SubjectRe: [Csnd] Multiple OSC ports
It's all long delay lines in Csound plus filtering and some light modulation. Midi is only used to control processing parameters (and to play the synth). It's not a complex set up, just enough that it's possible to learn to play it live.

Prof. Victor Lazzarini
Maynooth University
Ireland

On 21 Oct 2024, at 20:40, luis antunes pena <00000fd5d0d20dbf-dmarc-request@listserv.heanet.ie> wrote:

 Victor, thanks for the Lisp examples! Something to study and develop. Really cool.

Also enjoyed listening to your tracks specially at bandcamp ;) Nice to hear the live sound with the room acoustics. I was wondering if you are tracking the incoming midi notes and processing them - it is like a mysterious shadow, a canon.
Thanks for sharing.

On 18.10.24 15:56, vlz wrote:
what about start Csound listening first, before you start listening?

Btw, Csound 7 has bindings for SBCL so you can run Csound directly from it. See examples here



Prof. Victor Lazzarini
Maynooth University
Ireland

On 18 Oct 2024, at 14:19, Philipp Neumann <0000119f78f3a4f9-dmarc-request@listserv.heanet.ie> wrote:

Hello everybody!

I’m currently working on a connection between my SBCL Lisp Repl and Csound.

I already can send messages from csound to lisp.
But with the implementation i use in lisp i have a problem with the port configuration.

i send my osc messages to lisp on port 8090, lisp is then evaluating my message and then should send the result to csound on port 8091.
my problem is, when i set my Lisp Repl to the receiving state it is already setting it’s sending port to 8091. When i run csound after this i run in the problem, that csound can’t open the port 8091 because it is already in use.

Is there any solution for this?

Greetings,
Philipp
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
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
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