I am trying to write a FV-1 command line assembler.
I would like to know if there is a known algorithm to convert strings/hex to S1.14 S1.9 S.10 Signed fixed point format and vice versa.
Any other algorithm, like hex to real function are welcome.
Signed fixed point values Conversion
Moderator: frank
-
- Posts: 338
- Joined: Mon Nov 12, 2012 1:12 pm
- Contact:
Great!
Thank you!
Thank you!
Digital Larry wrote:Here's what you want, in Java:
https://github.com/HolyCityAudio/SpinCA ... ction.java
-
- Posts: 1
- Joined: Fri Dec 11, 2015 11:40 pm
Here is a great wikipedia article related to the fixed point number format used by the FV1 and conversion formulas that helped me out.
https://en.wikipedia.org/wiki/Q_(number_format)
https://en.wikipedia.org/wiki/Q_(number_format)