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

Attribute-mapped Inlets don't forward numbers #145

Open
tap opened this issue Apr 20, 2020 · 1 comment
Open

Attribute-mapped Inlets don't forward numbers #145

tap opened this issue Apr 20, 2020 · 1 comment
Assignees

Comments

@tap
Copy link
Contributor

tap commented Apr 20, 2020

Currently they only forward signals to set the attribute values.

Need to handle this in the number message wrapper?

@tap tap self-assigned this Apr 20, 2020
@tap
Copy link
Contributor Author

tap commented Apr 20, 2020

Probably somewhat difficult to do this. Consider the case of an ADSR:

you want an int message to toggle it on and off. you want floats for the various attrs. but if you receive an int at one of the attr inlets then it should be converted to float. but the int message in your object then needs to know that.

this seems somewhat hopeless. I'm going to promote this to a documentation issue for use of attribute-mapped inlets.

could be nice to have the message handler in the inlet as a lambda though... hmmm...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant