Comments (11)
The latest NEXT version of SoundJS has a WebAudio plugin that can be used for iOS. We are working on full support, and hope to have something released soon.
from soundjs.
wow cool!
Thanks for replying!
from soundjs.
Using the NEXT version of SoundJS and the WebAudioPlugin in the extras folder, I could not get sound to play on iOS 6. After registering the plugin, checkPlugin() returns false. Is there any trick to getting it to work??
createjs.SoundJS.registerPlugins([WebAudioPlugin, createjs.HTMLAudioPlugin]);
console.log(createjs.SoundJS.checkPlugin(true)) // false :(
from soundjs.
I second onedrop's comment. I'm not able to get this working on iOS using SoundJS NEXT and the WebAudioPlugin.
Lanny- would it be possible for you guys to post a zip, or even an online example of this, working on iOS?
thanks!
from soundjs.
Hi guys, thanks for letting us know about the troubles you ran into. It turns out that iOS changed how it defined webkitAudioContext and audio on window recently, so the checks for if (typeof webkitAudioContext == "function") were failing which left context undefined. We altered the checks so this now works. In the repo, check out examples/SoundGrid_WebAudio.html for a working example.
One note for working with Web Audio on iOS, you need to start your sounds inside of a user initiated event (typically a button press). Read this if you'd like to know more. Note this also suggests only your first sound needs to be inside of a user initiated event.
from soundjs.
Cool, the new WebAudioPlugin.js is working for me in iOS6 now. Thanks for the quick fix!
from soundjs.
I confess my noobness with createJS, but I have got some animated navigation happening, that can be seen here: http://zenzenzo.moodra.com
I have been using timeline audio events in flash cs6 exporting via toolkit for createJS. They work fine in Chrome, but the whole point was to get it running on iOS. Can someone please explain to me how to make use of WebAudioPlugin.js? where do I put the call?
from soundjs.
Full SoundJS support for iOS 6 is now available in the NEXT version available on github. Read this discussion for details.
from soundjs.
Hi Ojay,
thanks for the update.
I just tried it on a project I am working on create with Toolkit for
createJS.
When I swap 0.3.0 for NEXT and test it in chrome, the animation becomes
glitchy and sound stops working.
Here is the navigation with soundjs-NEXT.min.js (running glitchy with no
sound for me on chrome)
http://zenzenzo.moodra.com/nav-with-NEXT.html
Here is the navigation with soundjs-0.3.0.min.js (running fine, sounds good
at least on chrome for me)
http://zenzenzo.moodra.com/nav.html
I had this problem with the version you posted last week too. Perhaps the
sound code calls generated by toolkit are mismatched with the syntax for
your NEXT version?
My sounds are very small mp3 files.
On 21 January 2013 12:27, OJay [email protected] wrote:
Full SoundJS support for iOS 6 is now available in the NEXT version
available on github https://github.com/CreateJS/SoundJS/. Read this
discussionhttp://community.createjs.com/discussions/soundjs/85-ios-6-full-support-available-in-soundjsnextfor details.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/23#issuecomment-12482567.
Regards,
Rufus Lane,
www.moodra.com
Phone: +61 7 5406 1311
Mobile: +61 4 1784 4739
from soundjs.
Studing my animation, I see that all objects disappear on the exact frame
that a sound should be triggered, resulting in a kind of blinking effect on
each such frame.
On 21 January 2013 12:27, OJay [email protected] wrote:
Full SoundJS support for iOS 6 is now available in the NEXT version
available on github https://github.com/CreateJS/SoundJS/. Read this
discussionhttp://community.createjs.com/discussions/soundjs/85-ios-6-full-support-available-in-soundjsnextfor details.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/23#issuecomment-12482567.
Regards,
Rufus Lane,
www.moodra.com
Phone: +61 7 5406 1311
Mobile: +61 4 1784 4739
from soundjs.
Hi Rufus, no need to post your question in more than one place on the SoundJS forums, I see them all.=) I've answered your question in the other thread.
from soundjs.
Related Issues (20)
- i get this error: Uncaught (in promise) DOMException: play() failed because the user didn't interact with the document first. https://goo.gl/xX8pDD HOT 2
- I use Android Mobile , when i do createjs.Sound.registerSounds(sounds, audioPath); i get error
- How to ignore Iphone mute switch HOT 7
- sometime when IPhone safari minimize return website is mute
- Command not found.
- How to loop sound seamlessly/without gap?
- Audio Play Error (OnMediaSinkAudioError)
- SoundJS 2.0 uses `loops` instead of `loop`
- Broken Link on CreateJS website
- get current sound playing Time while playing sound
- no possiblity to pauze music with the new button in chrome 'to change the music from tab to tab'
- Play a local music file with changed frequency?
- Safari Never Auto-Play setting causes long delay ending in `fileerror` with no information. HOT 20
- SoundJS Demos not working in iOS 14
- Sound randomly stopping after minimizing/maximizing iPadOS 14.4.2 HOT 2
- Still maintained? HOT 1
- soundjs play mp3, When playing at a higher speed, the pitch becomes higher HOT 1
- soundSprite Not Properly Loading In HOT 1
- Why does audio on iOS stop when unplugging headphones?
- Dr. Drago sleep
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from soundjs.