aliens

Author Topic: Add Sound Test in Options  (Read 4404 times)

Offline Mr. Quiet

  • Commander
  • *****
  • Posts: 523
  • Likes: Quiet things. Dislikes: Loud things.
    • View Profile
    • =Open_X_Com= Mods
Add Sound Test in Options
« on: April 10, 2014, 12:43:58 am »
Can we have a Sound Test option, so we can test Music and sound effects within the game?
My classic GBA games have a sound test option to play your favorite tracks ;) that was neat. I guess if it's not that necessary, you could make this an unlockable after beating the game once?

I'll add my problem here too:

I'm testing a music track I just made for Terror-Site Briefings, but it plays in super slow motion instead of normal speed.

The sound file below. I had to keep shrinking the damn file because your forum doesn't like the size. >_< >_< but it's up now.

Change the file type from .mpg to .mp3

Thanks everyone!

Edit: The file I uploaded did work. It might have to do with the quality, because this one is 96kps, while my original file was 48k, then 44k, both being super slow to play. This is the first time it has happened too :( Thanks all.
« Last Edit: April 10, 2014, 01:58:24 am by Mr. Quiet »

Offline Warboy1982

  • Administrator
  • Commander
  • *****
  • Posts: 2333
  • Developer
    • View Profile
Re: Add Sound Test in Options
« Reply #1 on: April 10, 2014, 06:51:20 am »
the sample rate is most likely the cause of the problem. iirc 11025 works best, but this should probably be looked into

Offline SupSuper

  • Lazy Developer
  • Administrator
  • Commander
  • *****
  • Posts: 2162
    • View Profile
Re: Add Sound Test in Options
« Reply #2 on: April 10, 2014, 02:50:55 pm »
SDL_Mixer should automatically convert between differing rates, but I'll have a look.

As for a sound test, hmmm... that would fill out the Audio screen nicely. ;)

Offline kkmic

  • Commander
  • *****
  • Posts: 582
  • Undefined
    • View Profile
Re: Add Sound Test in Options
« Reply #3 on: April 10, 2014, 05:42:29 pm »
What would the test sound be?

Can we use the Wilhelm scream? If not, I propose a "Meow!"  :p

Edit: Found one right here: https://archive.org/details/WilhelmScreamSample
« Last Edit: April 10, 2014, 05:47:07 pm by kkmic »

Offline Warboy1982

  • Administrator
  • Commander
  • *****
  • Posts: 2333
  • Developer
    • View Profile
Re: Add Sound Test in Options
« Reply #4 on: April 10, 2014, 08:54:42 pm »
that's not quite what he's suggesting. he means a facility to play all the available sound effects and music tracks loaded into the game to verify they work, not a random cat sound effect to test your settings.

Offline kkmic

  • Commander
  • *****
  • Posts: 582
  • Undefined
    • View Profile
Re: Add Sound Test in Options
« Reply #5 on: April 11, 2014, 02:35:43 pm »
Oh well...  :'(