Quite simple really, at least, it works for me, but I think that more requirements are needed.
Add a lump named O_MAPXXM (For an ogg sound added), where XX is a number that corresponds to a number that you put on the level header; or D_MAPXXM, For a midi sound added.