-
Notifications
You must be signed in to change notification settings - Fork 327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pd multichannel improvements #1037
Pd multichannel improvements #1037
Conversation
the first inlet only takes messages, there is no reason why it should be a signal inlet. this makes sure that users get an error when they wrongly try to connect it to a signal chord.
if 1 (default), keep the first inlet as a pure message inlet; if 0, the first inlet is a signal inlet and also accepts messages.
I still can't test, so I hope I didn't break anything :) @sletz @alainbonardi Please test all four combinations:
If this works, you could add an option to the |
Thanks. So pd-multichannel branch updated with a new |
Like here: ef150b9 ? |
Thanks a lot for testing!
Ah, I totally misread your comment...
Ouch, thanks for catching that! Indeed, I accidentally changed the order. In Pd externals the signal outlets typically come before the message outlets, so I just did it automatically... I will restore the old order for the "legacy" behavior, but keep the new order for the "new" behavior. I will update the script accordingly. |
Thanks a lot Christof! |
Continuation of #1034.
Tries to address the issues raised in #1034 (comment).
First, make the first inlet a pure message inlet, so users can not accidentally connect it to a signal.
As a second step, add the
MESSAGE_INLET
macro to control the behavior of the first inlet at compile time.If 0, the first inlet is a signal inlet and also takes messages, which is more idiomatic, but not backwards compatible.
If 1, keep the old behavior (= default).