You are viewing a potentially older version of this package. View all versions.
Wire-WiresAcoustics-0.8.1 icon

WiresAcoustics

Ray traced sound: you hear the room you are in, the walls around you and the world outside. Real reverb, muffling by material, sound through windows and doors, distance, wind, and headphone 3D audio. Client side.

By Wire
Date uploaded 5 days ago
Version 0.8.1
Download link Wire-WiresAcoustics-0.8.1.zip
Downloads 29
Dependency string Wire-WiresAcoustics-0.8.1

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2360 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.

Preferred version: 5.4.2360

README

Wire's Acoustics

Ray traced sound for Valheim. You hear the room you're in, the walls around you and the world outside.

Wire's Acoustics

In short:

  • Every space sounds like itself. A stone hall rings, a log cabin sounds warm, a cave sounds like a cave and open ground is dry.
  • Walls finally matter. The fight outside is muffled until you open the door, and you hear it through the window it really comes through.
  • You know where things are. Front, back, up and down, not just left and right. Best with headphones.
  • The world gets bigger. Far sounds arrive late, lose their highs and carry with the wind instead of cutting off after a few metres.
  • Rain, wind and sea stay outside, and get in through the gaps you left.

Vanilla will sound flat once you go back.

Inspired by Physically-based audio: why most games sound fake (Voxel Devlog #31). A showcase video is coming later.

How it works

Rays go out from your character's head in every direction, the way light is traced in a renderer. They find out how big the space is, how closed in, what it's made of and where the openings are. Every sound is then shaped by that and by what stands between it and you.

Which way a sound is comes from the camera, as you see it. How far it is and what's in the way come from your character's head, so zooming out changes nothing.

Features

  • Reverb from the real space: worked out from its size, shape and materials. Furniture, rugs and curtains make a room softer, windows and doors let sound out.
  • Walls by material: stone keeps out more than wood, a grate hardly anything. The next room is muffled, not silent.
  • Sound finds a way: through windows, doors and roof holes, round corners and over half walls, and it's heard from there. As you step past an edge it changes gradually.
  • Hills, rocks and trees block sound by their size: a trunk barely matters, a boulder takes the highs off, a hill takes a lot.
  • Distance and air: natural fading, travel time, Doppler, air that takes the highs off far sounds by the weather, and soft ground that thins distant sounds.
  • Wind: carries sound downwind, weakens it upwind, gusts and lulls, and drops to a low rumble when you're sheltered.
  • Weather and sea: rain sounds like the roof above you, the sea comes from the real shoreline, and under water everything above goes quiet.
  • Sounds come from where they're made: a swing from the weapon, a roar from the head, a chest from its lid, a fire from its flame, crafting from the station. Bigger things sound wider.
  • HRTF (headphones): how real people's heads and ears change a sound by its direction, for every sound: left and right, front and back, up and down.
  • More sounds at once: 128 instead of 32, so nothing drops out in a busy base.
  • Extras: a portal's hum carries through with you, the Mistlands mist no longer lowers the pitch, and the main menu gets the HRTF too.

Headphones or speakers

Headphones are best. Turn off Windows Sonic and Dolby Atmos while playing: two spatializers at once sound worse. On speakers, turn HRTF off, as your real head already does that part.

Works with

  • Proximity Voice Chat (Azumatt): voices come from the speaker's head and get walls, openings and HRTF.
  • Wire's Stackify: its chest sounds come from each chest.

Performance

Rays run on worker threads and the sound processing on the audio thread. Sounds too quiet to hear aren't processed, and a room is only scanned again when you move or something in it changes.

Settings

  • General: a switch for each part: Room reverb, Realistic distance, Muffling, HRTF, Travel time, Doppler, Under water, Air, Wind, Sound placement, Voice chat, Random loop start.
  • Tuning: Reverb strength, HRTF strength, Muffling strength, and two advanced ones for how finely a sound's size is sampled.
  • Debug: Debug log.

Client side only. You can turn the mod off while playing; only the 128 sounds stay until you restart.

Sources

Wherever I could, the numbers come from measurements and standards instead of being made up:

Not from a source (judgement values):

  • Rooms: heard at half their built size and as furnished homes (Valheim builds are about twice real size and bare), the reverb's loudness and tone, 3 dB softer first reflections and 4 dB darker reverb indoors, how much trees close a space in, what props absorb.
  • Wind: 12 dB less and down to 800 Hz in the lee of things, gusts up to 4 dB either way, up to 2 dB louder side-on and 3 dB quieter with your back to it, full wind taken as 12 m/s.
  • In the way: how much soft obstacles muffle, a wall counting once however many pieces it's built from, the two rays 8 cm beside every line, where the mod looks for a way round a wall (up to 5.5 m along it).
  • Distance: 6 dB more per doubling past the range Valheim gives a sound instead of a cut-off, fires by their range (10 m as full size), the ground between you and a sound taken as flat and like the ground round you.
  • Placing: random bird and insect calls 1 m above whatever is at their spot and not on buildings within 10 m of you (moved out 4 m at a time), your unplaced sounds made placed with a near distance of at least 1 m, a door's sounds 15 cm in from its hinge.
  • HRTF: how broad that shape is (2 octaves): the narrow peaks and dips of real ears made everything sound like worse headphones.
  • Openings: how big a gap must be to count as an opening (a 10 cm sphere).

Disclaimer: development is AI assisted. Not fully human or AI.

Donations: ko-fi.com/krosshair

CHANGELOG

0.8.3

  • Changed mod icon. Actual mod is the same as 0.8.2.

0.8.2

  • Removed: muffling through the water's surface, and its Under water setting.

0.8.1

  • Improved: far sounds lose their highs the way real air takes them, at every pitch. Before, the very top (above about 12 kHz) stayed far too bright on distant sounds (up to 25 dB at 150 m).
  • Improved: a sound that is both behind a wall and far away gets the wall's muffling and the air's together, as in reality. Before, only the stronger of the two counted.
  • Added: the ground between you and a sound. Over grass, moss, snow or soil, distant sounds lose some of their low mids (about 6 dB around 250 to 500 Hz at 30 m), as over real soft ground (ISO 9613-2). Hard ground, floors and nearby sounds are unchanged.
  • Improved: how long a room rings, by Eyring's formula with the room's real average path between reflections. Rooms ring a little longer, half-open spaces a little shorter.
  • Performance: in a busy base, ordering the queue of sound checks costs a fraction of what it did (it was most of the mod's main-thread time). Wall probes that a newer check had already replaced stayed in the queue and were still cast; they're dropped now. Checks for building changes near a sound are faster, and nearby sounds use a shorter air filter.

0.8.0

  • Much better direction: which way a sound comes from is now told by the averaged ears of 18 real people (SADIE II database, University of York) instead of a model with picked values. The delay and the level difference between your ears come from those recordings, at 1,586 directions, blended smoothly as you turn.
  • The sound's colour stays close to what it was: of what both ears hear together only the broad shape is kept, without the narrow peaks and dips (how broad is picked).
  • Cleaner turning: each ear's delay is read more precisely, so fast turns keep the highs clean.
  • HRTF strength now goes from 0 to 1 (full); over 1 exaggerated the old cues. A higher value becomes 1.
  • The sound processing uses the CPU's vector instructions, so the new ears cost about the same as the old model.
  • The license of the measured ears is included (SADIE_LICENSE.txt).
  • README: sources and picked values brought up to date; a compatibility line removed.

0.7.3

  • Fixed: everything could sound muffled for a while after eating, drinking or pressing a hotbar key (or E) while looking at the ground, a rock or a creature: sounds around you were then checked against that spot instead of their own, so anything between you and it muffled them all. The same could happen inside a location or dungeon after using something there.
  • Fixed: the point you touched on something only counts while it's within your reach, and moves with it. Walking away from a chest or station, or a ship, cart or animal moving off, could muffle its sounds.
  • Fixed: a sound counts as coming from what you used only if it belongs to it. Before, any sound inside its box did, like a creature walking past.
  • Fixed: wind, insects and other background sound got quieter and duller beside rocks, cliffs and hillsides as if you were inside a building. Caves and buildings stay as they are.
  • Simpler README with a screenshot, and the sources brought up to date (walls, wall edges and wind changed in 0.7.0).

0.7.2

  • Fixed: the log filled with "'R8_SRGB' is not supported" warnings while building pieces were measured for how open they are. Sound is unchanged.

0.7.1

  • Fixed: fires got quieter with distance twice, so far fires faded out too early.
  • Opening or closing a door changes nearby sounds gradually as the door swings, instead of all at once. Building or removing a piece also changes nearby sounds smoothly.
  • What you're acting on is now heard from the exact spot you touched, so walls between you and it still count. A chest in a stacked wall, a station or a piece you just placed is heard clearly from where you reached it.
  • Rain under a roof now sounds like the roof material above you (wood, stone, iron and so on), and only built surfaces count as a roof.
  • Openings are now judged by how big they are, so small gaps between building pieces don't sound like windows.
  • Grates, lattice walls, windows, fence gates and any other see-through building piece, modded ones included, let sound through by how open they really are. Each kind of piece is measured once, the first time sound reaches it; before, only seven pieces counted as open, by estimate.

0.7.0

  • Sounds change more naturally as you move behind a wall or past its edge. As more of the sound is hidden, what reaches you gradually changes from clear sound to sound passing through the wall or round its edge.
  • Building or removing a wall, or opening and closing a door, updates nearby sounds promptly. Walking round the same wall still changes what you hear smoothly.
  • Sounds find their way through more windows, doorways and other openings. When several paths are open, their loudness and direction blend instead of a sound jumping from one window to another. Small gaps between building pieces are less likely to sound like open windows.
  • Rain stays audible indoors instead of disappearing behind the walls. An open doorway lets in more of the outside than a narrow window, and being under an actual roof changes the rain's sound without making an ordinary floor count as a roof. The original Valheim rain recording is used throughout.
  • Wind affects distant sounds differently depending on whether they're upwind or downwind, how far away they are and the ground between you. Buildings, rocks and hills shelter you from it. Clear-weather wind recordings also follow the wind's direction.
  • The sea is heard from the shoreline around you, not from one arbitrary point. Buildings can block part of the shore without silencing all of it, and the sound no longer stays behind at an old shoreline when you move away.
  • Weapon swings come from the moving weapon itself. What you're acting on (using a chest, door or station, putting an item on or in it, placing, removing or repairing a piece) is heard clearly while you're within reach of it, even in a tightly stacked wall of chests. Nothing a sound comes from muffles its own sound. A ward's, map table's and feast's sounds come from their top, a turret's from its head, a ship's sail from the sail, an incinerator's from its lever, and traders and other talking figures speak from their heads. A smelter's, charcoal kiln's and blast furnace's fire is heard from its firebox instead of the ground under it. Doors, creatures and crafting stations keep their own sound positions; rotated objects are placed more accurately.
  • Raising terrain now plays its placement sound above the new ground surface instead of leaving it buried inside the terrain.
  • Several fires or machines playing the same looping sound can now all be heard. Each starts at a different point in its recording instead of sounding perfectly synchronized. Small fires are quieter than large ones, based on their original sound settings.
  • Sound direction is steadier when you turn the camera, hear several paths at once or move past a corner. Doppler pitch changes also behave more consistently at different frame rates.
  • Birds and insects placed randomly in the world are less likely to end up in the wrong spot when the first sampled patch of ground is empty.
  • Reduced unnecessary sound and room checks (a new sound's wall check is 3 rays instead of 6), improved audio-job scheduling and fixed several cases where sound processing could keep stale geometry or try to play a disabled source.
  • Main-menu sound processing now stays with the menu's own positional sounds instead of affecting audio sources left over from the world.

0.6.0

  • Added back: sound takes time to travel, now at 350 m/s from your character's head. A sound far away starts as late as its distance makes it (up to half a second).
  • Added back: Doppler. Sounds coming toward you are higher, going away lower, measured from your character's head (camera movement doesn't affect it).
  • Performance: a new sound's wall check and a random bird or insect call's open-air spot are worked out on worker threads instead of the main thread. The sound starts once they're in (a frame later), already muffled right; that frame counts as part of its travel time. Your own sounds still start at once.
  • Added: a setting for each feature: Travel time, Doppler, Under water, Air, Wind, Sound placement, Voice chat (with the existing Room reverb, Muffling, HRTF and Realistic distance).

0.5.12

  • Station sounds come from the part you used: the smelter's coal and ore intakes and its output, the fermenter's intake and tap, the cooking station's fuel intake.
  • A sound isn't muffled when you can see the side of what it comes from, even if its usual spot is covered (a chest under another in a stacked wall).

0.5.11

  • What's in the way of a sound and the way round it (walls, windows, doorways, corners) are now worked out from the camera, like a sound's direction: you hear what you see from where you see it. How loud a sound is still goes by your character's head.

0.5.10

  • Fixed: a voice behind a half wall started from an opening across the room (a window, a doorway) each time someone began to talk, and moved over the wall a moment later. A sound now keeps where it was heard from until every way round its walls has been looked for.

0.5.9

  • Fixed: over a half wall, with you or the sound right by it, a sound was heard round the wall's end instead of over it.
  • Fixed: the sea sounded from under you on an island, a point or a pier; it now comes from the shore's direction and sounds wider the more the sea surrounds you. Rivers and ponds no longer pull the sea's sound to them.
  • Fixed: a ship or cart between you and a sound shut it out almost entirely; something in the way now muffles a sound once, not once for each of its parts.
  • Fixed: fences and stake walls (stake walls, stone and wood fences, the fence gate) didn't block sound.
  • Fixed: adding fuel to or lighting a small fire (a torch, a sconce) was much quieter than the game plays it.
  • Fixed: the blast furnace deadened the room's reverb like a fur rug.
  • Fixed: particles of an animation's sound effect could be dragged along with the moving body.

0.5.8

  • Fixed: pieces round you could vanish and pop back in over and over (looking like the game switching detail levels) while the game streamed things in.
  • Fixed: at a base full of sounds, a sound could take a second or more to change after you stepped out from behind a wall (or behind one). The loudest sounds (as loud as they'd be with nothing in the way) are now checked first, then the nearest, and a sound waiting for its check is only queued once. All of the mod's work each frame now shares one 0.5 ms budget (those checks had 0.25 ms of their own): what's needed every frame goes first, and the checks take what's left. Searching a wall for its gaps is done in small pieces, and setting up the next checks stops when the frame's time is up, so no single frame gets the whole load.
  • Less work: sounds too quiet to hear even with nothing in the way aren't checked for walls, your own sounds (footsteps, swings, your gear) aren't checked at all, and longer one-off sounds are checked again only when you or they moved or something was built near them, not every half second.

0.5.7

  • Gaps in walls are found properly: the edges of a wall (a gap beside you, a window, the end of a wall, over a half wall) are searched for along the wall itself, at the wall nearest you and the one nearest the sound. Near a gap a sound is nearly as loud as in the open and heard from the gap, and it fades in gradually as you go behind the wall instead of being muffled by the first bit of wall in the way.
  • Fixed: turned or slanted walls hid the gaps beside them.
  • Faster: what the mod knows about each thing a sound passes (wall, ground, tree, furniture) is worked out once and kept, in one table big enough for a large base (the old ones emptied and started over at around 8000 pieces). The edges found round a wall are kept until the wall or the building near it changes. A building change only rechecks the sounds and the room it's near: the game loads and unloads far-off pieces all the time as you move, and each one used to recheck everything. The sound processing itself runs leaner on the audio thread.

0.5.6

  • Less lag after a portal: while the game is still loading a base in, the room is measured once when it's in instead of again for every piece that appears.

0.5.5

  • Fixed: the wind and the outside ambience moved in audible steps as you walked (closer to a wall, through a doorway): they were set five times a second and jumped half way each time. They glide smoothly now, at the same speed.

0.5.4

  • Fixed: a wall muffled sounds far more than real walls do. Its high end was cut for a single filter stage, but the sound runs through two, so a wall took 25 dB extra at 2 kHz and 36 dB at 4 kHz instead of the measured 16 and 20. Machines and other bright sounds (the spinning wheel) vanished behind one wall; now they come through dull, as measured. Rain, wind and the sea through walls use the same filter and get the same fix.
  • Fixed: sound didn't come over a half wall. The way over a wall was tried at least 1 m above the line from you to the sound, which in a 2 m storey is in the ceiling, so it was always blocked and the sound only came through the wall. It's tried just over the wall's top edge now.
  • Added: sound also finds its way under something in the way (a raised floor, a table, the gap under a gate), as it already did over and round.

0.5.3

  • Changed: looping sounds (fires, forges, lava, machines) follow walls and doors as you move. Their wall check waited for the game's once-a-second update, so stepping through a door or behind a wall took up to a second to be heard. Now it runs when you or the sound move half a metre, a piece is built or removed, or a door opens or closes, and every 2 s otherwise.

0.5.2

  • Fixed: walking up to a window with rain outside cut the rain in, and walking away cut it out again. The sound at each opening was tied to the opening's rank, so when a window became the bigger opening (or a new one turned up) its sound jumped across the room at full level. Each opening now keeps its own sound, a new one fades in where it is and a lost one fades out where it was. How closed in you are also glides over a second instead of stepping.

0.5.1

  • Fixed: sound got through closed buildings. Pieces snapped together often leave a hairline gap between their colliders, and the one ray from you to a sound could run through it as if the wall were open. Every line is now three rays 8 cm apart, and what two of them agree on counts. The mod was at fault.
  • Fixed: the room rays could take such a seam for a window or a door and route sounds through it. A gap counts as an opening only if the rays beside it get through too.
  • Fixed: a wall right behind a sound (a torch, a chest or a workbench against the far side of a wall) didn't count: the mod ignored everything within 0.5 m of a sound so its own object wouldn't hide it. Now only the thing making the sound is left out. The mod was at fault.
  • Fixed: a door's own sound could be hidden by the door: opening and closing were heard from the middle of the door's box, which for a door first seen open is out beside the doorway. They come from the hinge now, half way up. The mod was at fault.
  • Fixed: a line through a busy build (walls, beams, poles, furniture) could have more hits than the mod recorded (8), and the wall could be among the ones dropped. It records 16 now, and a line with more than that counts as through a wall at least.

0.5.0

Indoors and outdoors

  • Changed: the sea is shaded like the wind, as the whole shoreline it is: a wall or a house between you and it still shuts most of it out, but a single post or tree no longer can (it was one ray to one point). Heard from between the shore and the way that's open to it.
  • Changed: the wind is shaped by what's round you. Behind a wall, a rock or a hill it drops to a low rumble (in their lee), it's heard from where it comes round and over what's upwind, and it comes in gusts and lulls instead of one even loop, more so the harder it blows.
  • Changed: the outside heard from inside, rebuilt. Rain, wind, birds and the rest of the biome's sound play from your doors and windows (up to two), just outside each one and heard from there, as loud as the opening's share of the outside (about 10 dB under outside for a door, as measured homes with a window open). Through the walls only a quiet, dull bed gets in, and openings fade in and out instead of cutting. Before, it was one flat sound from nowhere: barely muffled, or nearly unmuffled the moment any opening was found.
  • Changed: you can hear through walls. One wall counts once, however many pieces it's built from (a wall, a beam and a pole on one line were three walls), and the first wall takes 12 to 22 dB by how heavy it is, each after it 6 dB more and duller. With the measured losses stacked, a hearth in the next house was at -120 dB: silent, not muffled.
  • Changed: muffling is steeper (12 dB an octave instead of 6), so a sound behind a wall is muffled, not just quieter.
  • Fixed: sounds outside heard from inside rang through your room's reverb as bright as if they were in it: Unity's room reverb hears a sound before the mod muffles it. A sound now gets the room's reverb only as much as gets through to you, and sounds behind walls no longer get extra reverb.
  • Fixed: stepping behind something (off a wall, with the sea behind it) shut a sound off for a moment before its way round was found, then opened it again. The way round is found first now.
  • Fixed: the game's random calls (birds, gulls, insects) are placed at your own height, so in a basement or on a hillside they were in the ground, and one could land on your roof and sound like it was in the room. They sit in the open air above their spot, off buildings.
  • Fixed: a door or window looking out at a hill or trees didn't count as an opening, and a seam in the roof could.
  • Fixed: sounds already playing could be muffled by walls that weren't there: their checks read leftover hits from earlier ones (Unity only clears the first unused slot). The mod was at fault.
  • Fixed: a sound behind a wall could seem to come from inside your room. Where you hear it from follows the precedence effect: the sound through the wall arrives first and sets the direction, and a window or corner only takes over when it's more than 10 dB louder.
  • Improved: a sound coming through an opening bends round its nearest edge, not its middle, and loses nothing extra when the straight line passes through it (Kurze and Anderson, the lit side of an edge).

Reverb

  • Changed: rooms sound like the real rooms they stand for. Valheim's buildings are about twice real size and bare, so they rang like halls; the reverb treats them as half the size and furnished, with the warmer tone from 0.1. Indoors it's cozier the more closed in you are: softer first reflections, a darker ring.
  • Improved: stepping out of a space, its reverb dies away over that space's own reverb time (a cave's over seconds, a small room's at once).

Distance and loudness

  • Changed: which way a sound is comes from the camera, as you see it; how far it is, what's in the way, which room you're in and whether you're under water come from your character's head again, where the game itself hears from (0.4.0 had moved all of it to the camera). Zooming out no longer makes your own steps quieter, and the camera slipping behind a wall no longer muffles the world.
  • Changed: sounds reach further, just quieter. Past the game's own range for a sound it drops 6 dB more each time the distance doubles, instead of fading out to nothing.
  • Changed: fires are as loud as how much is burning. The game plays a sconce's crackle as loud as a hearth's; now a sconce is about 14 dB quieter than a campfire.
  • Fixed: quieter sounds far off cut out as you walked away (a mead ketill across the hall), and with more sounds than voices Unity cuts an old sound off or doesn't start a new one. Unity mixes only 32 sounds at once in Valheim and a busy base plays about 60: the mod asks for 128, so every sound plays to its end, and sounds too quiet to hear give way first if even that runs out.
  • Changed: sounds upwind of you drop by at most 10 dB instead of the measured 20 and more, so a sound you can see doesn't all but vanish in a breeze. A choice for the game, not from a source.
  • Removed: sounds arriving late with distance, and the Doppler shift.

Other

  • Improved: a falling tree is heard from its trunk as it comes down, not from the stump.
  • Fixed: a portal's hum dipped out for a moment as it was handed to the exit portal, which often doesn't count itself in use yet when you land. It's held on through the hand-over.
  • Changed: pausing (the Esc menu) keeps the world sounding as it is, instead of switching to the menu's muffled mix.
  • Fixed: switching the mod off left the reverb send it had set on sounds already playing; the game's own is put back.
  • Improved: with Proximity Voice Chat, a voice comes from the speaker's head (it was 1.5 m above their feet, wrong when they crouch, sit or swim).
  • Fixed: with your head under water, sounds under water with you were muffled as if they came through the surface.
  • Fixed: on 5.1 and 7.1 speakers with the HRTF on, the centre and rear speakers went silent. The game's own panning is used there now.
  • Fixed: a few material values didn't match the sources they're credited to: marble, ice, plank and heavy wood now absorb what the published tables say, and iron and ice walls follow the mass law as published.
  • Removed, to keep the mod to what clearly matters: sounds reaching you by bouncing off walls (openings and corners cover it), and a creature's voice being duller from behind it.
  • Performance: sounds too quiet to hear (under -60 dB where you are) aren't processed at all; every other sound gets the full HRTF. Distance, air and wind are worked out 4 times a second instead of every frame.
  • README: every source links to where its numbers come from, and the values that don't come from a source are listed as such.

0.4.1

  • Fixed: an endless loading screen with errors in the game's object clean-up (ZNetScene.RemoveObjects), since 0.3.0. The mod attached creature and weapon sounds to the creature so they'd move with it; in some setups those sounds are networked objects, and they were destroyed together with the creature while the game still tracked them. The mod was at fault. Networked sounds now follow their creature without being attached.
  • Fixed: the Room reverb setting's description said the game's own reverb comes back outdoors. It doesn't: the mod's reverb is used everywhere and goes dry in the open.

0.4.0

  • Changed: you now hear from the camera, not from your character. Left and right, near and far, and which room you're in follow your view.
  • Fixed: a room's size counted the sky or the hills seen through its windows, doors and gaps, so rooms seemed several times bigger than they are.
  • Improved: every sound gets the full HRTF. Before, only the nearest few did and the rest kept only a louder near ear, so you couldn't tell where a distant fight or animal was. The simpler version saved too little to be worth it.
  • Removed: the echo off cliffs and big walls in the open. It was rarely heard and cost audio processing on every nearby sound while it was on. The room's reverb is unchanged.
  • Improved: how much the air dulls distant sounds now follows the international standard for it (ISO 9613-1), with the weather: the game's warm, cold and freezing are matched to the real Norwegian weather they're modelled on (a Bergen summer day and night, the mountains in winter). Sounds 10 to 60 m away were too bright before.
  • Improved: rocks, furniture and tree trunks between you and a sound now muffle it by their size: the sound goes over and round them, so a trunk barely matters and a boulder takes the highs off (the same barrier formula as corners and hills, over the top and round both sides). Before they all took off the same fixed amount.
  • Improved: how much a room's reverb dulls over time and how bright its reflections are now come from what the room is made of, from published absorption figures per material (stone keeps the highs ringing, wood swallows the lows), plus the air.
  • Improved: sound reaching you by bouncing off a wall is now as loud as the reflection would really be: what the surface doesn't absorb, mirrored where the angle is right and scattered evenly elsewhere, by how rough each material is.
  • Removed: the forest's own reverb tail. Its values weren't backed by measurements.
  • Changed: the ground, trees and iron now absorb each frequency band by published data. Ground uses the Nord2000 ground classes per biome (snow, moss, grass, forest floor, sand, packed ash), trees use measured bark, iron uses steel. Before, they had one rough value for every frequency.
  • Improved: walls, floors, roofs and doors now block sound as much as real ones measure, by their material and thickness: a wood wall like a solid timber wall (about 29 dB of the lows, 37 dB at mid frequencies), a door like a solid wood door (less, as doors leak), stone like a brick wall (far more). Through a wall you hear a muffled but still recognisable sound, not just a rumble. Hills, rocks, trees and furniture are unchanged.
  • Improved: indoors, the outside (rain, wind, birds) comes in through the openings and the open sky; what gets through closed walls is a faint low rumble. With the HRTF, it now comes fully from the openings' direction, not partly.
  • Improved: sound bending round a corner or through a doorway loses what real sound does (the barrier formula used for noise walls, capped at 20 dB), more of its highs the longer the detour. Before it lost about 1 dB.
  • Improved: wind. Downwind a sound carries a few dB further; upwind it can drop by up to 20 dB from about 100 m away, as measured outdoors (it was at most 4 dB). The game's wind is matched to real wind speeds by its snow storm being a blizzard.
  • Improved: indoors, a random bird or insect call starts outside your walls instead of somewhere in your room, so it comes in through the windows and doors from their direction.
  • Improved: a hill between you and a sound is now treated as what it is, a ridge the sound goes over: the higher it rises above the line between you, the more it takes off (the same barrier formula as corners).
  • Improved: how much reverb a sound gets indoors now uses the standard critical distance (from the room's measured size and reverb time) instead of a fixed guess.
  • Improved: under water. Sound crossing the surface keeps about 0.1% of its energy, as physics says (about 30 dB quieter), without the old muffling, which wasn't based on anything.
  • Improved: the sea is a long shoreline, so it now fades 3 dB per doubling of distance like a real line of sound, not 6.
  • Removed: the crackle fix from 0.2.7. Repairing the clicks in the game's sound files also took detail out of many deep sounds (footsteps, landings, climbing on stone), leaving them dull and distorted at random, depending on which variant of a sound played. A worse problem than the one it fixed, so the game's sound files are left as they ship again.
  • Performance: the audio processing no longer times itself unless the debug log is on.

0.3.0

  • Improved: sounds come from where they're made. The game often plays a sound at a character's feet or at the base of a piece:

    • Weapon swings and attacks come from the weapon and follow the swing. A bow's draw comes from the bow, the hammer's build sound from your hand.
    • Holstering comes from the slot on your back the item goes to, dropping from your hand, eating and drinking from your head, picking up from where the item was.
    • Creatures' growls, roars, calls and bites come from their head, their swings and claws from their weapon or arm, stomps and slams from their feet. A troll's roar and its club swing now come from two different places.
    • Chests sound from their lid, fires (sconces, hearths, braziers) from their flame, doors, smelters, fermenters and other pieces from their middle. Crafting sounds come from the crafting station instead of from you.
  • Improved: anything that moves takes its sounds with it: reloading a crossbow or grappling hook, animals and pets, sounds on ships and carts.

  • Improved: a ship's wake and water and other sounds outside the game's usual sound system now get the Doppler effect too.

  • Removed: the "heard from its open part" backup from 0.2.7. It isn't needed now that sounds come from where they're made, and it made muffled chests sound like they were off to the right.

  • Added: the wind in your ears. Outside, the wind is heard from the way it's blowing from: louder with an ear turned to it, quieter with your back to it. It fades out as you go indoors.

  • Performance: fewer raycasts for sounds of pieces and creatures, and less work every frame for the Doppler effect.

0.2.7

  • Fixed a vanilla bug: clicks and crackles in the game's sound effects, most obvious on wood and stone footsteps because they stand out against those deep sounds. This is in Valheim's own sound files, not something this mod caused. Two things are wrong with them: many clips have tiny bursts of noise baked in, and many were trimmed so they start in the middle of the sound instead of from silence, which clicks every time they play. I tried to fix both and hopefully fully succeeded. The mod repairs the sounds in memory as the game plays them; the game's files are not changed and no audio is added to the mod.
  • Improved: if the spot a sound is made at is muffled but part of the thing making it is in the open (a chest set into a wall), it's heard from that open part, so something you can clearly see is heard clearly. Sounds that aren't muffled come from where they always did.

0.2.6

  • Sorry, I put the wrong thing in the last changelog. Claude screwed me over: the crackles on wood/stone footsteps are a vanilla bug I'm trying to fix, but he put it in there like it's my damn fault. I shouldn't trust AI with changelogs. Sorry, fellas.
  • No changes to the mod itself.

0.2.5

  • Fixed: birds, seagulls and other outside sounds came through wooden walls too clearly. A wooden wall muffles as much as it did before 0.2.3 again; stone, marble and iron still muffle more than wood.
  • Fixed: random biome sounds (birds, insects) and lava noises use the same game object, so lava could be treated as background ambience. They're now told apart where the game plays them: lava stays a real sound in the world, muffled by walls.
  • Fixed: looping sounds the game itself doesn't keep updating were never rechecked for walls after they started. They're now rechecked like other sounds.
  • Fixed: short random ambient sounds (an insect, a splash) could be cut off by the game's fade timer before their sound ended; they now play to their natural end.
  • Fixed: a sound starting while the same source still played could restart or cut the old one, and a distance-delayed sound was started and then restarted. Delayed sounds now start once, and stale delayed stops are dropped.
  • Fixed: possible crackle when a sound switched between full and light HRTF, and a rare case where an echo's memory was reused while still being played.
  • Fixed: a sound made right next to you (opening a gate or door, chopping, mining) was attached to your character and turned with it, so it stayed on the same side as you turned. It now stays where it was made; only your own item sounds (equipping, eating, picking up, dropping) move with you.
  • Fixed: random ambience indoors (a bird, an insect) kept the left/right it started with as you turned; it now stays in place.
  • Debug log: more detail on wildlife sounds, footstep clips and audio-thread cost.

0.2.4

  • Improved: entering and leaving caves, crypts and other enclosed spaces updates room reverb much faster, without lingering wet acoustics outside.
  • Improved: exterior ambience switches promptly at room boundaries instead of waiting through Valheim's long sequential ambient-loop fades. Normal weather and biome fades keep their original timing.
  • Fixed: distant sounds whose fade has already reached silence now stop immediately rather than repeatedly scheduling delayed stops; pending stop requests for the same source no longer accumulate.
  • Known issues: occasional clicks on constructed wood/stone footsteps and abrupt endings of some swamp random ambient effects are still under investigation. The experimental footstep attack fade and ambient-clip pitch-timing workaround were removed because they did not resolve the reported problems.

0.2.3

  • Optimized: HRTF priority follows estimated audibility rather than distance alone; callbacks for sounds already below -80 dB bypass expensive processing if no audible delayed echo remains. New debug counters break down full/light/plain DSP and silent buffers.
  • Optimized: alternative paths are scheduled only for previously blocked sounds; room second-reflection jobs run on demand. The debug log now counts actual opening, corner, first- and second-reflection winners to judge whether added complexity pays off.
  • Optimized: still rooms and coastlines reuse recent measurements with periodic refreshes; doors, pieces and new dungeon rooms invalidate the geometry measurements.
  • Corrected: extended sounds now base future blocked-path decisions on their least-obstructed sampled point, not always the central ray.
  • Added: timber, stone, marble and metal transmit different amounts of sound using the already known collider material; reflection candidates use absorption and angular plausibility in addition to path length. Corner candidates prefer physical blocker edges over fixed arbitrary offsets.
  • Fixed: switching the mod off restores vanilla reverb zones instead of losing destroyed components, and reverts modified player and random-ambience AudioSource positioning and stereo panning. Conversion backups live on per-source filters so short-lived sounds don't accumulate stale tracking entries.
  • Compatibility: dungeon audio setup uses the per-room placement method rather than the two DungeonGenerator methods whose postfixes Valheim AVX displaced.
  • All existing acoustic features remain; the diagnostics help identify which processing and reflection paths are actually useful. Performance improvements vary by scene.
  • Note: using Windows Sonic or Dolby Atmos spatial processing alongside the mod's own HRTF can reduce its positional clarity. For best results, disable Windows spatial processing while playing Valheim (manually; no system settings are changed by the mod).

0.2.2

  • Fixed: birds and other random ambience could play inside your house, loud and unmuffled (the game places them at a random spot around you, often in your own room). Indoors they're heard through the walls and from the windows, like rain and wind.
  • Fixed: rocky valleys and ravines barely echoed: their sides counted as being indoors. Echoes now fade only under a roof.

0.2.1

  • Fixed: the mod reported its version as 0.1.2.
  • README rewritten.

0.2.0

  • Added: sound takes time to travel (343 m/s). A sound far away starts and stops as late as its distance makes it.
  • Added: Doppler. Moving sounds shift in pitch as they come and go; our own, so the camera bumping about doesn't make sounds warble.
  • Added: portals carry their hum. Going through, it isn't stopped and started again: it glides to where the exit portal will be, rides with you while you load and carries on as the exit portal's hum.
  • Added: forests have their own soft reverb tail from the trunks round you.
  • Added: the ground counts by what it is where each ray lands (snow, grass, forest floor, mud, sand, rock, paving, tilled soil), and the sea's surface reflects sound instead of rays passing through it to the sea bed.
  • Changed: no reverb from the game is used anywhere now. Outdoors is measured like any room: open ground is dry, where the game added the same long reverb everywhere (open mountains sounded wetter than a forest).
  • Changed: echo per sound, from each sound's own way there and back, instead of one delay for all; loops don't echo, and how hard the surface is decides how strong it is.
  • Changed: quiet sounds fade out sooner than loud ones, by the game's own range for each.
  • Changed: all your own movement and action sounds come from your character and move with it; a death wail follows the falling body; a creature's facing only shapes its calls.
  • Changed: creatures' and players' shapes are their bodies (a player counted as 4 m wide before).
  • Changed: levels of detail for the processing: every sound is processed, the nearest get the full HRTF, the rest a lighter direction, crossfaded when they switch.
  • Added: HRTF strength setting.
  • Fixed: stutter spikes of a few ms, several times a second. Switching a sound's filter on and off made Unity wait for its audio mixer; filters now stay on and simply pass sounds through when there's nothing to do.
  • Fixed: birds, gusts and other random ambience were far too quiet with Realistic distance (up to 20 dB); they keep the game's own fade.
  • Fixed: a tick at the start of some sounds (old audio left in the delay line).
  • Fixed: errors from creatures without a head point (fish, birds) stopped some sounds being checked.

0.1.3

  • Fixed: stutter, distorted sound and hitches where a lot plays at once (a swamp in the rain), worst on slower machines. Only the nearest playing sounds are processed now, up to a count that follows how busy the audio thread really is (measured, lowered at once when it's busy); the rest are left to the game's own panning. Sounds that don't need processing no longer cost anything, and the per-sound work is faster.
  • Fixed: forests and swamps sounded like a cave. Trees counted as walls: a dense swamp measured as an enclosed room (long reverb, muffled rain), every trunk muffled sounds and echoed them. Trees now scatter sound instead: they barely enclose you, muffle little and never echo.

0.1.2

  • Added: sound reaching you by bouncing. Room rays bounce a second time off what they hit (angle in = angle out), and sounds behind walls also try the shortest bounce paths: down a corridor and round its far corner, round two corners.
  • Added: echo. Out in the open, a big hard surface facing you 15 to 50 m away (a cliff, a hillside, a wall) sends sounds back from its direction, delayed by its real distance.
  • Added: rain and wind indoors come from the opening's real direction with the HRTF on (behind and above as well as left and right), keeping their stereo.
  • Added: the air dulls distant sounds' highs (a fight 60 m away is duller, not just quieter).
  • Changed: no more pitch drop for distant sounds in the Mistlands mist (fog doesn't change pitch); they keep their reverb there too.
  • Added: Wire's Stackify support. Its chest sounds after a quick stack or restock come from each chest, as world sounds.
  • Changed: sounds that used to cut off at their max distance now reach twice as far and fade out there, instead of fading inside their range (a hit 30 m away is heard again).
  • Optimized: the list of sounds tracked for direction and distance changes in place instead of being rebuilt; locations and dungeons get their sound filters and lose their reverb zones as they're placed, instead of scene-wide searches every few seconds.
  • Changed: the HRTF's outer-ear dip is narrower and only for sounds well above or below you, so equipment and other sounds near your character aren't dulled.

0.1.0

  • First upload: ray traced room reverb, muffling through walls, paths through openings and round corners, ambience and under-water muffling, the sea heard from the sea, HRTF, sounds following their source, your own sounds from your character, distance fade, Proximity Voice Chat support.