MadTracker.org
Forum - Key Press Delay
Log in Log in Profile Profile Search Memberlist Usergroups FAQ FAQ
 Forum
Help and support
 Key Press Delay
Reply to topic Post new topic  
Marauder
Registered User


Joined: 30 Jun 2003
Location: Stoke-on-Trent
PostPosted: Wed Jan 12 2005 00:56    
Key Press Delay
Reply with quote

Im not sure if anyone else has had this, but ever since i've used madtracker I seem to get a slight delay from when I press a key to a sample been played, I have a 3 ghz comp and audigy 2 sound card and loads of other crap, and I know there is nothing wrong. Is there anyway I can get a faster response time when recording patterns on the fly so to speak, cause when I try to do anything the delay always puts me off..

thanx in advance for any help!!
 Back to top
View user's journal Send private message Visit poster's website
Inge
Man-At-Arms


Joined: 04 May 2003
Location: Nieuw Lekkerland @ Holland
PostPosted: Wed Jan 12 2005 01:02    
Reply with quote

Try to get the smallest buffersize that your setup will accept without crackling. Go to the audio tab of config, and play around with the settings there in such a way that the buffersize gets as small as possible.

Here's the explanation for the parameters there.

Device: Select the playing device here and the output parameters. You are adviced to use the standard Microsoft Sound Mapper or the first audio device with a black (Windows XP) or yellow (Windows 9x/2000) icon. Using the DX (directsound) device can result in unwanted features, such as sound disabling whenever you open another program.

Number of buffers & Buffers size (in milliseconds): These two options define the latency of the playback. The total buffersize is calculated by multiplying the buffer size with the number of buffers. The smaller the total buffersize, the lower your latency will be. Bigger buffersizes result in a more stable audio output. Try to make your buffer size as small as possible to get the most optimal (= lowest) latency.
The buffersize is the memory allocated to pre-process the audio data. The more buffers, the more the audio processing will be sliced. A large buffer means a stable audio but with a larger latency. An ideal configuration should be 4 buffers of 15 or 20 ms, which should work fine on most systems.

Callback: This option is rudimental, and should best be left disabled.
Minimum delay: This option is only available with a DirectSound device. It makes MadTracker calculate the output just before the sound card plays it. There is no more perceptible delay between the playback and the pattern display and when you press a key, the note is played immediately.
This option needs a good DirectSound driver and a powerful processor (depending on the number of channels in the module), and may not work on every setup.

Accurate device: This option is rudimental, and should best be left disabled.


Care for a game of Monopoly?
 Back to top
View user's journal Send private message Send e-mail Visit poster's website
Marauder
Registered User


Joined: 30 Jun 2003
Location: Stoke-on-Trent
PostPosted: Wed Jan 12 2005 01:15    
Reply with quote

Thank you for your very quick response.. I also went on the IRC channel and was informed of the buffer size there. I have changed the buffer size to 3 and upped the size and it now works brill.. Thanks again..

Razz


Last edited by Marauder on Wed Jan 12 2005 01:19; edited 1 time in total
 Back to top
View user's journal Send private message Visit poster's website
technoid
Regular


Joined: 21 Sep 2003
Location: Oregon USA
PostPosted: Wed Jan 12 2005 01:16    
Reply with quote

I've had some success using "Accurate Device", but that's because I'm using kX ASIO. I've noticed it makes it a little bit faster.

Perhaps Yannick can elaborate more on Callback, Min Delay, Accurate Device... and there was one more checkbox, can't remember.


~techie
 Back to top
View user's journal Send private message Send e-mail
Reply to topic Post new topic  
Display posts from previous:   
Page 1 of 1 All times are GMT + 1 Hour


Powered by phpBB © phpBB Group

Copyright © 1998-2005 Yannick Delwiche
All rights reserved