Jump to content


Photo

[SOLVED] Sound trouble


  • Please log in to reply
2 replies to this topic

#1 ddan49

ddan49

    GMC Member

  • New Member
  • 101 posts
  • Version:GM8

Posted 02 March 2012 - 01:14 PM

Hello forum members,

I tried posting to the Novice&Intermediate Q&A, but no one replied and I decided maybe it was an issue with the sound. I have a sound playing in the main menu screen. (Step >> sound_loop (Intro)). When you click "Play", you go into another room with a different sound object which has different sounds playing. Now here's my problem:

Let's say we're at the main menu. All I hear is a kind of ba. ba. *silence* ba. Kind of like abstract extremely short bursts of sound. I thought this was very strange. But then I accidentally clicked on the border to drag the window... and the music started playing! So I thought it might be the "when window loses focus pause" setting. So I unchecked it. Problem is worse! Now, even dragging the window doesn't help! In the play_game room, I have the following code:
Step >>
sound_play(choose(Intro, Music_2));

When I play in THIS room, I hear a repeated bababababa kind of thing, where the first sound is repeated in very short bursts one after another. Kind of like a "brrrrrrr" (does this help at all?). I have no idea what to do! In THAT room, before I untoggled the "unfocus window" global setting, if I clicked to another window and the game lost focus, the music would play normally. What is causing this? I don't think it's the code... but I'm not certain.

Thanks!

EDIT: Fixed. See last comment (my last comment)

Edited by ddan49, 05 March 2012 - 02:08 AM.

  • 0

#2 icymx

icymx

    Patrick Brett

  • GMC Member
  • 791 posts
  • Version:GM8

Posted 02 March 2012 - 09:04 PM

Have you tried using another sound?
Or maybe there is a problem with your speakers?
Or maybe you're right - there might be a problem with your code. Have you checked to see of you are playing the sound every step? If so, that could be the problem.
  • 0

#3 ddan49

ddan49

    GMC Member

  • New Member
  • 101 posts
  • Version:GM8

Posted 05 March 2012 - 02:07 AM

Fixed. All I had to do was change the event to "Create".
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users