English Amiga Board Amiga Lore


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 19 June 2015, 21:27   #1
NeonBible
Registered User
 
Join Date: Feb 2008
Location: UK
Posts: 97
Sound lag in OctaMED

When I tap the keys on the keyboard, yes notes are played back but there is split second delay, like maybe 250ms.

Was watching this vid - [ Show youtube player ] and he's like key jazzing like a god!! As you can see his key taps are pretty low latency. How can I improve latency so I can be as awesome as he is?

I'm using the latest version of WinUAE 3.x on Windows 8.
NeonBible is offline  
AdSense AdSense  
Old 19 June 2015, 22:57   #2
Christian
Zone Friend

Christian's Avatar
 
Join Date: Aug 2005
Location: Gloucestershire
Age: 44
Posts: 218
Try lowering the sound buffer to the minimum setting and using WASAPI or Portaudio as the sound device. You may need to download the Portaudio library from the Winuae website. Don't use Dsound.
Christian is offline  
Old 20 June 2015, 00:23   #3
quahappy
Born again WinUAE user

quahappy's Avatar
 
Join Date: Mar 2006
Location: South Yorkshire, UK
Age: 49
Posts: 1,661
I'm so glad you mentioned that, Christian! I noticed that too in OctaMED V4 - the delay is between keypress and sample playback. Also, some samples sound distorted where before, on my real Amiga back in the day, they were crystal clear. Yet, I've been using WinUAE for a number of years now but only recently started using OctaMED again and the problems mentioned come to light. (I did some music modules a long time ago and my old disks has recently been ADF-ed).

The above worked! The only other option I had to change as well, was Display > Settings > Native - Legacy VSync.
quahappy is offline  
Old 20 June 2015, 00:48   #4
NeonBible
Registered User
 
Join Date: Feb 2008
Location: UK
Posts: 97
Thanks Christian. I'll give that a go.

One thing I noticed as well is a problem with volume levels. May just be my speakers but my copy came with a sample mod called 'fairlight'. The melody sounds really low in the mix, can barely hear it. But on FA-UAE on OSX it sounds much better (plus no lag, macs are generally better for that!).
NeonBible is offline  
Old 20 June 2015, 01:44   #5
Leandro Jardim
Registered User
Leandro Jardim's Avatar
 
Join Date: Nov 2009
Location: Legoland
Age: 38
Posts: 1,148
Quote:
Originally Posted by Christian View Post
Try lowering the sound buffer to the minimum setting and using WASAPI or Portaudio as the sound device. You may need to download the Portaudio library from the Winuae website. Don't use Dsound.
Whats the function of the sound buffer slider when we use WASAPI and PortAudio? Its different than with DSound? I remember Toni saying the sound buffer slider only has function with DirectSound, but I am not sure. Anyway its really an excellent tip, I will try it with games too, thanks.

Last edited by Leandro Jardim; 20 June 2015 at 04:36.
Leandro Jardim is offline  
Old 20 June 2015, 07:45   #6
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 19,561
The smaller the buffer, the shorter the latency. Minimum value (before glitches appear) depends on lots of variables, API type, etc.. Sound card can also make a difference, most on-board chips are crappy cheap realteks with crappy drivers, not optimized for real time streaming with tiny buffers.

Note that you usually get more latency if you use "legacy" vsync.
Toni Wilen is offline  
Old 23 June 2015, 20:13   #7
NeonBible
Registered User
 
Join Date: Feb 2008
Location: UK
Posts: 97
Finally got to try it out. Reduced buffer size to 2 and it works great now, thanks!
NeonBible is offline  
AdSense AdSense  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
OctaMED Sound Studio MicroKorg and XR20 MIDI. Tutorials XDelusion support.Apps 9 02 October 2012 15:57
AHI or Sound Blaster Output Support for OctaMED SS? XDelusion support.Apps 4 08 September 2011 19:21
OctaMED nlyang request.Apps 5 23 July 2006 12:37
OctaMED PozEnergy support.Apps 3 06 January 2003 22:26

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 07:50.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Page generated in 0.13135 seconds with 11 queries