alphaSynth icon indicating copy to clipboard operation
alphaSynth copied to clipboard

onaudioprocess not called on iOS (Safari)

Open Danielku15 opened this issue 8 years ago • 2 comments

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.

Danielku15 avatar Jan 02 '17 18:01 Danielku15

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.

gburlet avatar Mar 17 '17 20:03 gburlet

Would also be interested in a fix

vin-ni avatar Jan 24 '18 09:01 vin-ni