Importing music

Tutorials and discussions about Mapping - Introduce your own ones!
Post Reply
User avatar
>@tack!<
Adept
Posts: 338
Joined: Sat Apr 17, 2010 4:51 pm
Personal rank: lol?

Importing music

Post by >@tack!< »

Hey what are the best properties of the wav (bit, Hz) for it then to save as .it and then import to ued.
I mostly did 16-bit 22050Hz Mono and that did the trick for me, but as i see in the audio menu in the advanced options of ued there is a dropdown for OutputRate, currently its 22050Hz but it can also be set higher, what does this do? is it safe to do higher Hz or bits or is that actually impossible? ( ignoring the filesize )
Myth
Inhuman
Posts: 988
Joined: Tue Feb 12, 2008 5:57 pm
Personal rank: Low Poly Freak

Re: Importing music

Post by Myth »

@OutputRate: It's safe to set the output to higher. I reccomend setting it to higher. Things will sound a bit more high quality but not really noticable.
As far as I know whitout taking a peek by default it's 16-bit and you can't change that.

@Importing music: For music this is an absolute must:

1. Normalise it and if you want play around a bit with auto-gain.
2. Save it as 8-bit
3. Sounds just like 16-bit and uses half the space.

With Hz you can go down until 16000 Hz and still get decent results.

Sounds must be mono. But music can be stereo. Having stereo waves instead of mono ones also doubles the needed space. Conversion from stereo to mono cuts space and memory usage in half.

So converting music to mono and saving it as 8-bit will make the filesize 4 times smaller.

Here is a table so that you get the idea of how much space is used.

Code: Select all

Everything here is mono. 
Stereo uses 2 times more space.

  bit |  Hz   | KB/sec | MB/min  
-----------------------|--------
      |8000Hz |   7.81 |  0.45
      |11025Hz|  10.76 |  0.63
      |16000Hz|  15.65 |  0.91
8-bit |22050Hz|  21.53 |  1.26
      |32000Hz|  31.25 |  1.83
      |44100Hz|  43.06 |  2.52
______|48000Hz|__46.87_|__2.74__
      |8000Hz |  15.65 |  0.91
      |11025Hz|  21.53 |  1.26
      |16000Hz|  31.25 |  1.83
16-bit|22050Hz|  43.06 |  2.52
      |32000Hz|  62.50 |  3.66
      |44100Hz|  86.13 |  5.04
      |48000Hz|  93.75 |  5.49
How much quality?

8000Hz Low quality ~ the bassline still sounds good :)
11025Hz Telephone quality ~ this and anything below usually sucks
16000Hz Med Quality ~ high frequencied are cut down.
22050Hz Radio Quality ~ small differences in quality
32000Hz Hi Quality ~ most people don't notice difference
44100Hz CD Quality ~ this is the standard for lossy compression like mp3 and ogg
48000Hz DVD and studio Quality ~ You don't need any more than this

Anything above is only used by proffesionals in their work. You can't hear ANY difference.

It's also worth noting that UMX files are fundamentally different than mainstream music files.
Your computer actually mixes together multiple wav files using frequency and amplitude modulation in realtime.

I recommend using anything in between 16000Hz and 22050Hz, 8 bit and mono.
User avatar
>@tack!<
Adept
Posts: 338
Joined: Sat Apr 17, 2010 4:51 pm
Personal rank: lol?

Re: Importing music

Post by >@tack!< »

thanksss, you couldnt explain it better :D
User avatar
FraGnBraG
Inhuman
Posts: 930
Joined: Sun Jun 13, 2010 5:13 pm
Personal rank: Good news everyone!
Location: Canada
Contact:

Re: Importing music

Post by FraGnBraG »

Well done Myth :)
Add a list of steps and you have a nice quick tutorial :thuup:
-=FraGnBraG Level Design=- ***UPDATED! even works on your phone!***
Post Reply