Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio pops in 2.1.2 onward #12307

Closed
aozasori opened this issue Oct 22, 2017 · 7 comments
Closed

Audio pops in 2.1.2 onward #12307

aozasori opened this issue Oct 22, 2017 · 7 comments

Comments

@aozasori
Copy link

Operating system or device, Godot version, GPU Model and driver (if graphics related):
Windows 10 64-bit, Godot 2.1.2 onward

Issue description:
Starting with Godot 2.1.2, certain sounds repeatedly played in rapid succession will pop/crackle periodically. The issue persists into 2.1.4 and similarly in 3.0. The last version without crackling was 2.1.1.
(This problem affects the typing noises in my dialog box.)

Steps to reproduce:
Play a sine wave sound from a SamplePlayer many consecutive times in a loop.

Link to minimal example project:
2.1.x example project:
SoundCracklingExampleProject_2.1.x.zip

3.0 example project:
SoundCrackleExampleProject_3.0.zip

Recordings showing the difference between versions:
SoundExamples.zip

@akien-mga akien-mga added this to the 3.0 milestone Oct 22, 2017
@akien-mga
Copy link
Member

Try to change the value of Audio > Output Latency in the project settings to see if things improve.

cc @marcelofg55 for further debugging :)

@aozasori
Copy link
Author

aozasori commented Oct 22, 2017

Increasing latency seems to stop the popping in 2.1.4. (Either output latency 100 or mixer latency 25 will work.) In 3.0 i can't seem to find the setting for latency. Audio category in project settings doesn't seem to have it.
I'm starting to suspect this is a hardware issue on my end.

@marcelofg55
Copy link
Contributor

I was just checking this, I don't think its a latency issue actually. I tried adding some silence to the whistle.wav and the popping stopped, without the silence I could listen to a very small crack when I played the wav one time on the editor too.
Can you test it with this wave file too? whistle.wav.zip

@aozasori
Copy link
Author

aozasori commented Oct 23, 2017

It still pops for me even with the silence.

@marcelofg55
Copy link
Contributor

What PC specs do you have? Can you test with latest 2.1 from github?

@aozasori
Copy link
Author

aozasori commented Nov 6, 2017

Sorry for disappearing - something came up.

Tested with latest 2.1; the problem persists.

OS: Microsoft Windows 10 Home
Version: 10.0.16299 Build 16299
System Manufacturer: LENOVO
System Model 90B00004US
System Type x64-based PC
Processor: AMD A8-7600 Radeon R7, 10 Compute Cores 4C+6G, 3100 Mhz, 2 Cores, 4 Logical Processors
RAM: 8 GB
GPU: AMD Radeon R9 255
Sound Device: Realtek High Definition Audio

@reduz reduz closed this as completed in 48d57e4 Nov 12, 2017
@reduz
Copy link
Member

reduz commented Nov 12, 2017

This is fixed in 3.0 (if you want, open an other issue for 2.1).

That mentioned, this is probably not the best way to do this effect, I would just do a single looping sample that you turn on an off.

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

No branches or pull requests

4 participants