An open API service indexing awesome lists of open source software.

https://github.com/h5sh/audioaccess-js

How to Access Audio in JavaScript
https://github.com/h5sh/audioaccess-js

Last synced: about 1 year ago
JSON representation

How to Access Audio in JavaScript

Awesome Lists containing this project

README

          

# Audio Controls in Java Script
By default browsers like google chrome does not allow media play before user interaction with the page, use can fake an interaction using fireEvent or userEvent librarires (which I failed to do) or get access to users mediaDevices (you can also get access to video but that was not required)

# AudioContext
AudioContext class is used to genrate audio

# VisibilityState
document.visibility tells that wahether user is on the page or not