Audio Emulation: Difference between revisions

From Dolphin Emulator Wiki
Jump to navigation Jump to search
mNo edit summary
m (Kolano moved page DSP LLE to Audio Emulation)
(34 intermediate revisions by 12 users not shown)
Line 1: Line 1:
The DSP is an additional processor used by the Wii/GCN to process sound. Dolphin has two ways to emulate the DSP.
The DSP is an additional processor used by the Wii/GCN to process sound. Dolphin has two ways to emulate the DSP.


*HLE (High Level Emulation): HLE works by using a DSP engine created by the developers from studying the real DSP. It is not perfect, and is notorious for causing garbled sounds, choppy audio, and skipped instrumentation. But DSP HLE is very fast, with almost no overhead, and it comes with Dolphin; no additional files are needed.
*'''HLE (High Level Emulation):''' HLE works by using a DSP engine created by the developers from studying the real DSP. DSP HLE is with almost no overhead and does not require any additional files, however it may have some problems in some games. {{revision|3.5-78}} and {{revision|3.5-1154}} corrected most of the problems in the AX ucode, the most common audio microcode on the GameCube and Wii. {{revision|4.0-7286}} and New-Zelda-HLE rewrote the Zelda ucode, improving it for the remaining games. Currently DSP HLE will have perfect sound in most games. However, some issues may remain, and all sound issues need to be confirmed with LLE.
*LLE (Low Level Emulation): LLE uses DSP files dumped from a Wii to perfectly emulate the DSP's hardware behavior. This unfortunately requires a lot more processing power, but provides for perfect sound in nearly all games. The DSP files required for DSP LLE cannot be bundled with Dolphin, and have to be ripped by each user from their own Wii console.


== How to dump Wii DSP files ==
*'''LLE (Low Level Emulation):''' LLE uses DSP ROM files to emulate the DSP's hardware behavior. This unfortunately requires a lot more processing power, but provides perfect sound in nearly all games. As of {{revision|3.5-1031}} Dolphin includes a developer-created DSP ROM which allows DSP LLE to function without dumping LLE files from a console. Its compatibility is very good, but it will have errors that a DSP ROM from a console does not have.
To dump DSP files, you need:
*A homebrew enabled Wii console, with the Homebrew Channel or some other way to launch DOL programs
*SD Card
*DSPSpy (the file attached in [http://forums.dolphin-emulator.com/showthread.php?tid=3823 this forum thread]).  


Download DSPSpy from the thread, and copy it to your Wii's SD card's apps folder. Run the program on your Wii, and two files will be created: "dsp_rom.bin" (8Kb) and "dsp_coef.bin"(4Kb) (Size may vary). Move these files into your Dolphin's "./Sys/GC" folder, and Dolphin will now be able to run with either of the two DSP LLE options.
:For the absolute best audio, DSP ROM files should be dumped from a console. There are several ways to dump DSP files, but the easiest method is to use DSPSpy on a Wii with the Homebrew Channel installed. For details on other methods to dump DSP files, go to the {{forum|forum thread|tid=23103}}.


== Help ==
== Dumping Wii DSP files with DSPSpy ==
If you need further help, please go to the forum thread below. They will happily help you with the process. Please do not ask for the DSP files directly.
You will need:
*A homebrewed console (See how to install [http://wiibrew.org/wiki/Homebrew_Channel Homebrew Channel] on a non-hacked Wii console)
*A SD card


*http://forums.dolphin-emulator.com/showthread.php?tid=3823
Download [http://forums.dolphin-emu.org/attachment.php?aid=7636 DSPSpy] and extract it. Rename it to '''boot.dol''', then place it into \apps\DSPSpy\ folder on the root of your SD card (it should then look like X:\apps\DSPSpy\boot.dol). Launch the app from Homebrew Channel on your Wii, and two files will be created: '''dsp_rom.bin''' (8KiB) and '''dsp_coef.bin''' (4KiB). Move these files into your [[Controlling the Global User Directory|Global User Directory]] \GC\ folder, which by default on Windows is located in %userprofile%\Documents\Dolphin Emulator\, and Dolphin will now have official DSP ROMs from your Wii.
 
== See Also ==
*[https://dolphin-emu.org/blog/2014/11/12/the-rise-of-hle-audio/ Dolphin Blog: The Rise of HLE Audio]
*[https://dolphin-emu.org/blog/2015/08/19/new-era-hle-audio/ Dolphin Blog: The New Era of HLE Audio]


[[Category:Tutorials]]
[[Category:Tutorials]]

Revision as of 06:28, 21 May 2017

The DSP is an additional processor used by the Wii/GCN to process sound. Dolphin has two ways to emulate the DSP.

  • HLE (High Level Emulation): HLE works by using a DSP engine created by the developers from studying the real DSP. DSP HLE is with almost no overhead and does not require any additional files, however it may have some problems in some games. 3.5-78 and 3.5-1154 corrected most of the problems in the AX ucode, the most common audio microcode on the GameCube and Wii. 4.0-7286 and New-Zelda-HLE rewrote the Zelda ucode, improving it for the remaining games. Currently DSP HLE will have perfect sound in most games. However, some issues may remain, and all sound issues need to be confirmed with LLE.
  • LLE (Low Level Emulation): LLE uses DSP ROM files to emulate the DSP's hardware behavior. This unfortunately requires a lot more processing power, but provides perfect sound in nearly all games. As of 3.5-1031 Dolphin includes a developer-created DSP ROM which allows DSP LLE to function without dumping LLE files from a console. Its compatibility is very good, but it will have errors that a DSP ROM from a console does not have.
For the absolute best audio, DSP ROM files should be dumped from a console. There are several ways to dump DSP files, but the easiest method is to use DSPSpy on a Wii with the Homebrew Channel installed. For details on other methods to dump DSP files, go to the forum thread.

Dumping Wii DSP files with DSPSpy

You will need:

  • A homebrewed console (See how to install Homebrew Channel on a non-hacked Wii console)
  • A SD card

Download DSPSpy and extract it. Rename it to boot.dol, then place it into \apps\DSPSpy\ folder on the root of your SD card (it should then look like X:\apps\DSPSpy\boot.dol). Launch the app from Homebrew Channel on your Wii, and two files will be created: dsp_rom.bin (8KiB) and dsp_coef.bin (4KiB). Move these files into your Global User Directory \GC\ folder, which by default on Windows is located in %userprofile%\Documents\Dolphin Emulator\, and Dolphin will now have official DSP ROMs from your Wii.

See Also