Closed matcham closed 4 years ago
Hi Mathieu,
The odot objects in Max default to using 64-bit doubles by default, instead of 32-bit floats, so this is expected behavior, even if it seems a bit weird. You can send your bundle through o.downcast which will, among other things, convert all doubles to floats.
Best, John On Feb 10, 2020, 5:05 PM +0100, Mathieu CHamagne notifications@github.com, wrote:
when a bundle created with o.collect is parsed by udpreceive (without the CNMAT argument), floats are turned into 0. If the bundle passes thru o.route : floats are parsed as expected. Using openSoundControl instead of o.collect : everything works fine please see patch below that demonstrate the issue
----------begin_max5_patcher---------- 1281.3oc2ZssaiaCD8YGf7OHPzGcc4Ppq8sEAXA5CsaA171tEAx1zoZqrnft jlzE8eu7hjsjikLiijbZPPrhoFINmCm4vYjx2u9pYnk7GY4Hqe15KVyl8cwH yTiIGYV8.yPaCebUbXtxPDew5n7z3vmPyqNcA6wB0o9osO8KIEh+JHX9WSDe 6iw7P42AxBp8N6iiRXq3kIpKhTOZZXwp+LJ496xXqJztjiSvB7bKvwQc.SkG r8Wfs9ily8JdLOSeEXoE6+.ZZZR41njXVgBFP8na3IE4Q+CCocSbCq4kEG07 jvsJyQeHKJLdGrzlW7TJS6KHz94VdYaBWoNytoHZslPW9sezFPpA+2quRdTb XtwKHBOcIKC0COR0LGnnQGEyPHmlZZSAMVnxDDPAK6NVR3x31X54jvbKzxvj 6aPFMwM97w8xxhBdRe311StfJfuFx10e9x.Nbd.uaPS8OePukkmGdO644dsS wNBY.AtKbDjgOwnn.xIHi9h1ah089zZQNPFSnbnSCfgmCBB5k.HWDBvY3IfD 1eKt0OG+7EYBuhYUoCWK.2KoPUhBTaPoPPgySbf1a9u72OVFG+6gq9KVQG7j 6HjTfWzq7fsVdXhCHncFPTO98YgqiX58G2M3x6asOmW.Abb8cId1N3.e4FdT wQLc23GcnV6HVcKI02Sx7FebfkahhiUVeWMB26lGyJ0mvv5sGb2eg9cK5yrK QHgqk4Id38kFzxhxBdykqNLKMimxyJhD6WoLxY3i02Ut0YVrU.QUj.IPIH3q kEbG8rAxzIOVtNU.WVzCLKeLlhLfLzUdF3cdphuXx30TEX2fNmkrVDUH.g3G PhcaCvdcU2T+yC7GqLW5qnbuIruC2p5Fkg+Rh.+tsuCRvHrq69s5sbwV1.lP wDr+YrNDPzRRzoTRh3cwjjrt4290ObK5zglUBSftBlwWYh3OQJSTC.+XnLQb Gd.9oTVxmEw4quQFFwiMAZX0VM.LZ0g+oOeysQaY2F1QyovqPQXSLW3N8ASh sVR08M2Sh.1WHxFd11PkC6Nhko8CvbKk6bZ5xVGTfcllNT.OzT2aN06RzJFA dS2aN08MRu4DBZDSD5uIcpmWimgm+DkBPnWpZ.HFDQLwskPblnM+MA6fGd32 7GONw2xDcQKIVsaM+.Y+VUCSO8ipCZr1KEJG48BvibCB1hFqDE+3PsOiF0DL hyj+HK7GdogIr2VvVm33WUno6622oFZjkpgS2tVUNKwEOosqQmHAav.rOJB1 +u3wHAdR0opGez642dMLBwa7EBhIVxkFDho6Z123rqog1ZvPOqBJsUpXoC++ uPgS4INf1x4kYqpmF8MUDnre5VyxKhRBqeICeYWsMsrhmsloB2vcujMvdPGN .LUNfH7rkUMx3.cxl5ERYePF2NGkL.NpM1HO0Sa0.LgTWSlP4am1BFtIDN4D ZObSHXDBIC2DZx742lEFzfHib.6QLe2HG3vHuAMgm3ajjSvk2E75HPXHVGHF o6Q8GwPAybA4yQ4nr.LctPW6+LDYjDhQhdzASC5PzzAlgAaBg.iDcfQjjMyE niYgNl4BjwT4qt1f9cAmKtG.Ai45.YhKiBvWbVGOnrdUiGgooOvxxqtI5YWz X12zEF6OW+8nD820cBgxXODUeI5FeQgYhdxJDMjUloaO5Q2pNkQa4BWHoLpl Hj3WN0pd+jsSkmV0SopGwquRXv+Q2c5yJ -----------end_max5_patcher----------- — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Thanks John for this fast reply
ok, I understand the problem... adding o.downcast after o.collect does the trick, thanks.
best regards Mathieu
BTW : there is not o.downcast.maxhelp in the latest release (it used to be in a "dev" folder in some previous release) (but the external do work fine)
Strange about the help file—I’ll look into it. Here it is just in case you need it.
----------begin_max5_patcher----------3320.3oc6cs0aaiiE94jeED9oTrNthWDoTwNKlEyhceZvL.SeZaKBjsTRzrxRdkjaS1A8+9xaxVxVWnbLscmlhFGKQc4vOdNemCIOj4Ot9pIyydJpXB3cfO.t5p+35qtRdJwItRe7USVF7zhjfB4kMIM5KYy+8ISUEUF8To7zq.kwKiJCd31xnhxphSWuLacYRTo7dczmcUP4hGiSe3t7nEkp2MESl4LE354J9EzwQ7KD+Svmz2Tbn78ve22BY0d9wos93ix00Ack3pI2GmD84n7h3rTQQvo5yGrZUsSeUsaQTy+8L4Cxa5lSEmpNEbyoxi9b7tOV9yMmWIK40v04QRQ+IJYx1GSVXTd55X48nN4WutRjjncZvxnhUAKT2rnQop3svF1SfSLeEnwjXHyisE13slOjjs3+DEVCgtZR1pnz3zU4QEQokAkZYeSwgQ2GrNo7t6yRKKh+eRI.hl0Z42qkvVKTTGjh+eOONHYSE3g73vrTgPznkPb5pW2G.Pkpfa8Ji7JRCV0xMyUL3vRGEVvqjqKlGjKZnlmHeCnpBKyxRZVzl6KI59RcwqhSS2AEKyV0cg4wO7XO267LdgK66YKKo3t0opRuiqSTdWQvmah1kAIIZSxlO9mBRiWFTFILKkUWmMEFkFvqnOVrHOKIoQ8UUxmaojPtN9hnuDGV9n7EUWYfe4wqpThlroUNL9AAUPiywIHJZdlhxmUfdsSsdt1F9txnkqR30hlWPCRq5Fr0IuZb9cHw3VVEAODswbrNS1+bcRxuFvMYJATGtUEE5f7XHhOg5RqeGIwoQKxVmJuM2ZEzj0CVqD0oKedkVGexjM51cPLhYRy.DjI4Gk7hLZMahc3FcgSZJIa4GQUm+qWec0Wldf.X1rnmVkOaAmEqFyTCb7s2mkA9APC4oCBk8AMbef11VnIS64ngfVBBNycJvSwgJQVLZGjsMFtcPbh+IAwmulSXjN4vTylGj9fo3AR46kT8YWZZDuNq2vFunbtSfRtsrhbQhjGQboQ7HM0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RwJ6q+iiizo2KpZzbUCNvh0yLb9kIOFHNHzISbflnExNchiqAhi6oSbLQ4w6zINPSTdNchSi89h929d1mg3k+pGBIn16UiG3USr2qdHNYrcd0lvhdnVBpXW1YQ1IjjcVbc6rv51eQ008Bpa2ESmLIS5ZQzc8Wu9+utQ.zA-----------end_max5_patcher-----------
On Feb 10, 2020, 7:12 PM +0100, Mathieu CHamagne notifications@github.com, wrote:
BTW : there is not o.downcast.maxhelp in the latest release (it used to be in a "dev" folder in some previous release) (but the external do work fine) — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
when a bundle created with o.collect is parsed by udpreceive (without the CNMAT argument), floats are turned into 0. If the bundle passes thru o.route : floats are parsed as expected.
Using openSoundControl instead of o.collect : everything works fine
please see patch below that demonstrate the issue