question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

New feature: Get microphone level

See original GitHub issue

Clear and concise description of the problem

As a developer using VueUse, I want to read the audio levels of the microphone, so I can display it in a web application.

Suggested solution

In the module “sensors”, ww could provide an implementation that reads the microphone level data via getUserMedia. The solution would take care of the browser permissions to access the microphone.

The exposed values would be

  • The microphone level indication (e.g. audioLevel)
  • The browser permission (isAllowed)

Alternative

No response

Additional context

No response

Validations

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
antfucommented, Jul 2, 2022

This seems to be a bit complex to get right (permission, multiple devices, hot-plug, etc.). I would suggest not being blocked by us but start implementing in your codebase (get the work done first!). And maybe after some iterations, if you feel good about the design, you can share the code and we would discuss if the usage makes sense in VueUse. Thanks 😃

0reactions
stale[bot]commented, Sep 14, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Boost Microphone Levels in Windows 10 - groovyPost
In the Microphone Properties window, press the Levels tab. You can then adjust the Microphone volume slider to 100 to ensure that the...
Read more >
How to Increase Microphone Volume and BOOST ... - YouTube
Do you want to know how to increase the volume of your microphone on windows 10 and boost the mic levels ??? This...
Read more >
How to Increase Mic Volume on Windows 10 - Lifewire
Start Menu: Click Settings > System > Sound > choose mic > Device Properties. Use slider to increase mic volume.
Read more >
Fix microphone problems - Microsoft Support
The microphone volume is too low or does not appear to be working at all · Make sure that the microphone or headset...
Read more >
Detecting Microphone Input Levels in Your iOS Application
Enabling Microphone Permission Requests​​ plist file. Hover over a row that's already in the table, and select the '+' button to add your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found