Skip to content
This repository has been archived by the owner on Apr 17, 2022. It is now read-only.

orientation of sound effects seem to be wrong #220

Closed
wzdev-ci opened this issue Jan 17, 2009 · 15 comments
Closed

orientation of sound effects seem to be wrong #220

wzdev-ci opened this issue Jan 17, 2009 · 15 comments

Comments

@wzdev-ci
Copy link
Contributor

resolution_fixed type_bug | by jaakan


using trunk [6552], mythbuntu 8.10 x64

My computer is connect to a Yamaha DSP-A1 (Processor+Amp) via SPDIF Digital Coaxial connection for audio. I have run the internal sound on my Processor to see if I have everything wired correctly. Music, Movies and other games have the correct orientation so I'm sure the issue is in the sound system of warzone.

For example: if ripple rockets shoot off on the from the right side of my Screen and hit something one the left side, The sound would start on the left and end on the right. From really listening to it rotating the view... it seems more complicated that just sound effects engine reversing left and right.

The orientation of sound effects should be base on the current POV of the camera.


Issue migrated from trac:220 at 2022-04-15 17:52:45 -0700

@wzdev-ci
Copy link
Contributor Author

Per commented


The sound code in Warzone is pretty bad in many ways. Unfortunately, we do not have anyone with the knowledge or will to rewrite/fix it.

@wzdev-ci
Copy link
Contributor Author

Giel commented


#225 and #155 are related to this (i.e. both are the result from the bad sound code)

@wzdev-ci
Copy link
Contributor Author

cybersphinx commented


This might be fixed in [7903]/[7904].

@wzdev-ci
Copy link
Contributor Author

Buginator commented


It depends on what location you are at on the map, it don't seem we know the exact orientation of the player in question, compared to the map, so things are not played correctly all the time.

You can notice this best by starting a 2p game, and checking where the sound is coming from.

@wzdev-ci
Copy link
Contributor Author

DevUrandom commented


#845 has been marked duplicate of this bug.

@wzdev-ci
Copy link
Contributor Author

Buginator changed status from new to closed

@wzdev-ci
Copy link
Contributor Author

Buginator set resolution to fixed

@wzdev-ci
Copy link
Contributor Author

Buginator commented


(In [8098]) partial revert of [5763]
Clean up and fix 3D sound.
We now have true 3D sound that works correctly.

See #920 for more information about the revert.

fixes #220

@wzdev-ci
Copy link
Contributor Author

Buginator commented


jaakan, since your the one with the best audio gear, can you get the lastest svn trunk, and test the 3D sound now?

It should work much better now, from all orientations that I have tried.

Thanks!

(reply to this ticket)

@wzdev-ci
Copy link
Contributor Author

Buginator commented


(In [8103]) backport [8098]

partial revert of [5763]
Clean up and fix 3D sound.
We now have true 3D sound that works correctly.

See #920 for more information about the revert.

fixes #220

@wzdev-ci
Copy link
Contributor Author

i-NoD commented


Thanks Buginator, it's MUCH better now.

Btw, if you aren't using some DTSConnect capable mobo then SPDIF connection usually gives you pcm-stereo signal. And when you have system can transmit sound to more than two speakers system (like 5.1 where a true 3D sound lives...) wz sound system is simply ignoring other channels beside LF and RF :-(

I guess I would be a good thing to add a 5.1 sound at some point...

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Sep 13, 2009

cybersphinx commented


Replying to Warzone2100/old-trac-import#220 (comment:9):

Thanks Buginator, it's MUCH better now.

Btw, if you aren't using some DTSConnect capable mobo then SPDIF connection usually gives you pcm-stereo signal. And when you have system can transmit sound to more than two speakers system (like 5.1 where a true 3D sound lives...) wz sound system is simply ignoring other channels beside LF and RF :-(

I guess I would be a good thing to add a 5.1 sound at some point...

That might be a configuration issue of OpenAL, on my Linux system the default is stereo only.

@wzdev-ci
Copy link
Contributor Author

jaakan commented


I'll check it when I get back from Vacation. But from the looks of things nice work everyone.

@wzdev-ci
Copy link
Contributor Author

anonymous commented


i-NoD MY HERO FOR FIX THIS!! SOUND WAS BAD FOR LONG TIME!!
PLEASE MAKE 5.1 NOW PLEASE!!!!

I BOW TO i-NoD!!!!!!!!!!!!!!!!!

@wzdev-ci
Copy link
Contributor Author

anonymous commented


Great job!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant