Changes

Jump to: navigation, search

Willy

62 bytes added, 3 March
/* Logsin and Exponent tables */
=== Logsin and Exponent tables ===
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. They produce the sound without any multiplication or other costly arithmetic operations, using  These tables are used in this formula for 2-op "frequency modulated" (actually phase modulated) synthesis the formula:
out = exp(logsin(phase2 + exp(logsin(phase1) + gain1)) + gain2)
11,697
edits