Re: convert binary to float32
IOhannes m zmölnig <[email protected]>
| Newsgroups | gmane.comp.multimedia.puredata.general |
|---|---|
| Message-ID | <[email protected]> |
Am 29. August 2024 22:02:13 MESZ schrieb "IOhannes m zmölnig" <[email protected]>: >Am 29. August 2024 21:32:45 MESZ schrieb Patko nytkophilus <[email protected]>: >>Hello, >> >>I'm using binfile external to read a binary file content and would like to convert the four bytes to floats. >>Is there an abstraction or external doing the conversion? >> > >My "bytestruct" library can do this. If you would like to avoid externals, you can also use `[oscparse]` for converting a (big endian) 4bytes to a float (just prepends some dummy bytes to create a valid OSC message). Speaking of avoiding externals, I wonder why you use `[binfile]`, rather than the built in `[file]` mfg.sfg.jfd IOhannes --- [email protected] - the Pure Data mailinglist https://lists.iem.at/hyperkitty/list/[email protected]/message/CM4I7DKALRMDJVTS4FSXQYLMFJRV2ZX3/ To unsubscribe send an email to [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/