Skip to content

Commit

Permalink
Use WAV
Browse files Browse the repository at this point in the history
  • Loading branch information
NightScript370 authored and lifehackerhansol committed Apr 28, 2023
1 parent 7b2be77 commit b8c51e4
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions pages/_en-US/twilightmenu/custom-dsi-3ds-sfx.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Unlike sfx.bin, there is no size limit to `bgm.pcm.raw`.
The simplest way to convert music for use in TWiLight Menu++ is to run this [ffmpeg](https://ffmpeg.org) command in a terminal:

```bash
ffmpeg -i [input file] -f s16le -acodec pcm_s16le -ac 1 -ar 16k bgm.pcm.raw
ffmpeg -i [input file] -acodec adpcm_ima_wav bgm.wav
```

Replace `[input file]` with the name of the file you want to convert. You can usually do this by simply dragging the file onto the terminal window with the cursor in the correct location.
Expand All @@ -60,11 +60,9 @@ To convert the audio:
1. Change the `Project Rate (Hz)` in the bottom left to `16000`

To export in the correct format:
1. Select `File` > `Export` > `Export Audio...`
1. Set `File Type` to `Other uncompressed files`
1. Set `Header` to `RAW (header-less)`
1. Set `Encoding` to `Signed 16-bit PCM`
1. Set the output name to `bgm.pcm.raw` and click `Save`
1. Select `File` > `Export` > `Export as WAV`
1. Set `Encoding` to `IMA ADPCM`
1. Set the output name to `bgm.wav` and click `Save`
1. Click `OK` to the metadata editing

---
Expand All @@ -73,4 +71,4 @@ Once both of these files are ready to be used, place them in the `sound` subfold
- `sd:/_nds/TWiLightMenu/dsimenu/themes/[theme name]/sound/sfx.bin`
- `sd:/_nds/TWiLightMenu/dsimenu/themes/[theme name]/sound/bgm.pcm.raw`

Be sure to now set the `DSi/3DS Theme Music` option in TWiLight Menu++ settings to "Theme" for the custom sounds to play.
Be sure to now set the `DSi/3DS Theme Music` option in TWiLight Menu++ settings to "Theme" for the custom sounds to play.

0 comments on commit b8c51e4

Please sign in to comment.