Giter VIP home page Giter VIP logo

Comments (11)

lannymcnie avatar lannymcnie commented on June 23, 2024

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.

Takazudo avatar Takazudo commented on June 23, 2024

wow cool!
Thanks for replying!

from soundjs.

onedrop avatar onedrop commented on June 23, 2024

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.

TimJaramillo avatar TimJaramillo commented on June 23, 2024

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.

OJayRobinson avatar OJayRobinson commented on June 23, 2024

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.

TimJaramillo avatar TimJaramillo commented on June 23, 2024

Cool, the new WebAudioPlugin.js is working for me in iOS6 now. Thanks for the quick fix!

from soundjs.

Rufu5 avatar Rufu5 commented on June 23, 2024

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.

OJayRobinson avatar OJayRobinson commented on June 23, 2024

Full SoundJS support for iOS 6 is now available in the NEXT version available on github. Read this discussion for details.

from soundjs.

Rufu5 avatar Rufu5 commented on June 23, 2024

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.

Rufu5 avatar Rufu5 commented on June 23, 2024

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.

OJayRobinson avatar OJayRobinson commented on June 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.