Saturday, January 31, 2009

修正midi 不能播放

修正midi不能播放

fix "No General MIDI DLS file was specified in the registry"

導入directmusic.reg:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectMusic]
"GMFilePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\
  00,74,00,25,00,5c,00,53,00,59,00,53,00,54,00,45,00,4d,00,33,00,32,00,5c,00,\
  64,00,72,00,69,00,76,00,65,00,72,00,73,00,5c,00,47,00,4d,00,2e,00,44,00,4c,\
  00,53,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectMusic\Defaults]
"DefaultOutputPort"="{58C2B4D0-46E7-11D1-89AC-00A0C9054129}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectMusic\SoftwareSynths]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectMusic\SoftwareSynths\{58C2B4D0-46E7-11D1-89AC-00A0C9054129}]
"Description"="Microsoft Software Synthesizer"