Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord
    1. Home
    2. teufelskrapfen
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 9
    • Best 0
    • Controversial 0
    • Groups 0

    teufelskrapfen

    @teufelskrapfen

    0
    Reputation
    183
    Profile views
    9
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    teufelskrapfen Unfollow Follow

    Latest posts made by teufelskrapfen

    • Narc rev. 7.00, rev 3.20 and rev 2.00 on MAME (Recalbox 6.0) - Sound issues

      Hi,

      I‘ve been trying to get Narc run on Mame for the last couple of days but always getting sound issues ... mainly the music will just be a crackling mess.

      I use a Pi 3b+ in combination with a USB Soundcard attached to it.

      Ive tried all the versions i could find online (7.00, 3.20, 2.00) and i‘ve tried MAME 2010, 2003, 2003 plus, 2000 with all of them but always getting sound crackle..

      I also tried some of the fixes suggested in other forums and dialed down the sample rate to less than 48000, changed the resample quality, turned off syncromization ... but none would work.

      Does anyone have a hint what i can try?

      Thanks Gregor

      posted in Emulator Arcade/PC/Console
      teufelskrapfen
      teufelskrapfen
    • RE: no sound for splash videos - change omxplayer audio device to Alsa (Recalbox 6.0)

      OK so I copy-pasted the text below into S99custom, but its the same behavior as before (splash screen has sound, emulationstation no sound). Do you know the command to trigger the output-device change? I.e. from USB Audio to HDMI … would like to try something

      #!/bin/bash

      test -e "/recalbox/share/system/custom.sh" && /recalbox/share/system/custom.sh $1

      systemsetting="python /usr/lib/python2.7/site-packages/configgen/settings/recalboxSettings.pyc"
      config_script=/recalbox/scripts/recalbox-config.sh

      rb_volume_configure() {
      settingsVolume="$systemsetting -command load -key audio.volume"
      if [ "$settingsVolume" != "" ];then
      recallog "setting audio volume to $settingsVolume"
      eval $config_script "volume" "$settingsVolume" 2>&1 | recallog
      fi
      }

      rb_audio_configure() {
      recallog "Restoring ALSA mixers configuration"
      alsactl -f /recalbox/share/system/configs/asound.state restore
      settingsAudio="$systemsetting -command load -key audio.device"
      if [[ "$settingsAudio" == "" ]];then
      settingsAudio="auto"
      fi
      recallog "setting audio to $settingsAudio"
      eval $config_script "audio" "$settingsAudio" 2>&1 | recallog
      }

      ( rb_volume_configure ; rb_audio_configure ) & # 1.0

      posted in Recalbox General
      teufelskrapfen
      teufelskrapfen
    • RE: no sound for splash videos - change omxplayer audio device to Alsa (Recalbox 6.0)

      @ian57 sorry havent got around testing it again but will try with S99custom this evening.

      So I would:

      • rename to S13Splash and add "--adev alsa:hw:0,0"
      • copy/paste your text into S99custom
      • do I need remove anything from S26recalboxsystem ?
      posted in Recalbox General
      teufelskrapfen
      teufelskrapfen
    • RE: no sound for splash videos - change omxplayer audio device to Alsa (Recalbox 6.0)

      @ian57 Thanks and sorry for my late answer.

      For the script to run I had to change

      systemsetting="recalbox_settings"

      to

      systemsetting="python /usr/lib/python2.7/site-packages/configgen/settings/recalboxSettings.pyc"

      I put S02Splash to S13Splash and added --adev alsa:hw:0,0

      But I would only get sound from the splash intro but no music in Emulationstation.

      posted in Recalbox General
      teufelskrapfen
      teufelskrapfen
    • RE: no sound for splash videos - change omxplayer audio device to Alsa (Recalbox 6.0)

      @ian57 Thanks I made backups of the files, then tried to copy / move the functions to S99Custom but didn't get it to work. Do you have a suggestion what parts of the script need to be copied/moved or what parts need to be present in S99Custom?

      I restored my backups and also temporarily renamed S26recalboxsystem to S99recalboxsystem, but this also didnt work.

      I was thinking of a workaround: maybe I can add a line to S13Splash that after the video has finished, the the output will be toggled to i.e. HDMI and immediately back to USB Audio.

      posted in Recalbox General
      teufelskrapfen
      teufelskrapfen
    • RE: no sound for splash videos - change omxplayer audio device to Alsa (Recalbox 6.0)

      @ian57 yes that works... as soon as I select a different audio device, the music plays again.

      Also (without doing the above) when I start a game and return to Emulationstation, the music will play again as well.

      posted in Recalbox General
      teufelskrapfen
      teufelskrapfen
    • RE: no sound for splash videos - change omxplayer audio device to Alsa (Recalbox 6.0)

      @ian57 Thanks I tried --adev alsa:hw:1,0 and got no sound, but the video was playing.

      I moved S02Splash to S13Splash with --adve alsa:hw:0,0 and it kind of works:

      The video plays now with sound after some some delay, but back in emulationstation the menu music would not work anymore.

      I also tried S03Splash, S08Splash, … and so on but the outcome would not improve. Either the intro splash would not play or it would play but then there was no Emulationstation music.

      posted in Recalbox General
      teufelskrapfen
      teufelskrapfen
    • RE: no sound for splash videos - change omxplayer audio device to Alsa (Recalbox 6.0)

      @ian57 Thanks for your answer.

      It seems "aplay" is not present on my build but I just got a little further with my testing:

      I stopped emulationstation and started a video via an SSH connection:

      omxplayer --adev alsa:hw:0,0 /recalbox/system/resources/splash/recalboxintro.mp4

      Now the video plays fine on my Pi with sound … I also tried --adev alsa:hw:1,0 and then there was no sound … so hw:0,0 seems to be the correct device...

      If I add --adev alsa:hw:0,0 to S02Splash, the pi will boot with no splash intros. To confirm that my config file is not broken I changed the option back to --adev both and rebooted, then the splash intros will show up again without sound.

      posted in Recalbox General
      teufelskrapfen
      teufelskrapfen
    • no sound for splash videos - change omxplayer audio device to Alsa (Recalbox 6.0)

      Hi,

      I use a USB Audio device attached to my Pi 3b+ and it works fine for Emulationstation and emulators. However, I'm not getting sound from the Splash intros.

      I googled around on the issue and found that something similar was the case for retropie and they suggested to change omxplayer output to ALSA.

      I found the file S02Splash in the recalbox folder structure and wanted to change:

      omx_opt="--adev both --no-keys --layer=10000 --aspect-mode=fill"

      To:

      omx_opt="--adev alsa --no-keys --layer=10000 --aspect-mode=fill"

      However, I'm not using the correct syntax as on reboot the videos will now be skipped instead.

      I also tried "--adev alsa:hw:0,0" and "--adev alsa:hw:1,0" but its still not the right syntax...

      Does anyone know how to set the correct value here?

      Thanks and best
      Gregor

      posted in Recalbox General
      teufelskrapfen
      teufelskrapfen