Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Tue 02/12/2003 20:33:21

Title: Problem playing Music in my Game
Post by: on Tue 02/12/2003 20:33:21
 Help anyone. I have a small issue with playing music, it plays fine for 5 or so mins and then it seems to just transfrom into a horrible mess of out of tune random sounds. It always used to work and I can't seem to find a solution. My music are all Midis and saved as MUSIC(number). Does anyone know why or can help?

Thanks
Title: Re:Problem playing Music in my Game
Post by: taryuu on Wed 03/12/2003 04:12:42
what's the code that you're using?  maybe two songs are playing at the same time or something.
Title: Re:Problem playing Music in my Game
Post by: on Wed 03/12/2003 18:22:05
 I do think I can hear the original tryiing to play as well so that might be it, but it only happens to a few songs. Then everytime I enter a room it gets worse. I think that it starts when one song repeats itself after finishing. Im fiddiling with it. Im using Play music on room load.
Title: Re:Problem playing Music in my Game
Post by: on Sun 07/12/2003 18:38:57
Hallo people I'm a newbie

I read all the manual and faqs and I have the same problem, no sound at all, just an exit error message (failure to load sound 1). I still have it after changing the filename in every other way. I don't own a real soundblaster but I tought directx should work instead, what's the matter then?

Thanks for attention
Johnny
Title: Re:Problem playing Music in my Game
Post by: Ishmael on Sun 07/12/2003 20:44:34
To know the script or interaction code would greatly help us...
Title: Re:Problem playing Music in my Game
Post by: TerranRich on Mon 08/12/2003 15:13:47
Johnny, did you read the Beginners' FAQ?
Title: Re:Problem playing Music in my Game
Post by: on Mon 08/12/2003 15:47:49
Hi everyone,  thanks for answering!

I read everything so I found this thread ;)

I linked the sound to a frame in a view, but also if I link it in the room editor to be played at room load it doesn't work.

The file is music1.wav in the same directory of room1.

Is it a mistery?
Title: Re:Problem playing Music in my Game
Post by: Alynn on Mon 08/12/2003 16:07:41
It goes in your game directory, not the room folder...
Title: Re:Problem playing Music in my Game
Post by: Hollister Man on Mon 08/12/2003 23:43:46
If the music gets worse every time, it sounds like it is trying to play a new copy of it over the old one, without stopping the original.   ???  Try calling StopMusic in your Player Leaves Screen function, that might help.