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

Unity: List of numbers for receive and send objects #42

Open
pedrononino opened this issue Nov 19, 2021 · 2 comments
Open

Unity: List of numbers for receive and send objects #42

pedrononino opened this issue Nov 19, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@pedrononino
Copy link

Hello! I think having different kinds of data possible to send and receive would be very interesting! I'm working on a project with Wwise and Unity and i need to send a list of numbers from unity to PD and I found out that only floats could be sent

@dromer
Copy link
Collaborator

dromer commented Dec 4, 2021

[edit: I modified the topic to be a bit more clear]

So, heavy doesn't support pd [list] objects. However perhaps simply using [pack] [unpack] we could use a new kind of [r myList @hv_list] receiver/sender? Any interpretation will of course need to happen on the generator side. So someone would have to extend the Wwise and Unity targets.

I'm not sure what limitations we need to take into account. Is the length of the lists you are aiming to use deterministic?

@dromer dromer added enhancement New feature or request help wanted Extra attention is needed labels Dec 4, 2021
@dromer dromer changed the title Different kinds of inuts and outputs Lists for receive and send objects Dec 5, 2021
@dromer dromer removed the help wanted Extra attention is needed label Aug 11, 2023
@dromer dromer moved this to Todo in Core Improvements Jun 15, 2024
@dromer
Copy link
Collaborator

dromer commented Nov 10, 2024

So I realized that my initial response on this was a bit off.

Send and receive objects can already handle "lists" (ie. multiple values of numbers at a time). For instance all the MIDI integrations send and receive multiple values in order to work.

However in your case you specifically need the Unity integration to be able to handle these. This will require someone versed in Unity to implement and validate.

@dromer dromer changed the title Lists for receive and send objects Unity: Lists for receive and send objects Nov 10, 2024
@dromer dromer changed the title Unity: Lists for receive and send objects Unity: List of numbers for receive and send objects Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Status: Todo
Development

No branches or pull requests

2 participants