An API to detect which tone is beeing played directly in the browser