Changes
Willy
,/* Algorithm */
The OPL chips generate sound efficiently, without using any multiplication or other costly arithmetic operations. Instead, they use two look-up tables (exp and logsin) each containing 256 entries.
out = exp(logsin(phase2 + exp(logsin(phase1) + gain1)) + gain2)