[Csnd] OSCbundle problems
Date | 2025-02-17 13:34 |
From | Maximilian Marcoll |
Subject | [Csnd] OSCbundle problems |
Attachments | smime.p7s |
Hi everyone! I ran into a problem with OSCbundle today, that I hope someone can shed some light on. My orc is sending ~500 OSC-messages per second (all floats). Although it seems to be running ok, I thought I could make the patch more efficient by using OSCbundle instead of sending ~500 individual OSC-messages. (They should come in packs of 14 messages at a time anyway.) Alas, my new hyper-bundled mega-efficient super-instrument now runs for approx. 80 seconds before apparently hitting road blocks: INIT ERROR in instr 23 (opcode OSCbundle) line 59: creating socket As of a certain moment, the instrument just refuses to continue and creates these “creating socket” -Errors instead. I tried increasing the maximum package size to 2^24 just in case, but to no avail. The values in the arrays are identical to the ones I’m sending individually. Any ideas why OSCbundle wouldn't be able to continue? Thank you, Max ________________________________ Prof. Maximilian Marcoll Studio Director Studio for Electroacoustic Music (SEAM) University of Music Franz Liszt Weimar Bauhaus University Weimar |
Date | 2025-02-17 13:54 |
From | Victor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE> |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] OSCbundle problems |
I see that there is no deinit code for OSCbundle (as there is for OSCsend), maybe there are too many open sockets? I can add a deinit to Csound 7.0 if you want to try it (Csound 6.x is EOL). ======================== Prof. Victor Lazzarini Maynooth University Ireland > On 17 Feb 2025, at 13:34, Maximilian Marcoll |
Date | 2025-02-17 14:58 |
From | Maximilian Marcoll |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] OSCbundle problems |
Attachments | smime.p7s |
That would be great, thanks!! M ________________________________ Prof. Maximilian Marcoll Studio Director Studio for Electroacoustic Music (SEAM) University of Music Franz Liszt Weimar Bauhaus University Weimar
|
Date | 2025-02-17 15:09 |
From | Victor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE> |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] OSCbundle problems |
There's a PR now, you can build from the branch and test it. Prof. Victor Lazzarini
Maynooth University
Ireland
On 17 Feb 2025, at 14:58, Maximilian Marcoll <maximilian.marcoll@hfm-weimar.de> wrote:
|
Date | 2025-02-19 11:34 |
From | Maximilian Marcoll |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] OSCbundle problems |
Attachments | smime.p7s |
This seems to be working now! Thanks a lot! BTW, when building from the sources on Mac OS, I have to manually copy the CsoundLib64.framework to /LibraryFrameworks/ csound doesn’t find it in /usr/local/ I’m sure there is an obvious mistake I’m overlooking rn, can someone maybe point me in the right direction? thx M
________________________________ Prof. Maximilian Marcoll Studio Director Studio for Electroacoustic Music (SEAM) University of Music Franz Liszt Weimar Bauhaus University Weimar |
Date | 2025-02-19 12:50 |
From | Victor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE> |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] OSCbundle problems |
I am not sure of your setup, but when building it here, I have in my Custom.cmake set(CMAKE_INSTALL_PREFIX "$ENV{HOME}") so my binaries are installed in ~/bin . The framework is installed by default in ~/Library/Frameworks/ (but this can be changed by a CMake setting). That works correctly because CMake add the RPATH correctly % otool -l ~/bin/csound … Load command 23 cmd LC_RPATH cmdsize 48 path /Users/victor/Library/Frameworks (offset 12) and the bin has the CsoundLib64 linked in the rpath otool -L ~/bin/csound ... @rpath/CsoundLib64.framework/Versions/7.0/CsoundLib64 (compatibility version 7.0.0, current version 0.0.0) ... The reason I set it to install at $HOME is because then I don’t need to use sudo and deal with permissions. I find it very handy. ======================== Prof. Victor Lazzarini Maynooth University Ireland > On 19 Feb 2025, at 11:34, Maximilian Marcoll |