Skip to content
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

Feature request: Allow arbitrary message output from `expr` #783

Open
danfuzz opened this issue Nov 13, 2019 · 5 comments
Open

Feature request: Allow arbitrary message output from `expr` #783

danfuzz opened this issue Nov 13, 2019 · 5 comments
Labels

Comments

@danfuzz
Copy link

@danfuzz danfuzz commented Nov 13, 2019

I find myself wanting to do stuff like emit a bang or a more complicated message like set 10 from an expr, and right now I have to build that by chaining an extra object off of an expr outlet. It strikes me as a useful extension to allow expr outlets to send arbitrary messages, not just numbers.

@porres

This comment has been minimized.

Copy link
Contributor

@porres porres commented Nov 13, 2019

that could be easily done with a [select] object in the output

@danfuzz

This comment has been minimized.

Copy link
Author

@danfuzz danfuzz commented Nov 13, 2019

Something like bang is easy, but if I want to do anything more complex, to my taste at least, the extra objects start to feel burdensome, especially if I want to (say) vary the symbol being sent.

@Spacechild1

This comment has been minimized.

Copy link
Contributor

@Spacechild1 Spacechild1 commented Nov 14, 2019

[expr] is meant for mathematical expressions. if you want to construct messages based on the results, you can do this with seperate objects. there's no need to do this within the [expr] object itself.

@porres

This comment has been minimized.

Copy link
Contributor

@porres porres commented Nov 14, 2019

seems you want expr to be more like a script language, I just don't see that happening according to previous discussions on the pd list :/

@danfuzz

This comment has been minimized.

Copy link
Author

@danfuzz danfuzz commented Nov 14, 2019

I don't know that I want a textual scripting language per se, but I'll certainly say I find it frustrating how Pd specifically chooses to draw some semantic distinctions.

In any case, thanks for the responses to this and my other recent issues.

@umlaeute umlaeute added the feature label Nov 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.