Game should have setup exe. Most common problems are if game has set another sound card in setup then is configured in dosbox. Dosbox by default has sound blaster 16 and disabled midi (because android devices dont have midi onboard). Magic dosbox has differnt defaults then desktop dosbox, copy/paste of config may lead to strange issues. You should do these steps:
Let default mdosbox settings, fix paths. You should run game’s setup.exe/install.exe/setsound.exe first and adopt sound card to sb16. Later you can experiment with another sound cards.
If you have gog game for dosbox then you should check [autoexec] section in dosbox.config shipped with the game, maybe there is something weird, gog does it
But first you should run configuration exe file and fix sound card, this really can lead to weird problems.