Audio issue (help me pretty pretty please)

motta

Veteran
Veteran
Joined
Nov 27, 2015
Messages
73
Reaction score
91
First Language
Portuguese
Primarily Uses
RMMV
So, im exporting my game to android, at first the m4a files wouldn't even play in the game, so i had to recodec them, but now they play but with a 10 seconds delay. Does anybody know what can i do to fix this issue? I still believe it is a codec version issue, what program can i use to recodec succefully? (I am using an online converter), thx guys.
 

Pinesal

Villager
Member
Joined
Sep 2, 2012
Messages
27
Reaction score
11
First Language
English
Primarily Uses
I think this is normal. The html5 engine is not well optimized I have heard.

I think a possible solution is to decrease the file size of each sound file.
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,713
First Language
English
Primarily Uses
RMVXA
[move]RPGMaker MV Deployment[/move]
 

motta

Veteran
Veteran
Joined
Nov 27, 2015
Messages
73
Reaction score
91
First Language
Portuguese
Primarily Uses
RMMV
I think this is normal. The html5 engine is not well optimized I have heard.

I think a possible solution is to decrease the file size of each sound file.
I Will try this, but isn't there another solution?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,425
Reaction score
7,710
First Language
German
Primarily Uses
RMMV
In HTML, any file needs to be completely downloaded before it can be used. That is the cause of the delay, and it depends in filesize and download speed.

There are only two ways to reduce that delay:
1) reduce file sie
2) use a preloader-plugin
The second option is not easy however as you need to tell the engine what is needed when and need to plan the memory use yourself.
 

motta

Veteran
Veteran
Joined
Nov 27, 2015
Messages
73
Reaction score
91
First Language
Portuguese
Primarily Uses
RMMV
In HTML, any file needs to be completely downloaded before it can be used. That is the cause of the delay, and it depends in filesize and download speed.

There are only two ways to reduce that delay:
1) reduce file sie
2) use a preloader-plugin
The second option is not easy however as you need to tell the engine what is needed when and need to plan the memory use yourself.
I just reduced the filesize of the tittle m4a from 5MB to 650kb, and the delay is still the same :(
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,425
Reaction score
7,710
First Language
German
Primarily Uses
RMMV
Then show us a screenshot of where and how you use the audio. It might be something different that causes the delay.
 

motta

Veteran
Veteran
Joined
Nov 27, 2015
Messages
73
Reaction score
91
First Language
Portuguese
Primarily Uses
RMMV
Is this what you mean?
The first one i use in map properties ( i have already tried running as a parallel process event, same thing happened)
The second one is in System database (for the tittle screen)
If i use the standart m4a files that came with the project in this exact same way, the delay is gone.
 

Attachments

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!
one bad plugin combo later and one of my followers is moonwalking off the screen on his own... I didn't even more yet on the new map lol.
time for a new avatar :)

Forum statistics

Threads
106,018
Messages
1,018,358
Members
137,803
Latest member
andrewcole
Top