gkaindia.com

Home > > Showing sound levels on audio record

Showing sound levels on audio record

Advertisement
Hi --
I am recording an audio stream from the microphone and wanted
to know if there is a way to show the sound levels of the audio
from the mic in a graphical display?
Advertisement
MrLoofer,
The client that publishes the mic can use Mic.activityLevel
to set a graphical representation of the mic level.
Make a graph bar movieClip that spans from 0 to 100 keyframes
and apply a shape tween.
Enter the following on the __micMeter movieClip
this.onEnterFrame = function() {
if(this.owner.__mic.activityLevel == 0)
bar.gotoAndStop(0);
} else {
bar.gotoAndStop(this.owner.__mic.activityLevel);
__mic is the Mic object you created.
owner is the reference to the graph movieclips owner object.
var __mic:Microphone = Microphone.get();
var __micMeter:MovieClip;
__micMeter["owner"] = this;
This will move the meter when the mic broadcasts. Now, a
client playing the audio has no access to Mic.activityLevel, so you
would have to use NetStream.send(__mic.activityLevel) to their
__micMeter.
HTH,
Shack
Read the other 7 answers

Related Articles

I'm using 10.0.8 with OS 10.8.3 and yesterday connected a Blue Microphone Yeti as the Sound Input Device. When clicking Window>Record Audio, the window to select the Destination, Input Device, Gain and so on appears but the level meters at the top of
Why such sorry sound quality on iTunes? On some of my purchases the sound level is suppressed on the audio. On others the volume is so low that if I have it set for another song and a new one starts I have to increase the volume to hear it. There is
Hi There, I'm interested to know if there is any way via a script or an existing plugin that would allow me to trim down a video layer based on the sound levels in it audio track?  For example, if I wanted to set the in point for a source footage ele
I am trying to record a basic guitar track while I sing along.  I don't want my vocals to be recorded at the same time but the internal mic seems to be picking up the vocal and guitar sounds.  I tried System Preferences, Sound, Line In - Audio Line I
My external audio recording device only records to the right channel.  How do I duplicate the sound in the right channel and run it to the left one in Final Cut to get full stereo sound? I've already copied and pasted the right channel (A2) onto the
Hi, My question is related to a "New Audio Recording" using Quicktime Pro. Everything is fine with the recording, however, I can't hear sound that is inputed into my Mac untill the recording is done! I would like to hear the sound that is being
Im using an iMic to record but now it all of a sudden won't pick up anything played through it, yet if i turn on garageband it works. logic pro does acknowledge that the imic is plugged in but still won't pick up any sound, even with audio input : im
Dear friends, Why the output sound level isn't equal if we listen the LP directly from the gramophone (AUX1) or from the computer during the recording the track on the computer? We are using The E-MU 0404 USB 2.0 Audio/MIDI Interface: http://ixbtlabs
I am a new Mac user and I am trying to record a short video to email using the built-in Isight camera. I have tried to use Photo Booth and Imovie and both of them produce videos with very, very low sound levels. You can barely hear it even when turne
I first started using Captivate when it was Robodemo 5 and that was not all that long ago. I remember when I first downloaded it. I thought it was the greatest training software ever. However I did have problems. The most long lived problems were wit
Hi, I've recently bought an HP Pavillion 15 laptop with AMD/Realtek HD audio hardware and Beats Audio. Windows 8.1operating system.  It's brand new out of the box with no updates made. When I playback mp3 music via Windows Media Player, the volume is
I see many complaints about low sound, but i have the opposite problem.  Whether I use the earphone jacks or my USB headset,the sound level is uncomfortably high. The only way I can make it at all reasonable is to drag the volume down to where it shu
Hi, i try to setting up audio recording redirection with no success. I use Windows 2008 R2 with Remote Desktop Services role installed and Windows Seven as client computer. I edit local group policy on Windows 2008 R2. Computer settings - Administrat
I'm encountering what I believe are on-board sound issues. I wanted to back up and restore several old cassettes and some VHS tapes. Initially I tried the cassettes using the cassette player from my Sony system with an audio cable (R/L cable to singl
I use Captivate 6 and use a  external NADY USB microphone to record my narration.  I record  audio for each slide separately using Captivate's "Record Audio to Slide" function. When I preview the slide in Captivate, the sound level is fine. Mean
I'm trying to find out how ( if possible ) to get the input sound level from the microphone. Example : if someone screams into the mic it would return that it is loud or on a scale of 1 to 10 it would be a 10; and the opposite if someone was whisperi
Hi! I have a movie of a group of singers at an event. The event sound levels were set up for speaking and there was a direct XLR feed into the camera. When all five of them are singing it's very distorted .... is there anyway to adjust this in iMovie
I use a recording program and when I start to record, the sound input level in sound preferences automatically slides to full loud.  I must slide back to the middle or get distortion or just too loud.  Why won't the level stay put?Digital audio is st
Ever since I went to Windows 7, I cannot capture voice recording at a high enough level in Captivate.  Captivate seems to lower the level -- after recording a slide, I return to the Sound Control panel and it has been adjusted back down from 100 to 1