shohan4556 Posted November 17, 2015 Share Posted November 17, 2015 I have created a phaser project in intel xdk but when I run my game in emulator the sound wont play my sound files format is mp3 and ogg , frequency 44100. but when I run my game on chrome or any browser the sounds play flawlessly then why not xdk emulator ? Link to comment Share on other sites More sharing options...
stupot Posted November 17, 2015 Share Posted November 17, 2015 Try an m4a format sound Link to comment Share on other sites More sharing options...
vohogames Posted November 17, 2015 Share Posted November 17, 2015 I think I have experienced the same problem. if you are using Crosswalk, dont use version 8-10, it has some problems. try to change crosswalk version. Link to comment Share on other sites More sharing options...
shohan4556 Posted November 17, 2015 Author Share Posted November 17, 2015 I think I have experienced the same problem. if you are using Crosswalk, dont use version 8-10, it has some problems. try to change crosswalk version. I think I have experienced the same problem. if you are using Crosswalk, dont use version 8-10, it has some problems. try to change crosswalk version. I dont use crosswalk It build apk with large size. I have used here cordova Link to comment Share on other sites More sharing options...
shohan4556 Posted November 17, 2015 Author Share Posted November 17, 2015 Try an m4a format sound I did this and not working. Link to comment Share on other sites More sharing options...
shohan4556 Posted November 18, 2015 Author Share Posted November 18, 2015 I have solved this problem it was frequency I just changed the frequency to 8000 and it works. shohan4556 and vohogames 2 Link to comment Share on other sites More sharing options...
Noid Posted November 18, 2015 Share Posted November 18, 2015 The emulator in IntelXDK doesn't play mp3s. If it doesn't properly inform what is capable of playing, phaser will just pick the first option. This happens with Opera to. Just put the ogg files first in the array. Going from 44100 to 8000 will noticeable degrade sound quality. vohogames 1 Link to comment Share on other sites More sharing options...
dextreza Posted November 21, 2015 Share Posted November 21, 2015 When i create an app for android with intelXDK, the sounds with phaser (2.4.4) don´t works. i have solved the problem using the Cordova Native Audio with the latest cordova cli version (5.1.1) in the intelXDK 2727) but only works for android 4 or aboveWarning: CLI 5.1.1 requires a minimum Android API level of 14. Your project was set to an Android API level of '10' which is not supported by this version of Cordova. NOTE: The minimum Android API has been set to '14'. This means your application can only be installed on Android 4.0 and higher devices! If you need to build a version of your application that can be installed on earlier devices, use a previous version of the CLI.Other thing i have realize is that this plugin is not able to play sounds as fast as Phaser , for example, for shotting sounds. Try this website to test: http://ngcordova.com/docs/plugins/nativeAudio/ my app use agular as well. sorry for my english, soy español , viva la Tortilla de patatas shohan4556 1 Link to comment Share on other sites More sharing options...
shohan4556 Posted November 23, 2015 Author Share Posted November 23, 2015 When i create an app for android with intelXDK, the sounds with phaser (2.4.4) don´t works. i have solved the problem using the Cordova Native Audio with the latest cordova cli version (5.1.1) in the intelXDK 2727) but only works for android 4 or aboveWarning: CLI 5.1.1 requires a minimum Android API level of 14. Your project was set to an Android API level of '10' which is not supported by this version of Cordova. NOTE: The minimum Android API has been set to '14'. This means your application can only be installed on Android 4.0 and higher devices! If you need to build a version of your application that can be installed on earlier devices, use a previous version of the CLI.Other thing i have realize is that this plugin is not able to play sounds as fast as Phaser , for example, for shotting sounds. Try this website to test: http://ngcordova.com/docs/plugins/nativeAudio/ my app use agular as well. sorry for my english, soy español , viva la Tortilla de patatas Thanks for your reply, Livin' La Vida Loca dextreza 1 Link to comment Share on other sites More sharing options...
Recommended Posts