Comments (9)
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.
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.
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.
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.
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.
Surprisingly Chrome on iOS doesn't work either, wonder if it also uses webkitAudioContext() on iOS...
from waaclock.
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.
Any news about this?
from waaclock.
This should do the trick! @k-ljung please tell me if it doesn't!!!
from waaclock.
Related Issues (20)
- repeat / timeStretch bug HOT 5
- How to keep the clock ticking in a background tab? HOT 4
- Add demos, tests, ... to .npmignore
- Events will be scheduled if deadline is set to 0 and clock has not been started HOT 4
- Script Processors evaluation order HOT 8
- Add offset between context.currentTime and clock current time HOT 9
- Puase callbackAtTime HOT 3
- Event Expired -- What am I supposed to do with events? HOT 2
- ScriptProcessorNode is deprecated HOT 9
- Do I need to add /lib/WAAClock.js to project
- the clock doesn't work as expect HOT 1
- Is this lib deprecated as createScriptProcessor is no longer available HOT 1
- Update npm package? HOT 1
- Callbacks still aren't reliably fired when tab is in the background HOT 2
- asm.js
- how about ability to "delay" an event by t seconds? HOT 4
- ios support HOT 2
- Remove dependencies HOT 1
- Remove support for old names
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 waaclock.