Skip to content

How to pass parameters (hv_param) to a PureDataStream #1638

Answered by pschatzmann
jonascant asked this question in Q&A
Discussion options

You must be logged in to vote

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;

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@simmit123456789
Comment options

@simmit123456789
Comment options

Answer selected by pschatzmann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants