Git Product home page Git Product logo

Comments (9)

sebpiq avatar sebpiq commented on August 21, 2024

Hi Chris! I use this library for a project of mine, we have tested it on various IPhones and IPads Safari + Chrome countless times ... With these platforms, there is a catch though which has nothing to do with WAAClock : you need to start the audiocontext on user event. Look here for more info : http://stackoverflow.com/questions/12517000/no-sound-on-ios-6-web-audio-api

However, you're right that I should update the examples to make them work like this ...

from waaclock.

chriswatts91 avatar chriswatts91 commented on August 21, 2024

Hi, I came to the same conclusion when I realised the AudioContext.currentTime wouldn't count unless the audio context was started on a user event as you mention. Thanks!

from waaclock.

sebpiq avatar sebpiq commented on August 21, 2024

Should be fixed now! I added a start button that should do the trick. If you could try that would be great as I don't have an iphone. Thx!

from waaclock.

chriswatts91 avatar chriswatts91 commented on August 21, 2024

They don't seem to be working on iOS or Mac Safari (Console Log: "ReferenceError: Can't find variable: AudioContext"). Just need to add support for webkitAudioContext() as AudioContext() doesn't currently exist in iOS or Mac Safari.

from waaclock.

sebpiq avatar sebpiq commented on August 21, 2024

Arr ... damn Safari for not following standards. Should work with Chrome
though!? I'll add support for the prefixed + old names.

On Mon, Mar 2, 2015 at 11:01 PM, Chris [email protected] wrote:

They don't seem to be working on iOS or Mac Safari (Console Log:
"ReferenceError: Can't find variable: AudioContext"). Just next to add
support for webkitAudioContext() as AudioContext() doesn't currently exist
in iOS or Mac Safari.


Reply to this email directly or view it on GitHub
#9 (comment).

Sébastien Piquemal

-----* @sebpiq*
----- http://github.com/sebpiq
----- http://funktion.fm

from waaclock.

chriswatts91 avatar chriswatts91 commented on August 21, 2024

Surprisingly Chrome on iOS doesn't work either, wonder if it also uses webkitAudioContext() on iOS...

from waaclock.

sebpiq avatar sebpiq commented on August 21, 2024

Ok ... I need to test that myself, when I get my hands on an iphone. Thanks
for this!

On Mon, Mar 2, 2015 at 11:19 PM, Chris [email protected] wrote:

Chrome on iOS doesn't work either, wonder if that also uses
webkitAudioContext()...


Reply to this email directly or view it on GitHub
#9 (comment).

Sébastien Piquemal

-----* @sebpiq*
----- http://github.com/sebpiq
----- http://funktion.fm

from waaclock.

k-ljung avatar k-ljung commented on August 21, 2024

Any news about this?

from waaclock.

sebpiq avatar sebpiq commented on August 21, 2024

This should do the trick! @k-ljung please tell me if it doesn't!!!

from waaclock.

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.