You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Playback some files in console or in other emulators, works fine.
Now, play back the same audio (from 1.) in amiberry but now via USB Audio
Easily notice the distortion in audio in contrast to 3.5mm jack playback: The output is overlayed with periodic pops every few ms at constant rate.
Configuration
Amiberry 2.24b5 compiled from source (no crosscompile), SDL1
Rpi3B with full updated retropie 4.4 distribution
Quality switched-mode power supply, 5.05V, 4A max.
Some USB Audio device (see Audio Devices below)
Additional information
Other emulators show no differences in audio if playing via USB audio device instead of 3.5 audio jack
Moderate overclocking (to 1300 MHz CPU clock) of the rpi did not fix/reduce the distortion
Workaround
Reduce audio sampling from 44100 to 32000 in amiberry. Does not impact the audio quality at all but the distortion is gone.
Edit sound_frequency parameter in each *.uae config file.
And/Or to enforce sound frequency of 32000 Hz automagically with WHDLoad edit the amiberry.sh file. Do change the line 12 (currently), add -s sound_frequency=32000, save and exit. Make it read like:
Mhhhh
I use the SDL1 Version too. I can switch with my Version of Amiberry direct between HDMI or audio jack.
I tried it also with an USB Audio Card/Headset ( Logitech G430/Speedlink Medusa (C-Link USB) ) and i have no issues. All sounds are very good. Also when i change the sound frequency. No issues.
I noticed it in some forums that not all USB Audio Cards are perfect for the raspberry....
Try to search with google if there are some problems....
@midwan Thanks for paying attention very soon. I got some news.
I took a different angle on this issue the other day. It turns out that a GPIO kernel module imposes some latency. Without the kernel module Amiberry works fine with USB Audio at sound_frequency set to 44100.
Expected behavior: Same (or better) audio experience with USB audio device instead of 3.5mm audio jack.
Actual behavior: Audio is noticable distorted when playing back audio with Amiberry.
Steps to reproduce the behavior
dtparam=audio=off
in/boot/config.txt
) (followed setup at: https://github.com/retropie/RetroPie-Setup/wiki/Sound-Issues#usb-audio).Configuration
Additional information
Workaround
Reduce audio sampling from 44100 to 32000 in amiberry. Does not impact the audio quality at all but the distortion is gone.
sound_frequency
parameter in each*.uae
config file.amiberry.sh
file. Do change the line 12 (currently), add-s sound_frequency=32000
, save and exit. Make it read like:Tested USB Audio Devices:
The text was updated successfully, but these errors were encountered: