Thanks Roman, I didn't know that this was possible with [oscformat] and [oscparse]. Thanks all the friends here, I finally succeed writing my own external. Not a perfect one, but solved my problem for now.
Roman Haefeli <[email protected]>, 7 Nis 2019 Paz, 18:54 tarihinde şunu yazdı: > Hi Arda > > On Fri, 2019-04-05 at 16:00 +0300, Arda Eden wrote: > > > > I am reading the udp data with [netreceive] succesfully and able to > > reach any value I need. Now trying to find a way to combine these > > (big endian) sequential 4 bytes in order to get the resulting 32 bit > > floating point number. A little advice would speed me up. > > > Don't know if you need to do it in your own external. If you do the > message parsing in Pd (as opposed to a dedicated external), check > attached patch. It converts between floats and 4-byte-lists. Probably > not efficient, when converting tons of numbers, but easy if you're > looking for a quick'n'dirty solution. > > Roman > _______________________________________________ > [email protected] mailing list > UNSUBSCRIBE and account-management -> > https://lists.puredata.info/listinfo/pd-list > -- Arda EDEN Yıldız Teknik Üniversitesi Sanat ve Tasarım Fakültesi Müzik ve Sahne Sanatları Bölümü Duysal (Ses) Sanatları Tasarımı Programı İstanbul/Türkiye Yildiz Technical University Faculty of Art and Design Department of Music and Performing Arts Audio Design Program Istanbul/Turkey
_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
