LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-22-2023, 01:30 PM   #1
kzo81
Member
 
Registered: Aug 2014
Location: Hungary
Distribution: Debian, Linux Mint, CentOS
Posts: 197

Rep: Reputation: Disabled
dsnoop audio level to web - javascript


Hi,

I would like a "real time" audio VU meter displayed in the device's web interface, but the dsnoop device is currently used for streaming and recording at the same time. Is there a way to send in a number representing the audio level and that number is displayed as a VU meter green/yellow/red as in some video encoders. Do you guys have any idea how could I implement this? Is it done by a named FIFO?

Is this a good start?

curl --json '{"audioLevel": 3}' \ -H "Content-Type: application/json; charset=UTF-8" http://127.0.0.1/vumeter

If so, how could I get the in real time from alsa?

Thanks,

Last edited by kzo81; 02-22-2023 at 01:43 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using alsa's dsnoop 'microphone' with Zoom/Chromium Arch900 Linux - Software 0 01-31-2022 04:44 AM
M-Audio Delta Audiophile 192 / Acound dsnoop / 32 Bit AndyTij Linux - Hardware 7 06-26-2019 08:07 AM
Audio level meter in Javascript resetreset Programming 3 05-24-2011 11:05 AM
ALSA, dmix, and dsnoop weirdness. lcbest Linux - Software 2 04-13-2007 12:24 AM
emacs in run level 3 then switch to X (level 7) then back to level 3 dsoliver Slackware 3 09-01-2006 03:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration