Fast, accurate Sin generators

Sin generators with better precision and speed than the built-in Sin generator

(8 Votes)
1.0 (Updated 18 years ago)
40.2kB
July 23, 2006
Reaktor 5 or lower

DESCRIPTION

The builtin Sin macro provides very limited precision guarantees, and is not suitable for use in many situations. This download contains three new Sin generator macros that provide better precision guarantess, and (maybe) better performance.

Notes included in the ZIP file contain analysis of precision, and performance benchmarks in a real-world scenario.

On AMD Athlon processors, the clear winner seems to be RationalSin, which provides better performance than the library Sin module does on AMD Athlon processors, while providing full 24-bit floating point accuracy.

Two additional sin generators provided in this download (Sin18 and Sin24) may provide better performance on other platforms, and may perform better in other situations because the inputs don't have to be clamped to a range. They are included here for reference.