Functions | |
| void | audioDisableEcho (void) |
| Disable echo for all voices. | |
| void | audioEnableEcho (u8 voiceMask) |
| Enable echo for specific voices. | |
| void | audioSetEcho (u8 delay, s8 feedback, s8 volumeL, s8 volumeR) |
| Configure echo parameters. | |
| void | audioSetEchoFilter (const s8 fir[8]) |
| Set FIR filter coefficients for echo. | |
| void audioDisableEcho | ( | void | ) |
Disable echo for all voices.
| void audioEnableEcho | ( | u8 | voiceMask | ) |
Enable echo for specific voices.
| voiceMask | Bitmask (bit 0 = voice 0, etc.) |
Configure echo parameters.
| delay | Echo delay 1-7 (delay_ms = value * 16; values above 7 are clamped — the ARAM map reserves 14 KB max for the echo ring, keeping 46 KB for samples) |
| feedback | Feedback amount (-128 to 127) |
| volumeL | Left echo volume (-128 to 127) |
| volumeR | Right echo volume (-128 to 127) |
Reconfiguration clears the whole echo ring before re-enabling echo writes (~9 ms per delay unit) — call at scene setup, not per frame. Call this BEFORE audioEnableEcho().
| void audioSetEchoFilter | ( | const s8 | fir[8] | ) |
Set FIR filter coefficients for echo.
| fir | Array of 8 signed coefficients |