Sound not looping? [solved]

This forum is meant for requesting technical support or reporting bugs.

Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support

Sound not looping? [solved]

Postby CBSection31 » Sat Jun 13, 2009 7:52 pm

Hi everyone,

One of my beta testers is reporting that the music in my game doesn't loop for him; it simply cuts out, even though I have "loop" checked.

For reference, I am using OGG files for music. Every frame in my game has the music set to play, so even if the music were to stop looping, it should re-start as soon as the user goes to a new frame...but it doesn't. The only way for the music to restart is if it's called via a hotspot click.

I've never encountered this problem before, and so I'm a bit lost. Any ideas? :?
CBSection31
Code Master
 
Posts: 564
Joined: Tue Jun 10, 2003 4:00 am

Postby Lyberodoggy » Sat Jun 13, 2009 10:50 pm

I can't think of anything... Does he have the latest media player (not that it really matters, but you never know with msoft)
User avatar
Lyberodoggy
Administrator
 
Posts: 2526
Joined: Sat Feb 17, 2007 3:31 pm
Location: Athens

Postby Mystery » Sat Jun 13, 2009 11:02 pm

And it does happen throughout the game or only at certain locations?
Did they use your installer of the codec or not?
User avatar
Mystery
Forum Admin and Games Page admin
 
Posts: 2990
Joined: Sat Feb 04, 2006 8:12 am
Location: Switzerland

Postby CBSection31 » Sun Jun 14, 2009 1:47 am

Yes, he has the latest version of Media Player. He's using Windows XP (I forgot to mention that in the first e-mail).

He used my installer for the OGG codec.

I tested this without using my custom audio encryption program, so that's no the problem, either.

It happens throughout the game, not only in certain locations.

Weird, huh? :shock:
CBSection31
Code Master
 
Posts: 564
Joined: Tue Jun 10, 2003 4:00 am

Postby Mystery » Sun Jun 14, 2009 2:00 am

Yep, very weird...
How about letting your beta tester de-install the codec, and download it from the official website and install it from there to see if it does make a difference.
User avatar
Mystery
Forum Admin and Games Page admin
 
Posts: 2990
Joined: Sat Feb 04, 2006 8:12 am
Location: Switzerland

Postby CBSection31 » Sun Jun 14, 2009 1:02 pm

I'll have him give that a try.
CBSection31
Code Master
 
Posts: 564
Joined: Tue Jun 10, 2003 4:00 am

Postby Mystery » Sun Jun 14, 2009 11:24 pm

I'm pretty sure that the cause is on your beta tester's end, and not in your game.
Just not easy to figure out what exactly it is - Windows Media Player problem, codec problem etc.?

Btw, I'm wondering how many beta testers you have - just to have an impression what that means if 1 beta tester experiences such a problem. How many don't have this problem with the looping sound?
User avatar
Mystery
Forum Admin and Games Page admin
 
Posts: 2990
Joined: Sat Feb 04, 2006 8:12 am
Location: Switzerland

Postby CBSection31 » Mon Jun 15, 2009 4:15 am

Currently, I have 12 testers. Another one reported this problem today, so I'm going to try to compare the two testers' computers to see what's causing the problem.
CBSection31
Code Master
 
Posts: 564
Joined: Tue Jun 10, 2003 4:00 am

Postby mercedes » Mon Jun 15, 2009 6:58 pm

CBS..any chance they have on board ..or do they have sound cards..? Maybe they just need to update Direct Sound..?

Do u have more than one playing at the same time..when the music loops..

Are they getting any errors when it stops or anything..
Or do they get errors at the very beginning of the game...


Edit** That was u that had problems with sound before with encryption..

You know what else too.., when the file goes to install after installing the game.. There are options there to encrypt and decrypt..some are default and some are ones u can add..I wonder if it's that..I see this when i install other codecs..Xvid for instance..

Perhaps i'ts not even a codec problem,..U didn't hit Fade or anything right..?:P
User avatar
mercedes
VIP
 
Posts: 2460
Joined: Sun Mar 09, 2008 10:43 pm
Location: Canada..~

Postby CBSection31 » Fri Jan 08, 2010 1:28 am

Sorry to bump up an old thread, but I wanted to report that I, too, am not getting the error where OGG files are not looping.

Can someone else test to see if they can get an OGG file to loop in Adventure Maker? I want to see if the problem is related to certain computers only, or if it's a problem with all OGG files.

Thanks! :)
CBSection31
Code Master
 
Posts: 564
Joined: Tue Jun 10, 2003 4:00 am

Postby Mystery » Fri Jan 08, 2010 7:28 pm

No problems here looping on .ogg file in AM 4.5.2 on Vista.
User avatar
Mystery
Forum Admin and Games Page admin
 
Posts: 2990
Joined: Sat Feb 04, 2006 8:12 am
Location: Switzerland

Postby CBSection31 » Fri Jan 08, 2010 9:00 pm

It's weird, because OGGs used to loop fine on my computer. Then I had a hard drive crash and had to re-install everything. Now, they don't loop.

This tells me that there's some codec somewhere that I didn't reinstall that plays OGGs instead of the traditional Vorbis OGG codec, because using Vorbis refuses to loop the files. Odd. :-\

BTW, Mystery--check your mail. :)
CBSection31
Code Master
 
Posts: 564
Joined: Tue Jun 10, 2003 4:00 am

Postby Mystery » Fri Jan 08, 2010 9:26 pm

When I play .ogg files, the ffdshow audio decoder "opens" in my system tray.
Don't know if this is of any help though.
User avatar
Mystery
Forum Admin and Games Page admin
 
Posts: 2990
Joined: Sat Feb 04, 2006 8:12 am
Location: Switzerland

Postby CBSection31 » Fri Jan 08, 2010 9:56 pm

Hmm, that's interesting... I never installed ffdshow on this new computer. I'll test it and report back! :)
CBSection31
Code Master
 
Posts: 564
Joined: Tue Jun 10, 2003 4:00 am

Postby Mystery » Fri Jan 08, 2010 10:23 pm

It is also part of the K-Lite Codec Pack (in case you have installed that).
http://codecguide.com/about_kl.htm
User avatar
Mystery
Forum Admin and Games Page admin
 
Posts: 2990
Joined: Sat Feb 04, 2006 8:12 am
Location: Switzerland

Postby CBSection31 » Sun Jan 10, 2010 11:57 pm

Okay, I just tested the audio by installing ffdshow, and the music will still not loop on my system. I'll try the K-Lite Codec pack next.
CBSection31
Code Master
 
Posts: 564
Joined: Tue Jun 10, 2003 4:00 am

Postby Mystery » Mon Jan 11, 2010 12:25 am

Hmmm, that's really strange...

Can you send me one of the files that doesn't loop, and also if you are using a script to start it, or the Audio tab?

And which version of Windows Media Player do you have?
User avatar
Mystery
Forum Admin and Games Page admin
 
Posts: 2990
Joined: Sat Feb 04, 2006 8:12 am
Location: Switzerland

Postby CBSection31 » Mon Jan 11, 2010 12:30 am

I'm using the audio tab, with Windows Media Player 11. What's weird is that the music used to loop on this exact same computer. It's not a media player issue, because I was using version 11 when it worked, too. It must have to do with whatever program is decoding OGG on my system.

Attached is the audio sample I've been using...it's not part of my game (it's a clip from Star Trek), but it's short, so testing the loop doesn't take as long!
Attachments
test.rar
(166.68 KiB) Downloaded 443 times
CBSection31
Code Master
 
Posts: 564
Joined: Tue Jun 10, 2003 4:00 am

Postby Mystery » Mon Jan 11, 2010 12:45 am

I have also version 11, and for me your test.ogg worked, too.

What happens if you open it in your Windows Media Player and select the option to loop? Does it loop there?
Also did you set Windows Media Player as default media player?
User avatar
Mystery
Forum Admin and Games Page admin
 
Posts: 2990
Joined: Sat Feb 04, 2006 8:12 am
Location: Switzerland

Postby CBSection31 » Mon Jan 11, 2010 12:50 am

Yes, it loops there, and yes Media Player is the default player. Odd.
CBSection31
Code Master
 
Posts: 564
Joined: Tue Jun 10, 2003 4:00 am

Postby Mystery » Mon Jan 11, 2010 12:56 am

And other file formats like .wav or .mp3 do loop?
User avatar
Mystery
Forum Admin and Games Page admin
 
Posts: 2990
Joined: Sat Feb 04, 2006 8:12 am
Location: Switzerland

Postby CBSection31 » Mon Jan 11, 2010 12:57 am

Yes. One thing I'm noticing is that ffdshow isn't opening in the tray for me. But when I go into config, it shows it as decoding OGG files. Something else that is interesting is that, if I uninstall the OGG codec, the files won't play. Shouldn't ffdshow still work?
CBSection31
Code Master
 
Posts: 564
Joined: Tue Jun 10, 2003 4:00 am

Postby Mystery » Mon Jan 11, 2010 1:01 am

For me the "ffdshow audio decoder" shows up in the tray.
If I open it from there by right clicking, it shows like this (note the gray line with the codec that is used - I made a red rectangle around it on the screenshot).

Image
User avatar
Mystery
Forum Admin and Games Page admin
 
Posts: 2990
Joined: Sat Feb 04, 2006 8:12 am
Location: Switzerland

Postby CBSection31 » Mon Jan 11, 2010 1:03 am

Same here. Do you have the OGG Vorbis codec installed separately on your system, too, or are you only using ffdshow?
CBSection31
Code Master
 
Posts: 564
Joined: Tue Jun 10, 2003 4:00 am

Postby Mystery » Mon Jan 11, 2010 1:08 am

No, not that I know of.
I only installed K-Lite Codec (not sure anymore if it was the Standard or the Full Version).


EDIT
Have you also checked the buffering while the sound plays? (direct sound audio renderer)
Last edited by Mystery on Mon Jan 11, 2010 1:11 am, edited 1 time in total.
User avatar
Mystery
Forum Admin and Games Page admin
 
Posts: 2990
Joined: Sat Feb 04, 2006 8:12 am
Location: Switzerland

Postby CBSection31 » Mon Jan 11, 2010 1:11 am

Can you link me to that? It's the one thing I haven't tested yet.
CBSection31
Code Master
 
Posts: 564
Joined: Tue Jun 10, 2003 4:00 am

Postby Mystery » Mon Jan 11, 2010 1:13 am

I've edited my post above.


Official website:
http://www.codecguide.com/download_kl.htm
User avatar
Mystery
Forum Admin and Games Page admin
 
Posts: 2990
Joined: Sat Feb 04, 2006 8:12 am
Location: Switzerland

Postby CBSection31 » Mon Jan 11, 2010 1:24 am

How do I check the buffering?

I think the problem is that ffdshow is not being used to decode the file...something else is, instead. I just can't figure out how to set this to ffdshow.
CBSection31
Code Master
 
Posts: 564
Joined: Tue Jun 10, 2003 4:00 am

Postby CBSection31 » Mon Jan 11, 2010 1:41 am

Also, I tried K-Lite...no luck. :(
CBSection31
Code Master
 
Posts: 564
Joined: Tue Jun 10, 2003 4:00 am

Postby Mystery » Mon Jan 11, 2010 1:48 am

When I play the test.ogg in Windows Media Player, then choose File -> Properties, it shows me that the ffdshow codec is used.
I don't think I had to configure it.

What do the properties show for you?
Attachments
decoder.jpg
decoder.jpg (29.53 KiB) Viewed 24587 times
User avatar
Mystery
Forum Admin and Games Page admin
 
Posts: 2990
Joined: Sat Feb 04, 2006 8:12 am
Location: Switzerland

Next

Return to Adventure Maker Technical Support and Bug Reports

Who is online

Users browsing this forum: No registered users and 0 guests