Skip to content
This repository has been archived by the owner on Jul 30, 2019. It is now read-only.

onaudioprocess not called on iOS (Safari) #4

Open
Danielku15 opened this issue Jan 2, 2017 · 2 comments
Open

onaudioprocess not called on iOS (Safari) #4

Danielku15 opened this issue Jan 2, 2017 · 2 comments
Assignees
Labels

Comments

@Danielku15
Copy link
Member

It seems that iOS still has some troubles with the Web Audio API. The onaudioprocess event is never triggered. There can be various reasons why the events are not called:

http://stackoverflow.com/questions/14521170/safari-6-0-2-not-calling-onaudioprocess
http://stackoverflow.com/questions/17087119/use-scriptprocessornode-in-iphone-safari
https://bugs.webkit.org/show_bug.cgi?id=122560

On a quick test none of the workarounds made the event to be triggered (calling context.resume, add input node, change construction function, assign node to global variable to prevent GC collection,...). This needs some further investigation.

@gburlet
Copy link

gburlet commented Mar 17, 2017

Hi @Danielku15,

I think this issue needs to be reopened. Unless demo.alphatab.new/alphaSynth has not been updated to include the latest commit, I can't get any audio playing on iOS (chrome or safari browsers).

I also can't get alphaTab score play-along functionality working on mobile so I currently have it disabled in my project and am just showing the plain score.

@vin-ni
Copy link

vin-ni commented Jan 24, 2018

Would also be interested in a fix

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants