English Amiga Board


Go Back   English Amiga Board > Requests > request.UAE Wishlist

 
 
Thread Tools
Old 20 December 2018, 08:29   #1
john4p
Local Moderator
john4p's Avatar
 
Join Date: Feb 2008
Location: Germany
Posts: 4,616
Question PAL games @60Hz with slower sound

Hello Toni,

I recently got a cheap Windows tablet (Cherry-Trail) with a display that only runs at 60Hz. WinUAE works very well on it.

Playing Pinball Dreams/Fantasies/Illusions and Slam Tilt with vsync at 60Hz actually is a lot of fun. It kinda feels more realistic than playing at 50Hz.
But of course the sound is too fast.

I know the sound is tied to the framerate. Well, certainly the points at which the sounds are played back are.
But would it be possible to add the option to play every sound file at ~18% slower speed?

That way we could play any Amiga game with faster 60Hz gameplay but with "50Hz sound"...

Is something like that feasible?
john4p is offline  
Old 20 December 2018, 09:25   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 46
Posts: 24,696
Not possible without side-effects. Audio DMA (and every Agnus DMA channel) in Amiga is tied to horizontal sync (=number of lines/frame).
Toni Wilen is online now  
Old 20 December 2018, 09:37   #3
john4p
Local Moderator
john4p's Avatar
 
Join Date: Feb 2008
Location: Germany
Posts: 4,616
Ah okay, that's too bad. Thanks for the quick reply!

edit: Pinball Dreams & Fantasies NTSC-versions are a godsend.

Last edited by john4p; 27 December 2018 at 13:28.
john4p is offline  
Old 01 November 2019, 07:32   #4
EmilAmiga90
Registered User

 
Join Date: Sep 2018
Location: Rome / Italy
Posts: 19
I see this topic is one year old, but just out of curiosity, since 18% is about 20%, wouldn't it possible to "simply" shout sound DMA fetch one line every five? (os something like that).
EmilAmiga90 is offline  
Old 01 December 2020, 23:10   #5
mdrejhon
Chief Blur Buster
mdrejhon's Avatar
 
Join Date: Mar 2013
Location: Toronto, Canada
Posts: 40
Better yet, I have come up with a simple realtime standards-conversion algorithm to play 50Hz PAL at 50fps on 60Hz displays. I have come up with a software-based VRR algorithm, www.testufo.com/vrr -- look at how framerate ramps up and down without stutter.

More relevant demo to emulation:
There's a 50fps smooth demo you can play at:
www.testufo.com/framerates-versus#&framepacingerror=0&framerate=50&compare=1&showfps=1

50fps stuttery versus 50fps VRR-emulation smooth (high speed realtime standards conversion algorithm that even still works in JavaScript). Run that test at 60Hz, and you see 50fps stutter is completely gone.

That way, people can play 50fps games at 60Hz, without the same amount of stutter. It's not perfect, but it can make the experience much more pleasant, at least on 60Hz sample-and-hold displays that doesn't have ability to do 50Hz.

Toni, if you need help with such an algorithm, contact me.
mdrejhon is offline  
Old 02 December 2020, 07:28   #6
kokoko3k
Registered User

 
Join Date: Nov 2020
Location: italy
Posts: 13
Nice, Does it add input latency?
kokoko3k is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
How Can i set Game Speed Slower ( some games run too fast ) ? SoundLight support.FS-UAE 5 18 April 2020 02:53
Games that are Full Frame Rate or Slower - Limitations or Choice? Foebane Retrogaming General Discussion 35 08 April 2018 13:22
my prog gets slower and slower AGS Coders. System 2 19 March 2015 22:27
Do games run slower under WHDLoad? stu232 support.Hardware 4 17 April 2014 02:59
Why is NTSC mode so much slower than PAL? mr_a500 support.FS-UAE 3 07 December 2012 20:28

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:03.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.
Page generated in 0.07910 seconds with 15 queries