Help - Search - Members - Calendar
Full Version: foobar2000 playback speed issues
Hydrogenaudio Forums > Hosted Forums > foobar2000 > Support - (fb2k)
trwh
Hi,

I'm a long time foobar2000 user, and I am very grateful for the efforts of Peter and this community in making such a great application, thanks!

I recently upgraded my soundcard from an original Audigy PCI card to a Terratec Phase 22 PCI, see here,

http://www.nusystems.co.uk/product/Terratec.Phase.22

I am using the very latest drivers for the card, and foobar2000 v0.9.4.1 on Windows XP SP2, and I am experiencing a quite bizarre bug with the new card.

After a long period of using foobar, the playback will slow down - I become aware that the tracks are being played back slower, and with a lower pitch, than normal. I don't know whether the effect happens gradually or not, but once I restart foobar the difference in sound is clearly audible, this is not a subtle effect. Also note that the effect does not go away if I just start and stop playback - I must restart the application.

This has happened three times now, and on each occasion after the application has been running for some time, at least several hours. I have tried using a buffer of both 1s and 0.5s, and the problem has occured on each setting. I also tried switching to ASIO output using foo_out_asio, which unfortunately caused several application crashes so I was unable to test it for very long.

Any help or advice you can offer in solving this strange problem would be much appreciated!

Tim
trwh
Hi

In reply to my own post, I have found the problem causing this - when playing tracks with different sampling rates, the sound card occasionally fails to switch clock rate appropriately. I verified this by checking the displayed clock rate in the Phase 22 Control Panel, which after some skipping between tracks with different rates, eventually became stuck, and was only reset by restarting foobar. Is this likely to be a problem with foobar itself, or the Terratec drivers? Are there any further tests I could perform to help diagnose this?

My solution to this problem so far has been to simply use the Resampler DSP to upsample the output stream to 96kHz, the maximum supported clock rate of this piece of hardware. I chose this high rate since most of my music is stored at 44.1kHz, and I hope to avoid any audible artifacts by choosing a target value much higher than this - was this assumption valid?

Thanks again,

Tim
trwh
I spent some time today trying to narrow down the cause of this problem.

I generated two silent wave files using Adobe Audition, one with a sample rate of 44.1kHz, and one at 48kHz. I queued them up side by side in three media players - Audition, Windows Media Player and foobar2000. I kept the Terratec PHASE 22 Control Panel open 'Always On Top,' so I could see the clock rate the card was using.

Jumping rapidly between the tracks in Audition and Windows Media Player caused the clock rate to switch between the two values properly, but jumping tracks in Foobar caused it to quickly become stuck at one rate. Would someone be prepared to investigate this behaviour? I am using foobar2000 v0.9.4.1 on Windows XP SP2, with the Terratec PHASE 22, driver version 5.27.03.23, addressed via DirectSound (i.e. the output device is, 'DS: PHASE 22 Wave')

I remember some setting in Winamp concerning resetting the sound device between tracks, does foobar have an equivalent setting that might help this problem?

Also, since in the interim I'm using the resampler to eliminate clock rate switching between tracks, am I correct in assuming that upsampling to 96kHz is the best option for a libary of music where most recordings are sampled at either 44.1kHz or 48kHz (and none above that value?)

Many thanks again,

Tim
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.