Closed maybites closed 4 years ago
This has come up a bunch of times. o.dot promotes the float to a double, which isn't a valid Max type. You need to go through o.downcast before sending to OpenSoundControl.
----------begin_max5_patcher----------
1019.3ocyX08aaBCD+4To9+.hmyX1lOLz2lpzdcSZ6sooHGvMycfMBLosaZ+
uO+AzlzFHtcjtlDLJmM9te+746NyuO+rE9qE2Ra88tv6adKV7akjEFYZIKFD
rvuhbadIo0LPeN8Fw5q8W12mjdqzHWDTHtgmSZk22WtnTzXmcX.XoGH.fAwo
onvXTVDDlZDsT2o22GdHdWEiWRkFsgFjdkfKuhjS0BgCBYEVMu952gxtWq0D
Y9OX7MqZn4Rq1ihiL5Amnukg0sH7izpnSNnV3tpsk8KqZ0Obub6Xk2USsJv+
ickkelj+SpRie2Ln+b9Y56paKclaqnssjMzmRtanRuqDB+oIoc3C3j7QpgAv
wAoYIY3PP+mvkJlxvMHG3lmvAmDjqPsGJ.9LPNdJjmfLNBog5awf2Xf88Oez
FMoeOxfSTrA0YI+ef6XQL9TMk+EQGu3R0trFQ4gQ8g1sCgNraGgrq0P3wfc3
3vdo85Se4xuxpnekr4TPDcE0Jqmx1R8vpsgd47Jh7YvF.Wh8AM6rgggusbBT
XukxK7f53wpuPCE3N3mNtOv3BjBChBAIIgY1O3LMQjdLh.7hAaAKWFrkQuwc
bjNINf65PGZ9WL9TX4isLoQj6QkvGGLvPbeH33oWEhF0cTaSLAmzb2v1Ty0C
STKYKsXkxfT5dEQJaXq6j15cV7.ArvmVslZL9g76Z6tgTQkzlUTNYcIcrdqH
0022us6dZeVoeUwU6t.nKKgqr.SeengQdFwNSN9ZygJLHLy43F6UzDZhhlNc
4PAAt6rNYFTUopZGTHxVnJ3+TEC50+15Rxcif2KFupA3gJgFbnzHSwCvX6t1
Xa5CyxpWXjC7f1Pe7AA1q4gY3Uww4DTMR3jdPXSHtz32XEiHBxEU0hVpStTt
FwA4r21jwg5OoFJNHSm3NZHPDVICXcAeA9dppKRMm4b2auXOv8yxrV44TRWU
R4aj+vj2BbvATPjD6bDp7JxzF.DqargWzMZY.nx.c3GRcEoed.x3c02r6Phh
5mY6ujHys2EiFqAdB1cIBpaX78OD6+RVrXGBVcnx9RhdMRiYma+RF+IucEi4
p63QrXqnqIeXFGdiFd6XkEzVIiSzU7rynzmDROpwWvbVg5iQbbENXVygBSbB
gg6OJQSA0reF9pYBw6Onm9ZsLQShdTrj6MTzbXnZV.dLCMxNnYPewNsz7J6J
jLhmP3LXANY.3YCvXWTW57wuPWbefym+iaKnYirfBlIF93HFOeHN6k6A0muP
cVxszl19mvpJU50qsQaRWZ+Oia+uMQkeCcKa3QRrhHMpLhRU5vtFax0aS5Oj
iekPQw7N1P.TMX0p1jAWmLtstunMSl9yOSMf+B3GBFUH
-----------end_max5_patcher-----------
[o.downcast] is neither part of the windows nor the OSX distribution...
Unfortunately, I think it's in the /dev folder, which isn't in the search path.
Hello @maybites - [o.downcast] can be found in the /dev
folder. Please include this folder when installing this package if you would like to use those materials - this is covered in the release notes. In a future release (soon), we'll be including a more prominent pointer to this object, and are considering moving it to the main externals folder.
thanks to you all. found it.
hm, I was just looking for those release notes, but didn't find them. I would expect them either inside the package or on the wiki or inside the readme.md.
Agreed - it's not an ideal location, which is precisely why we're looking at the issue in the upcoming release.
Hi
consider this patch:
it uses the CNMAT's OpenSoundControl and Odot packages. When creating an OSC bundle with [o.compose] and the bundle contains a float, when creating a Max message with the help of [OpenSoundControl], the float value is set to 0.
interesting: when transfering it into a dict and getting the data out it is still the correct value.