I Wanna Be The Forums!

Please login or register.

Login with username, password and session length
Advanced search  

News:

Chat button has been eaten. Click here to join in the idling fun!

Pages: [1] 2

Author Topic: The problem of big music files  (Read 5839 times)

LudorExperiens

  • Full Member
  • ***
  • Posts: 139
  • I didn't get raped in IWBTB
    • View Profile
The problem of big music files
« on: January 23, 2011, 01:51:15 pm »

I have used the search function and didn't find a thread which helped me to solve the problem.

I'm using GameMaker8 and my fangame is 64,000 KB big. This is because of the music files in wav. If I convert them into mp3 and include them there is a problem with the loop-function. Whenever the music is played once there is a short break (2-3 seconds). Then the music starts again and stops at the end (again for 2-3 seconds). With wav-files the problem doesn't occur. Does anybody know how to solve the problem?
Logged
After 2 years the next version is out: http://iwbtg.kayin.moe/forums/index.php?topic=10827.0

Fred-eye-inc

  • Guest
Re: The problem of big music files
« Reply #1 on: January 23, 2011, 01:52:35 pm »

External Music loading.
Logged

El Barto

  • Newbie
  • *
  • Posts: 43
  • Getting owned by cherries and spikes.
    • View Profile
Logged

Venser

  • Gloved Modulator
  • Godmin
  • The Guy
  • *****
  • Posts: 3331
    • View Profile
Re: The problem of big music files
« Reply #3 on: January 23, 2011, 03:39:26 pm »

I've heard that ogg files are the way to go.
Logged
Ybbald: I read that as "deadly venser"
Ybbald: and I was like
Ybbald: "when is venser NOT deadly?"

Arkhanno: We'll have to out-source to the US. I know of a great doctor with lifeguard training that can do anything with a 90% success rate

Evan20k: Sherlock Holmes didn't have 5 arms and 6 penises and lifeguard training

Fred-eye-inc

  • Guest
Re: The problem of big music files
« Reply #4 on: January 23, 2011, 03:53:34 pm »

If you want to include the file sin the game ogg are the smallest fielsize before the quality turns really shitty. However if you want no added file size to the game then external music loading is also good.
Logged

Ellipsis

  • Ellipsis
  • The Guy
  • *****
  • Posts: 1907
    • View Profile
    • If Not Equal Limited
Re: The problem of big music files
« Reply #5 on: January 23, 2011, 04:21:13 pm »

You get the lag of the music starting because it has to be decompressed or something I think?
Anyway, I think you can get an add-on for Gamemaker to convert mp3 to WAV, you can use this to make the music you need a wav, then use that, this will remove the pause when it loops. Of course external music loading is most likely easier if it works, so try that first.
Logged

Storyyeller

  • The Guy
  • *****
  • Posts: 1297
    • View Profile
Re: The problem of big music files
« Reply #6 on: January 23, 2011, 05:42:20 pm »

I use oggs for all my music and sound effects and I haven't noticed any lag or pauses.
Logged

GameRoom

  • Newbie
  • *
  • Posts: 21
  • Feed the Mustache Man.
    • View Profile
Re: The problem of big music files
« Reply #7 on: January 23, 2011, 10:45:32 pm »

Yeah, ogg.
Logged
OHMAIGOD GAMEROOM POSTED!!!!!!!1111!!!1!!

Fred-eye-inc

  • Guest
Re: The problem of big music files
« Reply #8 on: January 24, 2011, 05:03:05 am »

Dint you load majority if your resources externally storyyeller?
Logged

Storyyeller

  • The Guy
  • *****
  • Posts: 1297
    • View Profile
Re: The problem of big music files
« Reply #9 on: January 24, 2011, 09:42:31 am »

All my files are external. I'm not sure how that makes a difference though except that the game loads a lot faster at the start.
Logged

Fred-eye-inc

  • Guest
Re: The problem of big music files
« Reply #10 on: January 24, 2011, 10:08:11 am »

Ah yes. So external music loading is the way forward for you, LudorPrimus. Ogg's are always a good file type to have , small but the quality is still good.
Logged

LudorExperiens

  • Full Member
  • ***
  • Posts: 139
  • I didn't get raped in IWBTB
    • View Profile
Re: The problem of big music files
« Reply #11 on: January 24, 2011, 10:21:08 am »

There seem to be the same problem with external loading.

You get the lag of the music starting because it has to be decompressed or something I think?
Anyway, I think you can get an add-on for Gamemaker to convert mp3 to WAV, you can use this to make the music you need a wav, then use that, this will remove the pause when it loops. Of course external music loading is most likely easier if it works, so try that first.

I found an interesting dll: http://gmc.yoyogames.com/index.php?showtopic=333705
I'll try this.
Logged
After 2 years the next version is out: http://iwbtg.kayin.moe/forums/index.php?topic=10827.0

LudorExperiens

  • Full Member
  • ***
  • Posts: 139
  • I didn't get raped in IWBTB
    • View Profile
Re: The problem of big music files
« Reply #12 on: January 26, 2011, 04:28:23 pm »

Ladies and Gentlemen...

I tested the dll with mp3 files and there was the same break as before. And ogg files didn't sound that good. So I decided to do external loading with wav files (to DERF. and the rest: In the end you were right but I thought you meant loading mp3 files external)

My new alpha size (as zip): 34,000 KB  instead of 69,000 KB

Thank you very much!
Logged
After 2 years the next version is out: http://iwbtg.kayin.moe/forums/index.php?topic=10827.0

Salamander

  • Full Member
  • ***
  • Posts: 244
    • View Profile
Re: The problem of big music files
« Reply #13 on: January 27, 2011, 03:05:25 am »

And ogg files didn't sound that good.
Are you sure the program you used to convert them wasn't a piece of crap?
Logged
<Kayin> You know, I always said necroing is okay, but the other admins ignore me. :(

LudorExperiens

  • Full Member
  • ***
  • Posts: 139
  • I didn't get raped in IWBTB
    • View Profile
Re: The problem of big music files
« Reply #14 on: January 27, 2011, 08:01:53 am »

Which program do you suggest?
Logged
After 2 years the next version is out: http://iwbtg.kayin.moe/forums/index.php?topic=10827.0
Pages: [1] 2