Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (7th_zorro, AndrewAMD, Ayumi), 750 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
snd_play playing in one speaker #225736
09/05/08 21:39
09/05/08 21:39
Joined: Feb 2006
Posts: 2,185
mpdeveloper_B Offline OP
Expert
mpdeveloper_B  Offline OP
Expert

Joined: Feb 2006
Posts: 2,185
I have a small issue when using snd_play to play my audio files. When playing a sound it plays only in the right channel. The issue doesn't change whether the sound is stereo or mono. The functions I am using are more-or-less this:

sound subgun = <gunfire01.wav>;

snd_play(subgun, 25, 0);

snd play being in a function, of course. The only time I can get the sound remotely balanced is when I set the balance to -100, but it is random whether the sound plays correctly or not.

Last edited by mpdeveloper_B; 09/05/08 21:39.

- aka Manslayer101
Re: snd_play playing in one speaker [Re: mpdeveloper_B] #225794
09/05/08 23:56
09/05/08 23:56
Joined: Sep 2007
Posts: 761
Hrvatska (Croatia ), Slavonski...
cro_games Offline
User
cro_games  Offline
User

Joined: Sep 2007
Posts: 761
Hrvatska (Croatia ), Slavonski...
Is that problem with all sounds,or only with that one? It works fine to me..
You can get that problem if the balance in the OS "Volume Control" isn't set right..

Last edited by cro_games; 09/06/08 00:01.

Hello everyone my name is Ivan Mandic from "Frozen pixel studio". wink
-----------------------------------
Homepage: www.fpx-studio.com
e-mail: emu_hunter_1990@hotmail.com
(working on a game engine)
Re: snd_play playing in one speaker [Re: cro_games] #225807
09/06/08 01:52
09/06/08 01:52
Joined: Feb 2006
Posts: 2,185
mpdeveloper_B Offline OP
Expert
mpdeveloper_B  Offline OP
Expert

Joined: Feb 2006
Posts: 2,185
the sounds only happen that way in 3DGS and it happens to all sounds. I've checked my options from the Volume Control, and nothing's wrong. If I'm playing music or other video games I don't have the issue, and it happens on multiple PCs, all of the ones that we use to test on.


- aka Manslayer101
Re: snd_play playing in one speaker [Re: mpdeveloper_B] #225818
09/06/08 06:15
09/06/08 06:15
Joined: Sep 2007
Posts: 761
Hrvatska (Croatia ), Slavonski...
cro_games Offline
User
cro_games  Offline
User

Joined: Sep 2007
Posts: 761
Hrvatska (Croatia ), Slavonski...
That is than problem with 3DGS,did you try to reinstall it?


Hello everyone my name is Ivan Mandic from "Frozen pixel studio". wink
-----------------------------------
Homepage: www.fpx-studio.com
e-mail: emu_hunter_1990@hotmail.com
(working on a game engine)
Re: snd_play playing in one speaker [Re: cro_games] #226110
09/08/08 01:06
09/08/08 01:06
Joined: Feb 2006
Posts: 2,185
mpdeveloper_B Offline OP
Expert
mpdeveloper_B  Offline OP
Expert

Joined: Feb 2006
Posts: 2,185
I'm not so sure that's the issue, one of the pcs has had 3DGS reinstalled recently because of some problems before, and it still has issues.

I also don't think it's the sound card because each pc has a different card on it, I've had the issue on all the pcs I've tested it on. As I mentioned before, changing the balace of the sound does next to nothing. Only when the sound is turned to -100 does it work semi correctly, and even then it's random if it works at all.


- aka Manslayer101
Re: snd_play playing in one speaker [Re: mpdeveloper_B] #226131
09/08/08 06:36
09/08/08 06:36
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Hmm, I'm not sure how I can help here. I'm no PC sound card specialist. If you, as you say, have this problem with all your sounds and all your PCs, I hope that it's not a matter for an ear specialist wink.

Reinstalling 3DGS does not help with such issues. The first thing is checking what all your sounds might have in common - maybe you've created stereo sounds with volume on one channel only. Next, look for possible PC problems. Maybe you have the same driver or background program installed on your PCs that tampers with sound playing. Finally, check if your speakers are properly plugged in. That's all possibilities I can think of.

Re: snd_play playing in one speaker [Re: jcl] #226199
09/08/08 13:48
09/08/08 13:48
Joined: Feb 2006
Posts: 2,185
mpdeveloper_B Offline OP
Expert
mpdeveloper_B  Offline OP
Expert

Joined: Feb 2006
Posts: 2,185
An ear specialist, lol.

But like I mentioned jcl, it's only 3DGS, no other program does it, and all of my settings for the sound cards are correct.


- aka Manslayer101
Re: snd_play playing in one speaker [Re: mpdeveloper_B] #226245
09/08/08 17:09
09/08/08 17:09
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Yes, I understood that, but 3DGS has no own sound player. It's using DirectSound. And if DirectSound were playing only one channel, I guess someone had noticed this meanwhile and complained to Bill Gates. So there's probably not much we could do from the 3DGS side to help you. You need to fix this yourself, and find the reason first with some elimination method as I suggested above.

Re: snd_play playing in one speaker [Re: jcl] #226417
09/09/08 18:46
09/09/08 18:46
Joined: Feb 2006
Posts: 2,185
mpdeveloper_B Offline OP
Expert
mpdeveloper_B  Offline OP
Expert

Joined: Feb 2006
Posts: 2,185
thanks, jcl. Got a plugin.


- aka Manslayer101
Re: snd_play playing in one speaker [Re: mpdeveloper_B] #226424
09/09/08 19:01
09/09/08 19:01
Joined: Sep 2002
Posts: 8,177
Netherlands
PHeMoX Offline
Senior Expert
PHeMoX  Offline
Senior Expert

Joined: Sep 2002
Posts: 8,177
Netherlands
Originally Posted By: mpdeveloper_B
But like I mentioned jcl, it's only 3DGS, no other program does it, and all of my settings for the sound cards are correct.


Did you use a converter program to change your sound files? I had a problem with sounds turning into mono, left channel only by using a certain program to convert ogg files to wav and back.

Cheers


PHeMoX, Innervision Software (c) 1995-2008

For more info visit: Innervision Software
Page 1 of 2 1 2

Moderated by  old_bill, Tobias 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1