Anyone having sound issues?

The worst monsters in the Hearthlands warp the fabric of space and time...

Anyone having sound issues?

Postby McGovern1981 » Fri Jun 19, 2026 8:40 pm

Hi, is anyone having sound issues? It's like popping and echoing.
McGovern1981
 
Posts: 45
Joined: Sat Jun 15, 2013 3:43 am

Re: Anyone having sound issues?

Postby linkfanpc » Fri Jun 19, 2026 9:33 pm

press : and put in "audiobuf 8192" without the quotes

viewtopic.php?f=47&t=39939
jorb wrote:Hitting a "Ghejejiiwlonk" with your "Umappawoozle" for eightyfifteen points of "Sharmakookel", simply makes no sense.

randomtelelocxyz wrote:want wish to jorb stop loving gayanal porn

Archipenos wrote:Irl if someone kills me, if I want to burn their house down, nothing but fear of the law or reprisal or my own moral compass stops me.
User avatar
linkfanpc
 
Posts: 2331
Joined: Wed Aug 05, 2015 7:07 pm

Re: Anyone having sound issues?

Postby mvgulik » Sat Jun 20, 2026 6:35 pm

Is might help to include:
- Used OS (Windows/Linux/Mac/.?.) and version.
- Related Clients.
After that is potentially narrowed down a bit ... Java flavor and version come to mind.

For me: Linux + Ender & Kami. No sound issues. (assuming default audiobuf 1024)

For someone else: Windows 10 + Ender (started after last client update if I'm correct): Major sound issues. ... + audiobuf 8192 did not help.
mvgulik
 
Posts: 4007
Joined: Fri May 21, 2010 2:29 am

Re: Anyone having sound issues?

Postby BigCountry » Sat Jun 20, 2026 8:28 pm

McGovern1981 wrote:Hi, is anyone having sound issues? It's like popping and echoing.


+1

same thing. :(
Image
User avatar
BigCountry
 
Posts: 210
Joined: Wed Feb 06, 2019 4:07 am

Re: Anyone having sound issues?

Postby vatas » Sat Jun 20, 2026 8:37 pm

==TLDR==
Having too high of an "audiobuf" value can cause its own set of issues (mainly a delay between when the sound is supposed to play, and when it actually plays? ) but it's still probably less jarring than the "stutter/echo" -thing. I don't know/remember what's the default these days, but you can start with 2014 and go higher if the issue persist.

==Yapping==
I think this issue "scales" from CPU load, in worst cases I remember the effect can be extremely noticeable, something like:

Intended audio: "Lorem ipsum"

Output audio: "Lo-lor-or-orem-i-i-psu-su-sum"

(Elaboration on the CPU load: at least when using one old PC, I was able to make Haven perform way better, in general, by disabling most of the "eye-candy" features from Windows - basically making all the window frames and taskbar element use flat 2D textures instead of whatever fancy is the default. This was most likely because Windows doesn't treat Haven as a "priority application", for lack of a better term. Most other games get this treatment and don't have to fight Windows bloat for the required system resources.)
Haven and Hearth Wiki (Maintained by volunteers - test/verify when practical. Forum thread

Basic Claim Safety (And what you’re doing wrong
TL:;DR: Build a Palisade with only Visitor gates.)

Combat Guide (Overview, PVE, PVP) (Includes how to escape/minimize risk of getting killed.)
User avatar
vatas
 
Posts: 5175
Joined: Fri Apr 05, 2013 8:34 am
Location: Suomi Finland Perkele

Re: Anyone having sound issues?

Postby McGovern1981 » Sat Jun 20, 2026 9:45 pm

mvgulik wrote:Is might help to include:
- Used OS (Windows/Linux/Mac/.?.) and version.
- Related Clients.
After that is potentially narrowed down a bit ... Java flavor and version come to mind.

For me: Linux + Ender & Kami. No sound issues. (assuming default audiobuf 1024)

For someone else: Windows 10 + Ender (started after last client update if I'm correct): Major sound issues. ... + audiobuf 8192 did not help.



Ya audio buff didn't help. OS is windows 11 and I'm using ender which I think may have something to do with it cause it just started doing this.
McGovern1981
 
Posts: 45
Joined: Sat Jun 15, 2013 3:43 am

Re: Anyone having sound issues?

Postby vatas » Sun Jun 21, 2026 9:03 am

I have no idea if this is true, but sounds legit?
Mashadar wrote:
dafels wrote:
noindyfikator wrote:I think it's time to fix laggy sound/stuttering


would be nice, but I don't see it happening until 2030 when AI will be in charge of the codebase

That may be the case since I encountered the sound issue only on Windows, while loftar develops on Linux.
One likely reason for this is that Windows uses 16ms scheduler time slices, while Linux-based systems usually use 1ms slices.
With this tick rate of 60Hz the audio buffer drains at a rate of ~735 samples per tick. That means if there are scheduling issues or another application takes away the CPU from the audio thread for even one tick the result can be fatal when the audio buffer is small.

The first step would be to make the default audio buffer at least 4096 on Windows.
Another thing that can improve the situation are the WinAPI functions timeBeginPeriod() and timeEndPeriod() from mmsystem.h that allow you to request a higher resolution of e.g. 1ms for your application.
There is probably some way to call them from a Java application.

And then there seems to be a separate issue that affects the audio when the client runs in the background at a reduced frame rate of 5 fps.
Haven and Hearth Wiki (Maintained by volunteers - test/verify when practical. Forum thread

Basic Claim Safety (And what you’re doing wrong
TL:;DR: Build a Palisade with only Visitor gates.)

Combat Guide (Overview, PVE, PVP) (Includes how to escape/minimize risk of getting killed.)
User avatar
vatas
 
Posts: 5175
Joined: Fri Apr 05, 2013 8:34 am
Location: Suomi Finland Perkele

Re: Anyone having sound issues?

Postby mvgulik » Sun Jun 21, 2026 1:15 pm

McGovern1981 wrote:Ya audio buff didn't help. OS is windows 11 and I'm using ender which I think may have something to do with it cause it just started doing this.

Suggest also reporting it in Ender topic. It at least shows its effecting more players.

Think the "CPU load" post of vatas could potentially also help Ender narrowing down the problem in his last client update.
mvgulik
 
Posts: 4007
Joined: Fri May 21, 2010 2:29 am

Re: Anyone having sound issues?

Postby SexyBigBoobaDakkan » Sun Jun 21, 2026 2:13 pm

Image
Loftar went on a spree last week and the primary focus of the 46,000 commits was introducing a new audio bug.
User avatar
SexyBigBoobaDakkan
 
Posts: 46
Joined: Wed Nov 13, 2024 2:11 am

Re: Anyone having sound issues?

Postby SnuggleSnail » Sun Jun 21, 2026 2:42 pm

┌─────────────────────┬────────┐
│ Metric │ Count │
├─────────────────────┼────────┤
│ Commits │ 258 │
├─────────────────────┼────────┤
│ Lines added │ 21,868 │
├─────────────────────┼────────┤
│ Lines deleted │ 3,867 │
├─────────────────────┼────────┤
│ Total lines changed │ 25,735 │
└─────────────────────┴────────┘

twenty thousand lines of schizo swedish code and all it managed to do was fuck up sound, make memory latency worse, and cause a bunch of freezing on windows lol
"We specialize in permadeath and forum drama." -man who removed death and deletes every drama thread
http://www.seatribe.se/
User avatar
SnuggleSnail
 
Posts: 3467
Joined: Sat Oct 12, 2013 4:04 pm

Next

Return to Bugs

Who is online

Users browsing this forum: Claude [Bot]