VOGONS


Fasttracker 2 Again

Topic actions

First post, by Adrian

User metadata
Rank Newbie
Rank
Newbie

I run ft2 on 20000 cycles and dynamic config.It's seems run correctly but I have some latency about 20-30ms.Did anyone konow how to solve this problem?

Reply 1 of 11, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

[moved]

What dosbox version? Does it behave different with the normal core
and/or cycles=auto?
Try soundblaster or gus, depending on what you selected at the moment,
and maybe reduce the sound buffer sizes in dosbox.conf

Reply 2 of 11, by Adrian

User metadata
Rank Newbie
Rank
Newbie

I have dosbox 0.65

This is my config :

fullscreen=false
fulldouble=false
fullresolution=original
windowresolution=original
output=surface
autolock=true
sensitivity=100
waitonerror=true
priority=higher,normal
mapperfile=mapper.txt
usescancodes=true

language=
machine=vga
captures=capture
memsize=16

frameskip=0
aspect=false
scaler=normal2x

core=dynamic
cycles=20000
cycleup=500
cycledown=20

nosound=false
rate=22050
blocksize=2048
prebuffer=10

mpu401=intelligent
device=default
config=

sbtype=sb16
sbbase=220
irq=7
dma=1
hdma=5
mixer=true
oplmode=auto
oplrate=22050

xms=true
ems=true
umb=true

What I need to change?

Reply 3 of 11, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

I don't know what you *need* to change as it ever worked flawless for me.
But core/cycles/blocksize/prebuffer are options that can have an effect.
In fasttracker itself, the type of output (sb/gus and their parameters)
matter and different configurations might work better for you.

Reply 4 of 11, by Adrian

User metadata
Rank Newbie
Rank
Newbie

I have change drate=22050 to 44000 and latency go away but sound gets interputed for a time to time with short period.My fasttracker config is the same when I used it in dos, so I'm sure that it's good configured.Before I use booth Win98 and XP. XP for all and 98 for fasttracker but everytime I wanted make some music I had to reboot computer.This was really burdensome so now I have only damn XP. 😠 Please help me 😢 I have soundblaster 128

Reply 5 of 11, by Freddo

User metadata
Rank Oldbie
Rank
Oldbie

Maybe you should try Skale Tracker instead.

Reply 6 of 11, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

If Freddo's advice doesn't help:

> My fasttracker config is the same when I used it in dos, so I'm sure that it's good configured.

Hope you're aware that dosbox emulates a different sound card and behaves
different speed-wise as well.
Change cycles to auto before proceeding, then be sure that ft2 is set up
with sb16 irq7 dma1 (hdma5), after that try gus (irq5 dma3 or something
like that, see dosbox.conf).

Reply 7 of 11, by Adrian

User metadata
Rank Newbie
Rank
Newbie

Ok now I know where problem is.

nosound=false
rate=22050
blocksize=2048
prebuffer=10

In this line when rate is 22050 sound is good but is small latency.After change to 44000 there are no latency and is better sound but encounters interputs.I have changed to gus but is worse than sb.Maybe I shuld change prebuffer or block size but I don't know what to type there.

Reply 8 of 11, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

I assume you set it to 44100 not 44000 (?)
Tried to reduce the blocksize and prebuffer as well?

Reply 9 of 11, by Adrian

User metadata
Rank Newbie
Rank
Newbie

I have doubled blocksize and prebuffer, now there are no interputs.Sound is good, frequency 44100 ,but I still have latency.I changed frequency, blocksize and prebuffer ,disabled 16 bits sound ,interpolation ,stereo but this don't helped.Some sugestions?

Reply 10 of 11, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

To reduce latency you have to make the buffers smaller (see the postings above).

Reply 11 of 11, by Adrian

User metadata
Rank Newbie
Rank
Newbie

Thanks for help, now everything works correctly! WD big beer for you!😊