From 758db4baea63575b62e2ef3fc2b8aa5fa31d3a6e Mon Sep 17 00:00:00 2001 From: "hta@webrtc.org" Date: Fri, 6 Dec 2013 14:47:34 +0000 Subject: [PATCH] Demo showing how to measure volume using WebAudio This adds a page to the demos page, it does not affect any running code. BUG= R=dutton@google.com, phoglund@webrtc.org Review URL: https://webrtc-codereview.appspot.com/5099004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5237 4adac7df-926f-26a2-2b94-8c16560cd09d --- samples/js/demos/html/local-audio-volume.html | 126 ++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 samples/js/demos/html/local-audio-volume.html diff --git a/samples/js/demos/html/local-audio-volume.html b/samples/js/demos/html/local-audio-volume.html new file mode 100644 index 0000000000..57adf846d0 --- /dev/null +++ b/samples/js/demos/html/local-audio-volume.html @@ -0,0 +1,126 @@ + + + + +Local Audio Rendering Demo + + + + + +

Measuring the volume of an audio stream using WebAudio

+

Demonstrates measuring the volume of a local media stream + using WebAudio.
+ Press Start, select a microphone, listen to your own voice in loopback, + and see the numbers change as you speak.

+ +

+ +

+ Volume (instant): Not set
+ Volume (slow): Not set + +