oops i did it again

This commit is contained in:
minjaesong
2023-01-22 14:17:15 +09:00
parent 39a781ff71
commit 9023f74cb5
2 changed files with 3 additions and 1 deletions

View File

@@ -429,6 +429,8 @@ Packet Types -
Add 128 to the resulting number if the frame has a padding bit (should not happen on 32kHz sampling rate) Add 128 to the resulting number if the frame has a padding bit (should not happen on 32kHz sampling rate)
Special value of 255 may indicate some errors Special value of 255 may indicate some errors
To encode an audio to compliant format, use ffmpeg: ffmpeg -i <your_music> -acodec libtwolame -b:a <rate>k -ar 32000 <output.mp2>
GLOBAL TYPE 0 Packet - GLOBAL TYPE 0 Packet -
uint32 SIZE OF FRAMEDATA uint32 SIZE OF FRAMEDATA
* FRAMEDATA COMPRESSED IN GZIP * FRAMEDATA COMPRESSED IN GZIP

View File

@@ -120,7 +120,7 @@ class AudioMenu(parent: VMEmuExecutable, x: Int, y: Int, w: Int, h: Int) : EmuMe
val smpRH = (smpR * envelopeHalfHeight).roundToInt() // -50..50 val smpRH = (smpR * envelopeHalfHeight).roundToInt() // -50..50
batch.fillRect(x + s, y + 27, 1, smpLH) batch.fillRect(x + s, y + 27, 1, smpLH)
batch.fillRect(x + s, y + 81, 1, smpLH) batch.fillRect(x + s, y + 81, 1, smpRH)
} }
} }
else { else {