[PD] Getting 32 bit floating point number from 4 sequential bytes
ardaeden at gmail.com
Tue Apr 9 23:02:16 CEST 2019
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 <reduzent at gmail.com>, 7 Nis 2019 Paz, 18:54 tarihinde şunu
> 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.
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
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ı
Yildiz Technical University
Faculty of Art and Design
Department of Music and Performing Arts
Audio Design Program
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pd-list