Search the Community
Showing results for tags 'Web Audio API'.
Found 5 results
Small delay with the Web Audio API on touchstart eventHi guys, I'm struggling with this problem for a couple of days now. When I touch an element in my game I'm playing a sound effect. I want this effect to play instantly when i touch this element. The problem is there is a small delay (like 200ms) when i touch this element on my phone (Samsung Galaxy S4). I tried everything, SoundJS, Howler, custom Web Audio API code, but the problem persist. Im building my game with IntelXDK and Crosswalk. The problem only occurs on mobile, on desktop there is no delay. Could anyone help me with this problem or has some info? Or maybe could some other HTML-5 mobile developer give me some help with a good solution to use sounds in my game. Thanks!
Phaser and Web Audio APII'm not sure if this is the right place to post this but it does have to do with phaser and would help other trying to do this with phaser in the future. I'm trying to use the web audio api with phaser to create 3d audio in my game. But I'm stuck at setting the orientation of the audio nodes. I'm not sure how to go from the x, y and rotation values of a sprite to the directional vector and up vector needed to set the orientation. audioContext.listener.setOrientation(x, y, z, Ux, Uy, Uz);
Game-music ressource IndieGameMusic.comI would like to present a game-music ressource site I created 6 years ago: www.IndieGameMusic.com It is a free service for musicians to offer their music to game-developers. Game-developers has detailed search options available, shortening down the search time needed to find the music he needs. Music is available from many different artists, in many different filetypes, different prices etc. There's bound to be a track you like for your game. :-) One of the primary reasons for creating IndieGameMusic.com, was my personal preference regarding game-music: I feel the MOD and XM formats should be used when possible. And looking around, all I could find was mp3/ogg sound libraries. At the time, I also had a bunch of MIDI tracks I'd made, optimized for the JavaME platform for my fellow JavaME developers, so it made sense to me to make a site where all kinds of formats could be found. I'm posting here on this forum after stumbling across this post about using MOD/XM files for HTML5 games. I would love to see those formats used more. As a geeky musician, I'm much more into creating (relative) small XM files than big mp3 files. I also like trying to create the same track in many different formats, e.g. for game-developers who's targetting different platforms. Example track "Moments" available in many different formats. Example track "Moments" in a "building block" version. I hope you will find the site useful. Good luck with your games!
How to insert audio effects with externalNode.
danibishop posted a topic in Phaser 2Hello, everybody. I've been using Phaser for the last couple of weeks and I had almost no problem until I reached the point where I need to modify the sound graph on the web audio API implementation inside the engine. I saw Sound.externalNode but I have no idea of how to connect the nodes and how to access them through Sound or SoundManager. I just want to create delay and feedback nodes and connect them somehow using the Sound class. Is this possible? Is there any example? Is the node structure (the graph) of how SoundManager and Sound are connected anywhere in the docs? I can't find it Thanks a lot in advance and keep on with this awesome software!
[js13k] Timelapse, WebGL + Web Audio API
Gaëtan Renaudeau posted a topic in Game ShowcaseHi guys! Here is "Timelapse", my entry to js13kgames: http://js13kgames.com/entries/timelapse Also, I've wrote an article on the game development (game design, snippets of code, and more deep explanation of the audio part): http://greweb.me/2013/09/timelapse/ I'm open to your feedbacks Thanks, gre