RagnarokResearchLab / ragnarokresearchlab.github.io

Documentation that covers the technical aspects of Ragnarok Online
https://ragnarokresearchlab.github.io
14 stars 5 forks source link

Research the GFC audio backend (spatialization/attentuation etc.) #123

Open rdw-software opened 1 month ago

rdw-software commented 1 month ago

IIRC, the game's audio engine is backed by Miles Sound System. Its DOS version is now open source (http://ke5fx.com).

Although I'd assume the equations used for attenuation etc. are all fairly standard, it's possible there's some "hacks" added on top:

[...] the official client have some "fixes" hardcoded in their client (I'm not sure with that one, I'm assuming based on the behaviour being different)

It would make sense to research how audio works in general to make sure third-party implementations are sufficiently accurate.


FWIW, I haven't noticed any difference when using standard WebAudio implementations (browser/C++). Therefore, low priority...