Hi everyone, I’ve gotten csound6~ in Max handling events with strings in them nicely now, so that I can dynamically create control processes that write to kchannels. However, if one sends a numeric pfield to an instrument that is expecting a string pfield, it segfaults. The other way around is handled gracefully: if I send a string arg to a regular instrument where it expects a number, I get a NaN out and no crash.
This is a bit of a show stopper for my use case, as I want to make sure there is no chance of tanking Max from an illformed input score event. If need be I’m willing to dive into the main source to fix it, but wanted to float this here first to find out if there are workarounds, or what the protocol for fixing something like this should be (as I have never contributed to core).
My example csd is attached
thanks
iain
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
cs-out-msg.csd (862 Bytes)