ebiten/audio - Clicking or popping distortion when playing certain wavs.

Created on 18 Aug 2020  路  7Comments  路  Source: hajimehoshi/ebiten

All of the files are the same sample rate.

Shorter files seem to have the most clicking.

question

All 7 comments

Could you give me the file, and the code to reproduce the issue if possible?

I'm trying your tilegame. When does the audio play?

A lot of stuff is superficial for now. Press c and hover over a craftable item.

You are loading wav file directly at importSound. You need to decode wav file by github.com/hajimehoshi/ebiten/audio/wav

Cheers. Interesting, WAV must be close enough to PCM for the audio player to play some files well enough.

Interesting, WAV must be close enough to PCM for the audio player to play some files well enough.

It's close, but different. WAV file includes some chunks for meta data.

Let me close this :-)

Was this page helpful?
0 / 5 - 0 ratings