justin = {
main feed
,
music
= {
decanted youth
,
yes, exactly, yes!
,
not vampires
,
full archive
}
,
code
= {
cockos
,
reaper
,
wdl
,
ninjam
,
jsfx
,
more
}
,
askjf
,
pubkey
};
Ask Justin Frankel
No reasonable question unanswered since 2009!
Suggested topics: programming, music, sleep, coffee, etc.
Note: please do not ask questions about REAPER features, bugs or scheduling, use the
forums
instead.
Name:
Ask:
Human (enter yes):
[
back to index
] | [
unreplied
] | [
replied
] | [
recent comments
] | [
all
]
Question:
I worked through reverse-engineering the Base-64-decoded renderstrings recently and found, that some of the values are stored as floats. My problem being, that I don't know, how to convert a 3 or 4byte integer into it's float representation. How do you do it in Reaper? Do you convert it using a special algorithm before makeing it Base64 or does C/C++ do it for you? In the former case, what would you reommend reading about that?
Asked by mespotine (88.130.49.x) on March 4 2019, 2:07pm
Reply on March 4 2019, 11:21pm:
In C you can use a simple cast eg “*(float *)&integervalue”. One can also interpret the bits directly using the IEEE 754 spec...
Comments:
Posted by Mespotine (109.104.45.x) on March 9 2019, 1:35pm:
Thanks for your answer, I'll have a look :)
Comment:
Your Name:
-- Site Owner's Name:
(for human-verification) Comment:
[
back to index
] | [
unreplied
] | [
replied
] | [
recent comments
] | [
all
]
Copyright 2024 Justin Frankel
.
|
RSS