Author Topic: Music pauses before loop  (Read 2146 times)

Hectorpaddy

  • Spike Dodger
  • Posts: 135
  • Do you even Hexa Corner?
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 29.0.1547.76 Chrome 29.0.1547.76
    • View Profile
  • Playstyle: Gamepad
Music pauses before loop
« on: September 29, 2013, 04:39:02 PM »
So, Para was playing my game and there was a weird bug.
Before the music loops it stays silent for a few minutes, when Hiddow played an earlier version this didn't happen. I'm using the same code as always being
if !sound_isplaying(track01) { sound_loop(track01); }
I doubt it is to the code because if I just play the sound from the game maker file it makes this pause as well.
There is no emptiness at the end of the sound file or something. I also tried changing up the sound file and making a new soundfile in game maker, both didn't help. I also tried exporting the soundfile from gamemaker.

I hope you can help me.
Hector, the dropping knowledge.

Sephalos

  • Spike Dodger
  • Posts: 228
  • OS:
  • Windows Vista/Server 2008 Windows Vista/Server 2008
  • Browser:
  • Chrome 29.0.1547.76 Chrome 29.0.1547.76
    • View Profile
  • Playstyle: Gamepad
Re: Music pauses before loop
« Reply #1 on: September 29, 2013, 09:18:17 PM »
I saw that and I have no idea what could cause that. Can you test it with another song maybe to see if that other song does the same thing?

Try some stuff out and try to isolate where the problem is coming from.

Hectorpaddy

  • Spike Dodger
  • Posts: 135
  • Do you even Hexa Corner?
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 29.0.1547.76 Chrome 29.0.1547.76
    • View Profile
  • Playstyle: Gamepad
Re: Music pauses before loop
« Reply #2 on: September 29, 2013, 10:27:59 PM »
I saw that and I have no idea what could cause that. Can you test it with another song maybe to see if that other song does the same thing?

Try some stuff out and try to isolate where the problem is coming from.
Tried, didn't work.
Hector, the dropping knowledge.

Olivebates

  • Head
  • Alumi
  • Cherry Eater
  • Posts: 89
  • Oh god, why did I make this?
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 29.0.1547.76 Chrome 29.0.1547.76
    • View Profile
    • Tumblr News Feed
  • Playstyle: Keyboard
Re: Music pauses before loop
« Reply #3 on: September 30, 2013, 04:20:15 AM »
Do you have a legit copy of Game Maker? In which case, you could contact customer support about it. It sounds like it is most likely a bug in the matrix of your version of Game Maker.
When you don't know the rules, anything's possible.

Zero-G

  • [+--oo]
  • Alumi
  • Spike Dodger
  • Administrator
  • Posts: 167
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 29.0.1547.76 Chrome 29.0.1547.76
    • View Profile
    • My twitch channel
Re: Music pauses before loop
« Reply #4 on: September 30, 2013, 05:47:05 AM »
so i was playing your game today and i also got the same problem like para.it stopped after the ending(sometimes earlier around 1:50) and it didnt wanted to restart .only on random times.so i opened your game put object: playMusic in every room and deleted  { } < these in "if !sound_isplaying(track01) { sound_loop(track01); }"<irrelevant

now the music still dont loops but it restarts after pressing r.but that is still gay so i tested a 54 second song and that looped and did what it should.

not really helpful post but better then nothing.its really weird since para and me got that problem like almost never .

last edit. i downloaded the exact same song with the same bitrate (128kBit/s) and it works. maybe the song broke while compiling or some shit.
« Last Edit: September 30, 2013, 07:02:25 AM by Zero-G »

Hectorpaddy

  • Spike Dodger
  • Posts: 135
  • Do you even Hexa Corner?
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 29.0.1547.76 Chrome 29.0.1547.76
    • View Profile
  • Playstyle: Gamepad
Re: Music pauses before loop
« Reply #5 on: September 30, 2013, 08:28:30 AM »
Alright it's fixed, thank you all for your help. <3
Hector, the dropping knowledge.

Olivebates

  • Head
  • Alumi
  • Cherry Eater
  • Posts: 89
  • Oh god, why did I make this?
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 30.0.1599.69 Chrome 30.0.1599.69
    • View Profile
    • Tumblr News Feed
  • Playstyle: Keyboard
Re: Music pauses before loop
« Reply #6 on: October 11, 2013, 03:10:33 PM »
No probs!


Locked.
When you don't know the rules, anything's possible.