Custom audio issues in apk

Hello there dear comunity. So I have a problem. I wanted to make a little demo of a game so far for some friends and to make it easily accesable I made it an apk.
Well. Everything works. Characters. Scenes. Scripts. My only problem is all of my three custom songs don't play.
And before you ask. Yes I made them into both fitting formats and also everything works in the playtest and the exe. Only the apk seems to have that problem. I'd realy aprechiate help. Thank you.
The most common reason for such behaviour is if the filenames of the audios do not conform to networking rules. In that case the stupid overrides Microsoft placed into Windows would redirect the request with the wrong filenames to the correct files, but on any other OS without those overrides they would not load the files.

Can you give us the full filenames of those audios to check?
The most common reason for such behaviour is if the filenames of the audios do not conform to networking rules. In that case the stupid overrides Microsoft placed into Windows would redirect the request with the wrong filenames to the correct files, but on any other OS without those overrides they would not load the files.

Can you give us the full filenames of those audios to check?

I already suspected it'd be a problem with the filename but didn:t find a way to fix it.
The full name is "DarkCastle1" "DarkCastle2" and "WindHowling"
Thank you for helping
Those are not the full names, you're left out the extension. I hope you have both versions of these audios in your project, because that is the second most common cause for this error, you need two files each audio for deployment.

However the only thing there that might cause problems is the capitalization. Under networking rules, Abc.png and abc.png are two different files, only Windows loads the same file if there is a different capitalization.

Try to change to all lower cases for the filenames (you'll need to reassign them at every position you used them in the game after that) and then deploy again.
Those are not the full names, you're left out the extension. I hope you have both versions of these audios in your project, because that is the second most common cause for this error, you need two files each audio for deployment.

However the only thing there that might cause problems is the capitalization. Under networking rules, Abc.png and abc.png are two different files, only Windows loads the same file if there is a different capitalization.

Try to change to all lower cases for the filenames (you'll need to reassign them at every position you used them in the game after that) and then deploy again.

Ah yeah excuse me please that I left that out. The full original name was "DarkCastle1.m4a"
"DarkCastle1.ogg"
"DarkCastle2.m4a"
"DarkCastle2.ogg"
"HowlingWind.m4a"
"HowlingWind.ogg"

I tried again making everything lower cased yet it's the same problem. The only thing that changed is that this time an actual loading error appeared
"Loading Error
Failed to load:audio/bgm/darkcastle1.m4a"
I'm sorry if there ia an simple aolution. I'm rather new to the rpg maker software.
OK, that narrows it down to a single possibility I can think of.
The original names were correct as proven by the fact that you're now getting a load error.

Which means this was a codec problem from the beginning.

Background info:
M4A and OGG are not exactly formats, but "format families". That means that they can use different Codecs (short for coder/decoder) to encode their audio.
On a computer, codecs are software and constantly updated for better compression.
On a mobile, codecs are often placed on chip/hardware and can't be updated in most cases.

That results in the fact that an audio file that uses a more extreme and newer codec for compression might not work on mobile.

Use a program like audacity or whatever you're comfortable with to re-code the audio files with a more standard compression codec and they should work (although they'll probably again a few bytes in size due to that)
Thank you. I already was in the middle of trying that when you wrote me. Rn I have a problem with anotjer program outside of rpg maker wich I have to hanfle first so I will probably post later if it worjed or not.
Thank you a lot for your help^^
Last update:
It worjed after decreasing the quality and with that the size of the audio files. Thank you again for your help.

Original thread: https://forums.rpgmakerweb.com/threads/custom-audio-issues-in-apk.89363/