Skip to content

GUI: Sound

Dimitris Panokostas edited this page Dec 19, 2024 · 9 revisions

PanelSound

In this panel you can configure the audio output options of Amiberry.

The top dropdown, allows you to select the sound card Amiberry will use. The dropdown is populated automatically with every detected device capable of sound output found in your system, which can include USB cards or even some game controllers that include headset support. The System default checkbox, will instead use whatever audio output device is configured as the default in your system. In some cases, some devices will not show up in the dropdown at all. Using this checkbox might help use those devices as well.

Sound emulation

Here you can select if Sound will be Disabled, Disabled but emulated or Enabled. If the selected sound card could not be initialized during startup, Amiberry will automatically disable the sound emulation. Autoswitching allows the emulator to automatically switch from one mode to another (Enabled/Disabled), depending on whether there is something in the audio buffer or not.

Volume

Here you can select the output volume for the various emulated devices.

Options

You can adjust the options for the sound output below, if you want to tune things to your liking:

  • Channel mode: Mono, Stereo and other configurations are supported.
  • Stereo separation: the default value is 70%, which sounds good in most cases.
  • Interpolation: The default value is Anti. Different of interpolation have a different impact on performance.
  • Frequency: The default frequency is 44100 Hz, which most sound cards support.
  • Swap channels: Swap the left/right channels, for Paula, AHI or both.
  • Stereo delay: By default, there is no stereo delay at all.
  • Filter: Depending on the model you selected, the relevant filter option will be set here by default.

Floppy drive sound emulation

This option allows you to enable the sound the floppy drive makes in a real Amiga, when reading/writing disks. If you enable this option, you can also adjust the volume for the sounds produced.

Sound buffer size

The size of the buffer used for producing the sound output, as well as the method used for consuming that buffer. The default value is 6 and Pull audio, which uses a medium-sized buffer and a callback that consumes it automatically. The size of the audio buffer can affect latency and CPU load: too big a buffer and there will be some latency before the audio is heard, too small a buffer and the CPU will have more load to constantly try and fill the buffer.

The Pull audio option enables a callback, which will then automatically consume the buffer asynchronously. This works better with a medium-sized buffer (e.g. size 6 or 8). The Push audio option, will change the behavior to have Amiberry push audio directly on an interval, during custom chipset emulation. This option works best with smaller buffer sizes (e.g. 1 or even 0) and might help decrease any latency found even further, but at the cost of slightly higher CPU usage.

Clone this wiki locally