Mp3 music files -1 reply

  • 1
  • 2

Please wait...

NAB622

EAT ME!

50 XP

8th October 2005

0 Uploads

6,921 Posts

0 Threads

#1 11 years ago

I am wondering something. I noticed that when I export an MP3 file from any program, there is a short bit of silence at the beginning. I looked it up online, and the reason is that MP3 players usually don't play the first 'frame' (.026 seconds) and so the program is inserting silence for me, so I don't miss anything.

Now this is a nifty little idea, but there's a major drawback - when I put the music into a map, it's VERY noticeable every time it loops. Does anybody know of a way to get rid of this little bit of silence?




Inyri Forge VIP Member

[Insert User Title Here]

55 XP

15th March 2005

0 Uploads

25,940 Posts

0 Threads

#2 11 years ago

Well if that's the way the file format is I don't think there's going to be a way around it unless you do something unconventional. It might be better, instead of trying to make the music loop, to simply fade in and fade out.




Omegasigma

Mapper and concept artist

50 XP

16th March 2006

0 Uploads

1,484 Posts

0 Threads

#3 11 years ago

the wave pad (downlaodable from the sticky) can edit out that silence as well




NAB622

EAT ME!

50 XP

8th October 2005

0 Uploads

6,921 Posts

0 Threads

#4 11 years ago

To Inyri:

Fade in and fade out......easier said than done. It's a really intense song. It was hard enough to edit (no cutting points!), and to fade it in and out on top of that...bleh. Good thought, and it seems like that will be the only option if I can't find a way to cut the silence.

To OmegaSigma:

Actually, I looked at the master sticky before posting. What I'm saying is, once the silence is edited out, when the mp3 is exported, it is put back in by default. I hate to use WAV files, since they are 17+ MB for each music track, and I am trying to use three of them.

It's funny, Raven didn't have any of this in their sound or music files. Wonder what program THEY use...




Mikouen VIP Member

What?

145,650 XP

4th September 2005

4 Uploads

11,732 Posts

2 Threads

#5 11 years ago

introfile and loopfile is probably what they used, hence why their music sounds like ambient BGM rather than some lame-ass CD full of that awful racket these 'ere kids today call "music"...


I don't know how, and I don't know why, but this is totally Sheep's fault.



NAB622

EAT ME!

50 XP

8th October 2005

0 Uploads

6,921 Posts

0 Threads

#6 11 years ago

Introfile and loopfile don't really help a lot if there's an unavoidable bit of silence in the beginning of every mp3 file.:(

Although, I looked through Raven's sounds, and I was mistaken! All the LOOPING sounds are .wav files, and all the NORMAL sounds are in mp3 format. I always wondered why the looping sounds were wav files.

So, I guess I kind of answered my own question after taking enough time to look around. I found a program that can cut most of that silence out...I'll use what it gives me, it's the best I can do without making the download over 80 MB. (It's already at 46+ MB....HORRIBLE.)

Edit: I used Audacity and WavePad to export an Ogg Vorbis file. I set the quality setting so that it's barely larger than the mp3 file. Naturally, it doesn't have the silence at the beginning, but when I load the map, I see this in the console:

WARNING: no fmt chunk in [ogg vorbis file name here]

I'm pretty sure quake can play ogg vorbis files, right?? What am I doing wrong?




Szico VII

We want FF7-2/remake!

50 XP

14th September 2003

0 Uploads

1,683 Posts

0 Threads

#7 11 years ago

I use Sony Sound Forge 8.0 for any sound editing I need, and it doesn't create this gap you speak of. I have been able to create many looping sounds for MP using this method, in mp3 format




NAB622

EAT ME!

50 XP

8th October 2005

0 Uploads

6,921 Posts

0 Threads

#8 11 years ago

Forgot to quote this in my last post:

Kouen;3984815that awful racket these 'ere kids today call "music"...[/quote]

I couldn't agree more! Most people don't WANT to know what I listen to, for reasons I will not explain. But I listen to "real" music. Of course, what I'm trying to put in this map is a nice orchestral score. :P

[quote=Szico VII;3985350]I use Sony Sound Forge 8.0

I smell bit torrent, lol! Or else you do a lot of online shopping.

I took the liberty of going through the source for blueice twilight, (I hope you don't mind, seeing as it was released :) ) and I opened up the file named: sounds/nomad/szico_nomadwhitenoise.mp3 I still saw the .026 seconds of silence in it at the beginning. Unless you weren't using Sound Forge at the time, or you didn't want it to loop...but I'm afraid all mp3s are going to have it.

Don't forget, I'm not talking about an easily noticed .26 seconds. I'm talking about a teensy weensy .026 seconds. It's just enough to ruin a music track's loop. If OGG files don't work, I'll just use an oddball program I found to trim up what I can.




lassev

Degenerate scripter

50 XP

21st June 2004

0 Uploads

847 Posts

0 Threads

#9 11 years ago

I never even noticed this whole thing. But now that I tested it in GoldWave, it seems to be the case, indeed. I don't think I've used anything but wavs as looped sounds, but then again, I haven't tried to seamlessly loop a music track so I can see where your problem lies.

Interesting stuff. Thanks for the heads-up.




NAB622

EAT ME!

50 XP

8th October 2005

0 Uploads

6,921 Posts

0 Threads

#10 11 years ago

Yeah, it's a real shame, too......as I mentioned above, does anyone know if an ogg vorbis works in JA, and is there anything special that needs to be done to use it? That seems like a nice solution...if it'll work. I know of a quake based frebee game that has ogg's in it.




  • 1
  • 2