dosbox-core icon indicating copy to clipboard operation
dosbox-core copied to clipboard

Switch sound speed

Open LordPinkerton opened this issue 4 years ago • 9 comments

I am playing using a custom .conf that was generated locally on the Switch. I have not altered any of the option other than adding mounting commands to the AUTOEXEC portion of the .conf. However, upon launching any title (including Lost Vikings, Black Thorne, Raptor, and Keen 4), the audio run faster than normal. I have tried these exact same .conf's on my PC and the games run perfectly with no audio issues. All core settings are identical and the console is not overclocked, though that should not matter.

I am using what I assume is the latest build (r4356 7a0b662).

LordPinkerton avatar Aug 02 '20 21:08 LordPinkerton

Can you post the conf file? Also, what happens if you delete everything from the conf file except the [Autoexec] section? And can you record a video of the issue? (I don't have a Switch so I have no means of reproducing the issue to see for myself.)

realnc avatar Aug 05 '20 09:08 realnc

Here is the conf I'm using, which is basically just the default with the autoexec stuff added to the end. https://pastebin.com/NSWd4t0X

Here are those videos. The first is with the conf file intact, the second is with just the autoexec part. Sorry for the low volume.

https://youtu.be/no2kqqvGHtI https://youtu.be/DSLNMd5hR1w

LordPinkerton avatar Aug 05 '20 23:08 LordPinkerton

Does changing core timing mode from internal to external (or vice versa) have any effect on this?

realnc avatar Aug 06 '20 08:08 realnc

Switching it to internal (fixed 60FPS) seems to have done the trick. I haven't tried every game yet, but it's resolved the issue with Vikings, Keen 4, and Black Thorne.

Just a quick addition that's off topic, but how do you increase and decrease cycles? Usually it's Ctrl+F10/F11, but it doesn't seem to be working.

LordPinkerton avatar Aug 06 '20 23:08 LordPinkerton

Switching it to internal (fixed 60FPS) seems to have done the trick. I haven't tried every game yet, but it's resolved the issue with Vikings, Keen 4, and Black Thorne.

Can you enable the FPS indicator of retroarch and tell me how much FPS it reports in both internal as well as external timing mode? You can change timing mode on the fly, you don't need to restart the core. The FPS indicator can be enabled in Settings/On-Screen Display/On-Screen Notifications/Notification Visibility/Display Framerate.)

Just a quick addition that's off topic, but how do you increase and decrease cycles? Usually it's Ctrl+F10/F11, but it doesn't seem to be working.

You change it in the core options. Adjust the coarse and fine cycles values and multipliers as needed. (For example to get 20000 cycles, you need 10000 and 2 in the coarse cycles settings.

realnc avatar Aug 07 '20 10:08 realnc

Okay, for Internal, it seems to hold at a solid 60 fps. External is a bit odder. The FPS initially starts at anywhere from 150-200. Then it seems to stabilize around 75-100 as soon as the game starts. The odd bit is that the FPS slowly begins to drop by 1 or 2 FPS every 5-10 seconds then settles down around 62 FPS. The music and sound also starts to stabilize, but really never sounds quite right and keeps a touch of static and popping. Here is a video showing this. As you can see, the FPS starts around 75 but by the end it seems to settle around 61, but the sound and music is still not as clear as when I'm using Internal.

https://youtu.be/kBbVrtq2W8s

Question about coarse and fine values and multipliers; what cycles mode do I need to be in for this to take effect? And do I need to do a restart for them to take effect?

LordPinkerton avatar Aug 08 '20 04:08 LordPinkerton

Thanks. Looks like a timing problem somewhere. Could even be a RetroArch bug, not sure.

To be able to control cycles manually, you need to be in fixed cycles mode. Which is the recommended and default setup anyway.

realnc avatar Aug 08 '20 22:08 realnc

Sorry to use this thread again for a question, but I thought it better than starting a brand new issue for a simple question. Is there a way to turn off the touch screen mouse completely? I sometimes have to use an overlay keyboard and the screen tap mouse click feature is making it hard to use property.

LordPinkerton avatar Aug 10 '20 19:08 LordPinkerton

Touch support is implemented in RetroArch. If there's no way to turn it off there, then no. The core itself doesn't actually know anything about touch screens.

realnc avatar Aug 10 '20 20:08 realnc