Sega Saturn Development > General Jo Engine Help

Audio issues - repeating/skipping

(1/2) > >>

Apolis:
Hi all,

I'm new here. Firstly I want to say Jo Engine is awesome :D I'm so happy to find something like this giving the Sega Saturn scene a lift especially in the homebrew area.

Recently I've been working on a simple Space Invaders style game and I've run into an issue with playing audio files. At first I thought it was just me/my code or the way I'm converting the WAV files to PCM but this is what I've discovered:

When running the 'audio' demo (in the Jo Engine 'Samples' folder) on real hardware, the "blop" sound plays twice each time you press the 'A' button, instead of playing once like it's supposed to. This happens in my game too i.e. all of the sounds play twice instead of once whenever they're triggered (by button presses or by other actions in the game).

As for emulators, if you run the demo in Yabause then the issue isn't there. But if you run it in SSF then the issue exists just like it does on real hardware. Interestingly, if you run it in SSF with 'Auto Field Skip' disabled then the issue goes away (but, of course, games will run too fast).

Has anyone here tried to run the 'audio' demo on real hardware? Any ideas what's causing the issue?

XL2:
It's a PAL Saturn?

Apolis:
Yes it is, and I had SSF in Europe mode too. I'll see if switching regions does anything...

Apolis:

--- Quote from: XL2 on February 23, 2018, 06:07:31 pm ---It's a PAL Saturn?

--- End quote ---

Well I'll be damned. In SSF, switching to "America, Canada, Brazil" gets rid of the problem! So what can I do to get sound working properly on PAL systems?...

XL2:
I'm not 100% sure, but try changing the makefile to pal and the resolution (in the conf.h) to something like 352x256 (or any pal specific resolution ). I guess it's an issue with the v-synch set at 1/60 instead of 1/50, since you need to DMA the PCM audio.

Navigation

[0] Message Index

[#] Next page

Sitemap 1 2 3 4 5 6 7 8 9 10 
Go to full version