Re: Send iemmatrix via netsend

Roman Haefeli <[email protected]> Fri, 13 Feb 2026 11:35:17 +0100
Newsgroups gmane.comp.multimedia.puredata.general
Message-ID <[email protected]>
On Fri, 2026-02-13 at 03:04 +0000, Wolfgang Gaggl wrote:
> How would I send a mtx matrix object via netsend to a pdreceive
> instance?
> I would like to use this route to send the matrix to a different
> program. 
> I guess it needs to be serialized first, is there an example
> somewhere maybe?

From what I understand, mtx messages are basically number lists. You
can send them with [netsend] without any further serialization.
However, you probably need to parse them on the receiving end, so that
a message:

'2 2 0 1 2 3'

is interpreted as a matrix:

0 1 
2 3

Roman

---
[email protected] - the Pure Data mailinglist
https://lists.iem.at/hyperkitty/list/[email protected]/message/D7N2ASWFS2UCFUWPH7OEUAN66BH33MUV/

To unsubscribe send an email to [email protected] mailing list
UNSUBSCRIBE and account-management -> https://lists.iem.at/
signature.asc (application/pgp-signature, 512 B)
-----BEGIN PGP SIGNATURE-----

iQFHBAABCgAxFiEEZhiayanamWnbdJ1ZfR/MvBcPEc0FAmmO/mUTHHJlZHV6ZW50
QGdtYWlsLmNvbQAKCRB9H8y8Fw8RzbUaCAC3C+IYPTMXKrATphAm6UcTPVPHnFeA
i9Epdbd42xZEbVCJDta492aOyiCTUuoekMcJezISJAhhYU/S0P0GN4r7A9yqSXJZ
Naam8HwUjf2zLcVNsp96fg+fG8lmKw666HRRp10VVlhVtCMeE5IdwyngTxYVNbxV
9kDbTwc8FBfuknfdGbvNH8CExly8b+1MDwuB07JJe5ysTIn8FCRAXlTd9Fc245U4
zJuiAmnT6gDOom9UwjhEZeQS8TefEPrbVVRcnK+wDKtXbldn//pgyqobPfi2fxys
lZneemsTUydikbDHLS3WE2EOVPfDRT8OzIXZuuN8yEoMsem4EMBxiYbc
=YmMv
-----END PGP SIGNATURE-----