vgmrips

The forum about vgm files
It is currently 2019-01-18, 2:16:40

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: smps midi driver latency
PostPosted: 2018-11-16, 21:33:58 
Offline

Joined: 2014-11-29, 21:36:08
Posts: 42
i install te mid driver again!, it was recognised perfectly in Windows 10, how ever, i have a issue, the high latency to perform a real time sequence using the driver.
is there a solusion for latency?

_________________
My favorite sound chip?, YM-2413!


Top
 Profile  
 
 Post subject:
PostPosted: 2018-11-28, 0:16:19 

Staff Staff
Programmers Programmers
Musicians Musicians
Contributors Contributors
Reverse engineers Reverse engineers
Offline
User avatar

Joined: 2011-12-01, 20:20:07
Posts: 3036
Location: Germany
I tried to keep the default latency relatively low, but there will always be a bit.

There is no easy way to adjust latency, but here are the advanced instructions (you've been warned):
The only way to control the latency is to use the registry editor. Go to
<code>HKEY_CURRENT_USER\Software\MD MIDI Driver</code>

There create a value called "XBufNum" (it *might* be called "BufNum", if it decides to use DirectSound, but it usually shouldn't) of the type DWORD. Setting it to 4 or higher should be safe. (default is 15) Using values that are too low will cause stuttering.
Additionally you can also create a DWORD value "BufSmpls", which you can set to anything between 10 and 1024. (default is 176)

In general, the formula for the sound driver's latency is (BufNum * BufSmpls) / 44100. Getting low latency requires you to fiddle around with the values, as going too low with either setting will cause the sound to stutter.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
[ Time : 0.087s | 13 Queries | GZIP : On ]