Info on fixed point DSP
- KVRian
- Topic Starter
- 1091 posts since 8 Feb, 2012 from South - Africa
Can anybody point me in the direction on some good (freely available) resources on fixed point math? Especially how to go from float to fixed point in a DSP sense. Just to note: my intentions is not to write faster code or precision issues, it's more about learning something that I'm not too familiar with, and approaching problems from a different angle. I prefer learning by doing so my first 'problem-project' will be a simple 8bit delay-line with linear/hermite interpolation. Right of the bat - interpolation is gonna be interesting to figure out...unity gain feedback isn't 1.0 anymore...probably need to compand the signal somehow to get the noise down too.
Regards
Andrew
Regards
Andrew
-
- KVRAF
- 7400 posts since 17 Feb, 2005
"unity gain isn't 1.0 anymore"
That's true, but it help to think of it in terms of space (bits) and not the actual numbers. The numbers do not represent the same quality, position, rather the amount.
That's true, but it help to think of it in terms of space (bits) and not the actual numbers. The numbers do not represent the same quality, position, rather the amount.
-
- KVRist
- 132 posts since 22 Nov, 2006
I found Tonc documentation very helpful when I was doing this a few years back: http://coranac.com/tonc/text/fixed.htm (with bonus material on LUTs.)
This is part of a guide on library for GBA programming but I find it's very well written, with discussion of techniques that are generally applicable to this kind of programming.
This is part of a guide on library for GBA programming but I find it's very well written, with discussion of techniques that are generally applicable to this kind of programming.
- KVRian
- Topic Starter
- 1091 posts since 8 Feb, 2012 from South - Africa
Thanks, this helps a lot! Very concise and well written.dark.nowhere wrote:I found Tonc documentation very helpful when I was doing this a few years back: http://coranac.com/tonc/text/fixed.htm (with bonus material on LUTs.)
This is part of a guide on library for GBA programming but I find it's very well written, with discussion of techniques that are generally applicable to this kind of programming.