March 27, 2025
March 27, 2025
March 27, 2025
March 27, 2025
March 27, 2025
March 27, 2025
March 27, 2025
March 27, 2025
March 27, 2025
November 29, 2006 20 min
November 29, 2006 01 h 07 min
November 29, 2006 59 min
November 29, 2006 12 min
November 29, 2006 50 min
November 29, 2006 47 min
November 29, 2006 18 min
November 29, 2006 51 min
0:00/0:00
Runtime code generation for efficiently evaluating the EaganMatrix.
Advanced sound engines with complex synthesis algorithms require low-latency sample generation to keep up with real-time synthesis. Microprocessors such as Analog Devices’ SHARC make use of DSP-specific architecture to facilitate high performance, but tailored code generation at runtime remains an underutilized opportunity for optimization. Here I describe the EaganMatrix Compiler (EMC), a code-generating algorithm implemented on the SHARC to optimize audio sample generation for the EaganMatrix, the internal sound engine of the Haken Continuum Fingerboard. With Single Instruction/Multiple Data (SIMD) capabilities of the SHARC, the EMC’s generated code can evaluate the EaganMatrix at 500 picoseconds per matrix point, twice as fast as the EaganMatrix’s previous optimizations and 40 times faster than functionally identical code generated by Analog Devices’ C/C++ compiler for SHARC. This improved efficiency reduces the computational demand of complex EaganMatrix presets, especially for high polyphony.