DirectMusic Producer was once very popular: article on Microsoft's site here 'How to Use DirectMusic Producer to Create Music for a Video Game' and another guide here (Internet Archive) sample (Archive.today backup)
However it only seems to run on Windows XP! (can use VirtualBox)
- DirectX 9.0b SDK Extras: DirectMusic Producer (dx90_directmusicproducer.exe) (DMP9.zip) download (Internet Archive) (also Internet Archived via dropbox but dropbox retroactively forbid the timed download URL).
- DirectMusic Producer DirectX 8.1 (DMusProd) (dx81musicproducer.exe) download (Internet Archive)