Problems with sounds when making apk

When I tried using the method explained in the help file to generate an apk (with the exception of the crosswalk step, since it changed a bit from when the help file was written, but I did follow the crosswalk itself's instructions), I have some sound problems.


Meaning, se and me do not play. Didn't use bgs, but besides them bgm is the only kind of sound playing.


Besides that, in the title screen I need to touch the screen once before audio plays.


So I tried using the XDK.


Testing... didn't work. Read, it didn't load even the title screen audio.

Spoiler
screenshoterror.png



Help is appreciated.
When I tried using the method explained in the help file to generate an apk (with the exception of the crosswalk step, since it changed a bit from when the help file was written, but I did follow the crosswalk itself's instructions), I have some sound problems.


Meaning, se and me do not play. Didn't use bgs, but besides them bgm is the only kind of sound playing.


Besides that, in the title screen I need to touch the screen once before audio plays.


So I tried using the XDK.


Testing... didn't work. Read, it didn't load even the title screen audio.




Help is appreciated.



Webgl for windows format are .ogg


and for ios and android is .m4a


So send you file here to fast convert 


http://audio.online-convert.com/fr/convertir-en-m4a


And add the new files in the audio directory
The files are already in the directory, in m4a. I checked.
The files are already in the directory, in m4a. I checked.

can you send the consol.log error, 


To get it , you need to click on the bugs on  XDK .


check here to see how get console.log






I often had this error, and I am pretty sure these the missing file.


try to no use special character when you name you file.
I had a lot of problem because of my file name.
I'll check the console as soon as I can, but it is not actually missing file, it is there and playable.


And as you can see in the screenshot the filename is 2000_Field4.m4a. I changed nothing from the dlc but copying it to my game.


[EDIT] @Jonforum here you go:


consolesc.png
I'll check the console as soon as I can, but it is not actually missing file, it is there and playable.


And as you can see in the screenshot the filename is 2000_Field4.m4a. I changed nothing from the dlc but copying it to my game.


[EDIT] @Jonforum here you go:


View attachment 50707

hum strange, i have some suggestion.
-try install,  WebAudioCache.js plugin
or
-Test with new blank projet, with only this audio file run
If work = Is your one of your plugin make fail.
If dont work = your audio file are maybe bad encoded.

Try convert again with other convertor tool.
-Try other emulator than the Samsung.


2016-10-25.png



-Be shure to use a template, HTML5+cordova.



-If all no work, you can send me a private copy, and i will try my side to make work and understand this audio bug.
So, tried with a new project... didn't even add the file, just made a new project on both programs and tried running it.


Same error (just different file name).


Maybe I'm doing something wrong?


Anyway, there are still the sound problems when I make the apk through crosswalk too...


It would be one thing if it oly happened to me, but there were others with the same problem. The one with the crosswalk method I saw a solution using xdk, but the one about the title music there was no solution there either.
Try packaging it with Crosswalk 18.48.477.13. I had similar sound issue on newer crosswalks and falling back to 18 fixed it.
It worked! Thank you!
Try packaging it with Crosswalk 18.48.477.13. I had similar sound issue on newer crosswalks and falling back to 18 fixed it.

Can you explain to me, how to do the things you typed? the crosswalk 18.48.477.13? How to set it? Please I need some help here.
Re-opened!
Can you explain to me, how to do the things you typed? the crosswalk 18.48.477.13? How to set it? Please I need some help here.

@Evendy This depends on what way of packaging are you using.:

  1. If you are (like me) using crosswalk-pkg to package the apk, use --crosswalk argument: crosswalk-pkg --crosswalk=18.48.477.13
  2. If you are using older make_apk.py method, you should manually download older package from official crosswalk download site and use that.
  3. If you are using Intel XDK to package your game, crosswalk version should be selectable from GUI, in Build Settings.

Let me know how these solutions work out for you.
@Evendy This depends on what way of packaging are you using.:

  1. If you are (like me) using crosswalk-pkg to package the apk, use --crosswalk argument: crosswalk-pkg --crosswalk=18.48.477.13

  2. If you are using older make_apk.py method, you should manually download older package from official crosswalk download site and use that.

  3. If you are using Intel XDK to package your game, crosswalk version should be selectable from GUI, in Build Settings.

Let me know how these solutions work out for you.
i have the exact same problem with sound i'm using android studio how can i downgrade the version ?

Original thread: https://forums.rpgmakerweb.com/threads/problems-with-sounds-when-making-apk.70122/