Whether midrange speakers sound better in a box or not depends on the specific speaker design and intended application. Enclosures can help improve the sound by reducing unwanted resonances, controlling the speaker's dispersion pattern, and enhancing bass response. However, open-back designs or specific installations may be suitable for certain applications or specific speaker designs. The overall sound quality will depend on the specific speaker and its compatibility with the enclosure or installation method used.