just_playback icon indicating copy to clipboard operation
just_playback copied to clipboard

Glitch sound at the start and end

Open kamkudla opened this issue 9 months ago • 3 comments

I'm having this perplexing issue, and it's not just with this implementation, but I have tried pygame, simpleaudio, and others.

I get a click/glitch sound at the start of playback. At first I thought it was the device (AirPods), but it persists to internal macbook speakers as well. I've added fade-in and out. I figured it might be a host issue, so I tested with just_playback on my raspberry pi 4 connect to my airpods, and the issue persists.

Any ideas or suggestions?

kamkudla avatar Apr 29 '24 21:04 kamkudla

Hi @kamkudla,

Does this happen with all audio files ? And audio file types ?

cheofusi avatar Apr 30 '24 09:04 cheofusi

Hi @cheofusi, yes, I tested it with wav, mp3, and ogg. They all have the same issue.

kamkudla avatar Apr 30 '24 16:04 kamkudla

I think I might have solved the problem with the simplest fix - I added a much more aggressive fade-in/out using Audacity. Occam's Razor as always.

kamkudla avatar Apr 30 '24 16:04 kamkudla