Skip to content

Possible VT8235 PCM playback instability at 22050/44100 Hz in SBEMU beta5 #176

@Yacko83

Description

@Yacko83

Hello crazii,

while testing SBEMU beta3, beta4 and beta5 extensively on my VIA VT8235 system, I noticed a very interesting and consistent behavior regarding PCM playback stability and sample rates.

SBEMU beta3:

  • has stable PCM playback when running at its maximum supported sample rate (44100 Hz),
  • but many games/music tracks play at an incorrect/lower pitch.

SBEMU beta4 and beta5:

  • fix the playback pitch problem completely,
  • and music now matches real Sound Blaster recordings much more closely,
  • however, both versions introduce PCM playback instability at lower sample rates.

On my hardware, using lower sample rates such as:

  • /K22050
    or
  • /K44100 (on beta4/beta5)

may produce:

  • choppy/interrupted sound effects,
  • missing tails/endings of PCM samples,
  • and occasional clipping/cutoff artifacts.

However, after extensive testing, I discovered something very important:

On SBEMU beta3, the PCM instability disappears almost completely when using its highest supported sample rate:

  • /K44100

Meanwhile, on SBEMU beta4 and beta5, the instability improves dramatically starting at:

  • /K48000

I also confirmed that beta4 and beta5 support even higher sample rates (I tested values up to 192000 Hz successfully), although I personally do not need to use rates that high.

I also tested:
/FIXTC1

but this did not solve the issue on my VT8235 system.

At this point, it seems possible that VIA VT8235 playback stability somehow improves whenever the emulator operates at higher internal/output sample rates.

Because of this, I now suspect the issue may be related more to VIA timing/resampling/buffer behavior itself rather than a simple regression introduced in beta5.

Of course, I cannot confirm whether this behavior is specific only to my VT8235 system or possibly affects other VIA chipsets as well, but I thought the correlation was interesting enough to mention.

So from my testing, it currently seems that:

  • beta3 has stable PCM playback but incorrect playback pitch,
  • beta4/beta5 fix the pitch/timing issue,
  • and all emulator versions appear to behave much better once higher sample rates are used.

Hopefully this information may still help narrow down the remaining VIA timing/PCM behavior differences.

Overall, beta5 already sounds extremely close to perfect on this hardware aside from this remaining sample rate behavior.

Thank you again for all the effort put into SBEMU and DOS audio preservation on these systems.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions