How to pass parameters (hv_param) to a PureDataStream #1638
-
I would like to use values generated by a rotary encoder to manipulate objects in a puredata patch. I think I can use @hv_param, but i don't see a way to pass it in the arduino sketch. |
Beta Was this translation helpful? Give feedback.
Answered by
pschatzmann
Jul 29, 2024
Replies: 1 comment 2 replies
-
I never tried anyhting like this, but I suggest to look into the sendFloatToReceiver method of the HeavyContext object. /**
* A convenience function to send a float to a receiver to be processed immediately.
* The receiver is addressed with its hash, which can also be determined using hv_stringToHash().
* This function is thread-safe.
*
* @return True if the message was accepted. False if the message could not fit onto
* the message queue to be processed this block.
*/
virtual bool sendFloatToReceiver(hv_uint32_t receiverHash, float f) = 0; |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
pschatzmann
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I never tried anyhting like this, but I suggest to look into the sendFloatToReceiver method of the HeavyContext object.