Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /storage/content/49/145849/famitracker.com/public_html/forum/classes/dbHandler.php on line 29 FamiTracker
Login:
Menu:
Post: Author:
FamiTracker > General > Bug Reports & Feature Requests > Lag Owner: elevatorfan7072 New post
Page 1 of 1 Sort:  
Lag Posted: 2013-09-28 04:54 Reply | Quote
elevatorfan7072



Member for: 3216 days
Status: Offline

#51551
Ever since around May of this year, FamiTracker started lagging, and the only way to get it to stop is to save a WAV file several times. Is there a way to fix this? Or am I just going to have to live with it?

Posted: 2013-09-29 03:47 Reply | Quote
SoltIW



Member for: 3432 days
Location: Somewhere in Canada, shirtless
Status: Offline

#51582
What's your buffer size at? There's a little area in buffer size (that's different depending on your sample rate) where the program runs at a speed as if you had run the program at minimum buffer size on a Pentium 4. I know it's around 60-100 at 44.1k/16-bit sample rate/size, so maybe you could try about 48-ish (there's a reason I can't remember as to why I don't go higher) and tell us if that fixes it?

[color=#282424]pleasedontlaughatmyhorribleexplanationsIonlycomeonherewhendeadtired

Posted: 2013-10-09 00:05 Reply | Quote
jsr
Administrator

Avatar

Member for: 5925 days
Location: Sweden
Status: Offline

#51784
I'm not sure what you mean by lagging. If you have audio problems then try increase the audio buffer size.

_______________________
Programmer and developer
Posted: 2013-10-09 03:55 Reply | Quote
com63

Avatar

Member for: 4288 days
Location: North Van, BC, Canada.
Status: Offline

#51789
You may also have to decrease the sample size; with older computers, I've had to decrease the sample size to 22050Hz and the audio buffer to about 70ms-85ms.

_______________________
Everything moves real slow when it's 40 below.
Posted: 2013-11-08 20:33 Reply | Quote
Pete

Avatar

Member for: 3147 days
Location: Secret
Status: Offline

#52194
Set sample rate 11025 buffer 100
More smoothly!

_______________________
I still
___Level 3___
Posted: 2013-11-08 23:25 Reply | Quote
jsr
Administrator

Avatar

Member for: 5925 days
Location: Sweden
Status: Offline

#52202
That is a very bad idea if you care about sound quality.

_______________________
Programmer and developer
Posted: 2013-11-08 23:54 Reply | Quote
jrlepage
Moderator

Avatar

Member for: 4983 days
Location: Canada
Status: Offline

#52204
[quote=Pete]Set sample rate 11025 buffer 100
More smoothly![/quote]
Says the guy who's been around for.. *checks*.. 0 days.

Seriously though, your intentions were good, but I think you should refrain from giving advice if you don't really know what you're talking about.

_______________________
Follow me on [url=https://twitter.com/jrlepage2a03]Twitter.
I record (some) NSFs on hardware. Feel free to [url=http://www.famitracker.com/forum/posts.php?id=3633]request a hardware render.
Posted: 2013-11-09 22:03  (Last Edited: 2013-11-10 22:27) Reply | Quote
Pete

Avatar

Member for: 3147 days
Location: Secret
Status: Offline

#52232
Oh...sorryy.......

Set only
Sample rate 96.xxx hz At least 48.xxx hz and
Buffer 33 At least 66

i like this!

_______________________
I still
___Level 3___
Posted: 2013-11-09 22:09  (Last Edited: 2013-11-09 22:12) Reply | Quote
cak

Avatar

Member for: 4314 days
Location: oregon
Status: Offline

#52234
Haha it's available as an option, but no one's allowed to use it? Isn't that kinda like Mike Judge's character in Office Space ("what kind of person wears the bare minimum flare")?

Sample rate of 11025 results in audio frequency response of 5512 hz...two octaves below upper limit of human hearing range. This is why it's bad to use. 22050 is acceptable because hearing starts to dramatically taper off at around 10000 hz.

_______________________
[url=http://2a03.free.fr/?p=pub&dir=cak]Famicom tunes
Posted: 2013-11-10 22:01 Reply | Quote
jsr
Administrator

Avatar

Member for: 5925 days
Location: Sweden
Status: Offline

#52268
Hah yeah that option is kind of useless today. It's not forbidden but I don't see why anyone would want to use it, a larger buffer should be the best way to solve audio problems in all cases on modern PCs.

Actually, the sample rate should be set to the native setting of the sound card for best performance (to avoid unnecessary resampling). This can be checked in the control panel for audio devices.

_______________________
Programmer and developer
Page 1 of 1 Sort: