Importing Custom Music

From Zenith
Revision as of 06:46, 24 February 2022 by Joey0980 (talk | contribs)
Jump to navigation Jump to search

This guide will teach you everything you may need for importing custom music for your mod.

Prerequisites

Preparing our audio file

First, open your audio file in Audacity. It is preferred to use a FLAC, mp3, or a wav file.


Set the Project rate to 32000 Hz (This can be found in the bottom left corner of the window)


Now we are going to apply the normalize effect. This will make the audio as loud as possible (To match the game's audio) without causing distortions to the music.

In the window that opens, you can leave the settings as default and press OK.

Getting Loop points

In this section we will be finding the loop points so that our music will be able to repeat while playing. (You can skip this section if the track you are importing doesn't require a loop)

First, set the playback rate to measure in samples. This will be helpful later.

Now we are going to find two similar groups that we can use in our audio file.











To create a loop, right click the timeline and select "Loop On/Off". When you do this you'll note the looping region in the timeline.




Now you can drag on the timeline to create loop points.

When you find your loop points, you can press play to preview them. To get a perfect loop you should not be able to tell that the song looped, and it should sound as if the song just continued playing.

Now, we are going to select our looping area in our audio.

After you have done that, keep note of the selection sample size. We will be needing this later when we import our audio.

Exporting our file

You will need to export as a WAV file.

Importing into citric