home home

downloads files

forum forum

docs docs

wiki wiki

faq faq

Cube & Cube 2 FORUM


Buggy "stereo sound" [Win+Linux]

by kracho! on 08/26/2005 17:31, 46 messages, last message: 09/09/2005 15:17, 11411 views, last view: 05/17/2024 16:55

Yeh, I'm having some serious trouble with the new stereo sound in cube_2005.
The problem is that once a sound (enemy gunfire for example) is starts, it doesn't change it's "angle" (where it comes from), even if you turn around or die/respawn.

This is a really serious matter since the ingame-sound is now totally confusing and useless.

We need a bugfix as soon as possible.

Go to first 20 messagesGo to previous 20 messages    Board Index    Go to next 20 messagesGo to last 20 messages

#7: Re: SOUND

by kracho! on 08/26/2005 20:57, refers to #6

Yah it does, but could have been said in another way :X

reply to this message

#8: Re: ..

by kracho! on 08/26/2005 21:01, refers to #4

Another little bug:

If someone uses an empty name and then changes it, it won't show up as " is now known as newname", but instead as "connected: newname".

reply to this message

#9: Sound

by Jesus on 08/26/2005 21:19

The new steroe sound is very bad :(
plz patch IT, THX

reply to this message

#10: Re: ..

by kracho! on 08/26/2005 21:42, refers to #10

Most players use headphones.

reply to this message

#11: ..

by makkE on 08/26/2005 22:02

With the new sound it´s impossible to play. Please, Aard, this one really needs a patch.. I didn´t notice in the beta, didn´t have time to play.. :(

reply to this message

#12: ..

by v0_otalty on 08/26/2005 22:05

yeah it extremely sucks..and we have a big cup on sunday (which is a good way to promote cube) so a patch would help a lot...

reply to this message

#13: ..

by lokirulez on 08/26/2005 23:56

Hi,

I had to experience the same problems. Please patch it Aard or switch back to mono if stereo comes with too many problems.

thanks,
lokirulez

reply to this message

#14: well

by Aardappel_ on 08/27/2005 01:30

I'll see what is the best solution, but it will have to wait because I am off to san antonio for the weekend. if you have a tourney, use the old cube.

reply to this message

#15: ..

by lokirulez on 08/27/2005 01:40

k thanks for the reply.

The feature " client & server console now properly flushed for piping purposes" doesn't seem to work for Windows Users.

I'm on Windows XP Prof with a NTFS Drive and the log is only updated when quitting cube.

Commandline: bin\cube.exe -w640 -480 >>log.txt.

Windows' cmd says (when starting cube): bin\cube.exe -w640 -480 1>>log.txt.

Dunno where this "1" comes from. :\

reply to this message

#16: Eh?

by NiElZ on 08/27/2005 12:08

------------------------------------------
Wasda said:

- True stereo sound. Position of sounds relative to the player is updated in real time, which makes you hear the sounds with correct panning and volume, ***even when you move or turn*** while sounds are playing. Also makes stuff like "realistic" ambient sounds possible.
------------------------------------------

I don't know wether this has to do with the suaer stereo thing in the post above this one, but if it is not, or if this is not an update of the stereo thing, it sounds like a lie in this quote.

-My apologies if I'm wrong-

reply to this message

#17: ..

by kurtis84 on 08/27/2005 15:05

I don't understand why this "bug" is so widely noticed now, and not during the beta testing. I know there was no linux beta, but there were plenty of players using win as well. Also, I've played a few times now with the new cube...and I simply ignore the sound. I know it's not quite right, so I don't pay attention to left/right sounds, and I do fine.

One last thing...seeing people talk so negatively about cube really bothers me. I think you people could do a little better about reporting these things, and not word it to sound like you're attacking Aard. The only reason there is stereo sound now, is because people wanted it, and Aard wanted you to get what you asked for. As for the bugs it involves, I'm sure it'll get fixed, or just removed...be patient, and keep in mind that Aard didn't have to give us cube at all...he's a nice guy!

reply to this message

#18: ..

by makkE on 08/27/2005 15:33

You´re right, kurtis, I agree.
It´s just that some people take their gaming very serious, and these people are used to reacting to sounds a lot.. in previous cube versions you would only react to the distance of a sound, but since it´s directional now, people react to it..
And when they lose a map they used to pwn before, well.. hardcore gamers can get a little harsh..
Plus, many of the players don´t even know cube´s a one man show..

I´m not worried much, guess there´ll be a fix. And I am to blame aswell, I didn´t test it properly too..

reply to this message

#19: ..

by kracho! on 08/27/2005 17:16

Does anyone know a way to force mono sound under Linux? :/

Alsa, no Daemon, SND_AU8830, Kernel 2.6.12.

reply to this message

#20: ..

by NiElZ on 08/27/2005 20:16

Hey, just reïnstall Cube, make a backup of your maps and settings and whatever other custom things you people might have implemented in Cube, but why would you make it yourself so hard to get Cube to have mono audio again?

reply to this message

#21: ..

by kracho! on 08/27/2005 22:27

OK here's a way to force mono sound (Big thanks to PsychoDad from Freenode):

// ~/.asoundrc
// copies both input channels to both output channels
pcm.!default {
type plug
slave.pcm "hw:0,0"
ttable.0.0 0.5
ttable.1.0 0.5
ttable.0.1 0.5
ttable.1.1 0.5
}

Start your Cube with "aoss" (Alsa OSS Wrapper):
aoss cube_unix -h768 -w1024

Have fun xD

reply to this message

#22: fix....

by Aardappel_ on 08/29/2005 09:06

wouter.fov120.com/stereosoundfix.zip

that is the source code to fix the sound issue, hopefully. If you want to be useful, please TEST it (you know, actually try it out), I have tested it in DMSP and sounds appear to be correct, but I may have missed something.

This is simply eihrul's dynamic pan/vol updating for sauerbraten backported to cube. It now uses SDL_Mixer exclusively, even on windows, since FMOD doesn't allow pan/vol updating after the sound has started (afaik, please tell me if I am missing something), and also SDL_mixer works great on win32 now, unlike earlier releases. Additionally, player1 weaponshooting sets the position to NULL know, without it you get very wacky stereo if you move while shooting.

If all is ok, we will upload new win32/unix bins hopefully today, so any complaints post here ASAP. Mac should be unaffected as the build is still forthcoming.

reply to this message

#23: Re: fix....

by eihrul on 08/29/2005 18:58, refers to #23

Actually, no, it's not a remix of your code. Aard didn't want to use your code at all, so I wrote it from scratch, and then Aard rewrote it again himself because he didn't think it was simple enough. :P

reply to this message

#24: Sound is fine

by makkE on 08/29/2005 21:03

Okay kracho and me have tested it out:

Works sweet now :)

No issues, will add a great new element in predicting the enemy.. it´s gonna be even faster now :)
Thanks Aard and sorry for us all being so lazy in the first place.

reply to this message

#25: ..

by kracho! on 08/29/2005 21:05

Yeah, it's awesome! Great work.

reply to this message

#26: Re: fix....

by Aardappel_ on 08/29/2005 22:05, refers to #23

- no, its not your code
- I have tested SetPan under windows with different versions of windows, using all combinations I thought could influence it.. like (un)pausing the sound etc. It does not work :(
- download SDL_Mixer... its is super simple to link to.
- well, if you turn out to be a great programmer with great attitude who does great work, then yes, I will be happy to cooperate. But sofar you have scored badly on all accounts. If you think you have been "misunderstood" then you better be more careful what you say, because your posts and emails directly express not wanting to release sourcecode to gain cvs access, and you have generally been negative towards the original developers. That is not a good starting point, seeing as the original developers are all friends, know eachother well and cooperate heavily. Your code took eihrul 10 minutes to write (and me 5 minutes to make even simpler). It is about 3x less lines of code than yours, and doesn't contain senseless repetition of code etc, which is the #1 sin in programming. To me, looking at your code, you haven't understood the sauerbraten coding philosophy at all.

You say our code is buggy... where? how?

I don't hold grudges, if people change, I am happy to cooperate. But don't go setting me ultimatums again because you have a ways to go.

reply to this message

Go to first 20 messagesGo to previous 20 messages    Board Index    Go to next 20 messagesGo to last 20 messages


Unvalidated accounts can only reply to the 'Permanent Threads' section!


content by Aardappel & eihrul © 2001-2024
website by SleepwalkR © 2001-2024
54039504 visitors requested 71820278 pages
page created in 0.061 seconds using 9 queries
hosted by Boost Digital