Skip to content

Audio aliasing during resampling in Miniaudio #3526

Description

@oomek

Prerequisite Checklist

Describe your issue here

I've discovered an issue in Miniaudio resampling interpolation, or rather the lack thereof. When I play a 44100Hz audio file with a pure sine sweep 20Hz-16kHz while my audio interface is set to 48000Hz a significant amount of aliasing can be heard. See the videos:

Audio file 44100 Hz, device sample rate: 44100 Hz

44100-44100.mp4

Audio file 44100 Hz, device sample rate: 48000 Hz

44100-48000.mp4

Original Audio file:
Attaching wav files isn't allowed on Github, will share if requested.

Your Environment

  • OS / distro / window manager: Windows 11
  • SFML version: 3.0.1
  • Compiler / toolchain: MXE
  • Special compiler / CMake flags: none

Steps to reproduce

...

Expected behavior

...

Actual behavior

...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions