Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
3 registered members (AndrewAMD, Grant, Neb), 908 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Sound Echoes.. I don't want echoes >< #219516
08/02/08 23:57
08/02/08 23:57
Joined: Apr 2008
Posts: 144
Germany | Niedersachsen (Lower...
Roxas Offline OP
Member
Roxas  Offline OP
Member

Joined: Apr 2008
Posts: 144
Germany | Niedersachsen (Lower...
Hey there,
I've got a problem oO.
Everytime I play a sound in my project it causes a huge echo. Sounds like my level was in a huge plane with mountains surrounding it x_x.
How do I deactivate those echoes?.
I play .wav files with the play_snd command.
I'm not using templates all that I'm using is the

#include <acknex.h>
#include <defaul.c>

thing at the top of my script. the rest is completely selfcoded.
Is there a way tu turn of the echoes?

greetz Roxas

Re: Sound Echoes.. I don't want echoes >< [Re: Roxas] #219524
08/03/08 01:28
08/03/08 01:28
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
we'll i've never had any problems with echoes so i don't know, lol.

to play a wav file you need 3 things...

1) A handle variable that allows you to control the sound (e.g, tuning, volume).
2) A SOUND* pointer to your wav file.
3) The snd_play function, to actually play your file.

Code:
SOUND* my_wav = "wav_file.wav";
var wav_handle;

wav_handle = snd_play(my_wav,100,0);


That should work.

Re: Sound Echoes.. I don't want echoes >< [Re: DJBMASTER] #219551
08/03/08 07:53
08/03/08 07:53
Joined: Apr 2008
Posts: 144
Germany | Niedersachsen (Lower...
Roxas Offline OP
Member
Roxas  Offline OP
Member

Joined: Apr 2008
Posts: 144
Germany | Niedersachsen (Lower...
Thanks for the reply DJBMASTER
I already figured out that I just made a silly mistake. But I wasn't aware of the point that 2 brackets "( )" cause so much trouble..

I defined the sound like that:

SOUND* my_wav = ("wav_file.wav");

that caused the echo .. Pretty simple. but also pretty stupid somehow xD
why are 2 brackets cause an echo ?_?

well but Thanks for the reply ^^ if I hadn't figured it out yet, your post would've been a great help.

Greetz Roxas

Re: Sound Echoes.. I don't want echoes >< [Re: Roxas] #219556
08/03/08 08:54
08/03/08 08:54
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
hmm thats strange, a simple syntax error shouldn't affect the way sounds are played. Adding brackets doesn't really affect the way the sound file is loaded...i've just tested it.

I wouldn't say this is a bug, but something specific to your setup.

Re: Sound Echoes.. I don't want echoes >< [Re: DJBMASTER] #219570
08/03/08 10:47
08/03/08 10:47
Joined: Apr 2008
Posts: 144
Germany | Niedersachsen (Lower...
Roxas Offline OP
Member
Roxas  Offline OP
Member

Joined: Apr 2008
Posts: 144
Germany | Niedersachsen (Lower...
Well maybe it's because of my sound settings. I use C-Media for my Surround System. and I configured it for my headset so that i can talk to others in teamspeak. maybe the sound engine from 3D gamestudio messed it up with my configures or i messed 3d gamestudio with it xD I dont know, but now it works fine thank you again.

greets Roxas

Last edited by Roxas; 08/03/08 10:49.

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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