AudioBufferSourceNode - start vs noteOn

Is there any reason to use AudioBufferSourceNode.start(...) over AudioBufferSourceNode.noteOn(...) ?

+4
source share
3 answers

Yes. start () will work in Mozilla's groundbreaking implementation of Web Audio and will work in Safari in the future. noteOn () will not be.

+6
source

NoteOn does not work on Google Chrome today, so you should use start (). (2014-07-24)

(This should be a comment, but I have no reputation.)

+2
source

My company’s developers confirmed that noteOn () started to crash in browsers using the latest versions of WebKit, but in order for start () to be a reliable alternative. Unfortunately, I do not know the specific version of WebKit, but the affected browsers include:

  • All native browsers for iOS 10.3 (and higher). This is due to Apple's requirement to use WebKit on this platform, including Safari, Chrome, Firefox, and Opera. As an example of the non-native “browser,” Puffin really is a remote access portal to the LINUX window, so it is not affected. (Apple recently pulled the Puffin Academy out of the store, but it may be a misunderstanding of the method used or a tightening of their requirements.)
  • Safari 10.1 (and higher) for Mac OS X 10.10 through macOS 10.12 (and higher).
+1
source

Source: https://habr.com/ru/post/1488995/


All Articles