summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurausukun <lord.uber1@gmail.com>2018-11-05 17:05:56 -0500
committerKurausukun <lord.uber1@gmail.com>2018-11-05 17:05:56 -0500
commit45f829864c4230107e7acf13f7b148aacf017b8c (patch)
treef7cf4ca0f13ad7be90921f6e5eb6e8e84aa6d21d
parentf2b7c1a6389d41aedec172b89c4bd841cef61da8 (diff)
Updated Reduce noise and improve sound quality of music (markdown)
-rw-r--r--Reduce-noise-and-improve-sound-quality-of-music.md25
1 files changed, 13 insertions, 12 deletions
diff --git a/Reduce-noise-and-improve-sound-quality-of-music.md b/Reduce-noise-and-improve-sound-quality-of-music.md
index 0628441..403a72c 100644
--- a/Reduce-noise-and-improve-sound-quality-of-music.md
+++ b/Reduce-noise-and-improve-sound-quality-of-music.md
@@ -23,19 +23,20 @@ BSS_CODE ALIGNED(4) u32 hq_buffer_ptr[size] = {0};
```
Here, `[size]` is the length of one frame of audio, which varies by the sample rate you use. Here is a list of the possible sample rates and their corresponding frame sizes:
```
-5734: 0x60
-7884: 0x84 (This mode is not aligned to the buffer length and is not supported by the mixer)
-10512: 0xB0
-13379: 0xE0 (This is the default engine rate; without any modifications, this is what the GBA Pokemon games use)
-15768: 0x108
-18157: 0x130
-21024: 0x160
-26758: 0x1C0
-31536: 0x210
-36314: 0x260
-40137: 0x2A0
-42048: 0x2C0
+5734Hz: 0x60
+7884Hz: 0x84 (This mode is not aligned to the buffer length and is not supported by the mixer)
+10512Hz: 0xB0
+13379Hz: 0xE0 (This is the default engine rate; without any modifications, this is what the GBA Pokemon games use)
+15768Hz: 0x108
+18157Hz: 0x130
+21024Hz: 0x160
+26758Hz: 0x1C0
+31536Hz: 0x210
+36314Hz: 0x260
+40137Hz: 0x2A0
+42048Hz: 0x2C0
```
+Just find the sample rate you're using and use its corresponding frame size as the size of the array. For example, for the default sample rate, the size of the array is 0xE0.
Next, remove the following from common_syms/m4a_2.txt:
```