Digital control of sound fields in three-dimensional enclosures