LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-23-2011, 02:54 AM   #1
resetreset
Senior Member
 
Registered: Mar 2008
Location: Cyberspace
Distribution: Dynebolic, Ubuntu 10.10
Posts: 1,340

Rep: Reputation: 62
Audio level meter in Javascript


Hi,
When someone is speaking into the mic, I'd like a "level meter" such as the one that comes with gnome sound recorder, that flashes up and down when a sound is made or somebody talks.
This will be done in Javascript, using the brand new "Rainbow API", i.e. inside the browser.

I know nothing about audio programming, so - where would I get *started* with something like this? Could anyone tell me at least WHAT to Google?

Thanks.
 
Old 05-24-2011, 03:34 AM   #2
Golding
LQ Newbie
 
Registered: May 2011
Location: London
Distribution: Ubuntu
Posts: 3

Rep: Reputation: Disabled
Quote:
Originally Posted by resetreset View Post
Hi,
When someone is speaking into the mic, I'd like a "level meter" such as the one that comes with gnome sound recorder, that flashes up and down when a sound is made or somebody talks.
This will be done in Javascript, using the brand new "Rainbow API", i.e. inside the browser.

I know nothing about audio programming, so - where would I get *started* with something like this? Could anyone tell me at least WHAT to Google?

Thanks.
I've been coding Javascript for years, and have never came across anything that can record audio. I think this would be a major security risk if it was possible. You might need Flash for that. I've certainly never came across it.

You could try searching "Recording audio Javascript"

Hope that helps.
 
Old 05-24-2011, 10:53 AM   #3
resetreset
Senior Member
 
Registered: Mar 2008
Location: Cyberspace
Distribution: Dynebolic, Ubuntu 10.10
Posts: 1,340

Original Poster
Rep: Reputation: 62
Quote:
Originally Posted by Golding View Post
I've been coding Javascript for years, and have never came across anything that can record audio.
Check this out then:
http://mozillalabs.com/rainbow/
 
Old 05-24-2011, 11:05 AM   #4
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,223

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Quote:
Originally Posted by Golding View Post
I think this would be a major security risk if it was possible.
Why?
 
  


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
[SOLVED] Very low audio level in F11 PreacherBill Fedora 2 08-18-2009 06:46 PM
LXer: MochiKit feels like Python but delivers high-level JavaScript LXer Syndicated Linux News 0 11-29-2006 08:21 AM
How to raise audio level? ald Mandriva 2 10-03-2003 05:46 PM
Battery level meter wzzrd Linux - Hardware 6 05-01-2003 03:09 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:14 AM.

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