Hacker News new | ask | show | jobs
by exDM69 4397 days ago
It would be more helpful if you could describe the results more accurately.

The most common reasons in audio problems I've found are mismatching sample rates and a failure to meet the deadline of the audio interrupt, causing choppy or distorted audio. A mismatched audio format (ie. number of channels or bits per sample) might also cause problems.

Also, knowing what OS/Audio api backend is being used is vital information for debugging.

1 comments

You are right, feedback should contain constructive comments, but I couldn't be bothered to go into further details when I wrote my response. Here is a short video that I made showing what it really sounds like on my machine:

https://vimeo.com/97857232

I can't affort to "nerd into" the actual problem right now. Hence the whitty and non constructive comment. Apologies.

I get exactly the same effect

EDIT: Looking into it further, I get that effect just loading up the provided .wav (which sounds fine in any media play) and not doing any processing on it, just trying to play it straight up.

EDIT AGAIN: Got it, the very low buffer size of 100 is casuing the problem. Using the default size and everything is working like a charm

That's either wrong sample rate or missing the deadline for the audio callback. My guess is the former.