Audio Level Meter

Does anyone know where I can find an audio level meter that is either written in Swing or can be integrated with my Swing app?
I have not found anything in my web searches that really makes sense.

I've just started looking for the exact same thing. I'm glad
you posted first, I think you've explained the need better than I
would have been able to. I was thinking I may have to use an
embeded SWF, but the only thing I've found was in AS3.
http://livedocs.adobe.com/flex/3/html/help.html?content=Working_with_Sound_14.html
I too will be checking out the asFFT Xtra.

Similar Messages

  • JMF Challenge - Create audio volume level meter for rtp Audio Transmitter

    Based on the following code at: http://java.sun.com/products/java-media/jmf/2.1.1/solutions/RTPConnector.html
    The challenge is to build an Audio level meter, you know the lights that go up and down to your voice like on a stereo Hi-Fi system.
    If we can start with ideas, give it time the challenge will be complete for all to use.

    Heres the finished codec code, it just spits out System.out's with the peak level.
    import javax.media.*;
    import javax.media.protocol.*;
    import javax.media.protocol.DataSource;
    import javax.media.format.*;
    import javax.media.control.TrackControl;
    import javax.media.control.QualityControl;
    import javax.media.control.SilenceSuppressionControl;//###### delete if no silence.
    import javax.media.rtp.*;
    import javax.media.rtp.rtcp.*;
    import com.sun.media.rtp.*;
    public class AudioLevelMeterCodec implements Effect {
        /** The effect name **/
        private static String EffectName="AudioLevelMeterCodec";
        /** chosen input Format **/
        protected AudioFormat inputFormat;
        /** chosen output Format **/
        protected AudioFormat outputFormat;
        /** supported input Formats **/
        protected Format[] supportedInputFormats=new Format[0];
        /** supported output Formats **/
        protected Format[] supportedOutputFormats=new Format[0];
        /** selected Gain **/
        protected float gain = 2.0F;
        /** initialize the formats **/
        public AudioLevelMeterCodec() {
            supportedInputFormats = new Format[] {
                new AudioFormat(
                        AudioFormat.LINEAR,
                        Format.NOT_SPECIFIED,
                        8,
                        Format.NOT_SPECIFIED,
                        AudioFormat.LITTLE_ENDIAN,
                        AudioFormat.SIGNED,
                        8,
                        Format.NOT_SPECIFIED,
                        Format.byteArray
            supportedOutputFormats = new Format[] {
                new AudioFormat(
                        AudioFormat.LINEAR,
                        Format.NOT_SPECIFIED,
                        8,
                        Format.NOT_SPECIFIED,
                        AudioFormat.LITTLE_ENDIAN,
                        AudioFormat.SIGNED,
                        8,
                        Format.NOT_SPECIFIED,
                        Format.byteArray
        /** get the resources needed by this effect **/
        public void open() throws ResourceUnavailableException {
        /** free the resources allocated by this codec **/
        public void close() {
        /** reset the codec **/
        public void reset() {
        /** no controls for this simple effect **/
        public Object[] getControls() {
            return (Object[]) new Control[0];
         * Return the control based on a control type for the effect.
        public Object getControl(String controlType) {
            try {
                Class cls = Class.forName(controlType);
                Object cs[] = getControls();
                for (int i = 0; i < cs.length; i++) {
                    if (cls.isInstance(cs))
    return cs[i];
    return null;
    } catch (Exception e) { // no such controlType or such control
    return null;
    /************** format methods *************/
    /** set the input format **/
    public Format setInputFormat(Format input) {
    // the following code assumes valid Format
    inputFormat = (AudioFormat)input;
    return (Format)inputFormat;
    /** set the output format **/
    public Format setOutputFormat(Format output) {
    // the following code assumes valid Format
    outputFormat = (AudioFormat)output;
    return (Format)outputFormat;
    /** get the input format **/
    protected Format getInputFormat() {
    return inputFormat;
    /** get the output format **/
    protected Format getOutputFormat() {
    return outputFormat;
    /** supported input formats **/
    public Format [] getSupportedInputFormats() {
    return supportedInputFormats;
    /** output Formats for the selected input format **/
    public Format [] getSupportedOutputFormats(Format in) {
    if (! (in instanceof AudioFormat) )
    return new Format[0];
    AudioFormat iaf=(AudioFormat) in;
    if (!iaf.matches(supportedInputFormats[0]))
    return new Format[0];
    AudioFormat oaf= new AudioFormat(
    AudioFormat.LINEAR,
    iaf.getSampleRate(),
    8,
    iaf.getChannels(),
    AudioFormat.LITTLE_ENDIAN,
    AudioFormat.SIGNED,
    8,
    Format.NOT_SPECIFIED,
    Format.byteArray
    return new Format[] {oaf};
    /** gain accessor method **/
    public void setGain(float newGain){
    gain=newGain;
    /** return effect name **/
    public String getName() {
    return EffectName;
    /** do the processing **/
    public int process(Buffer inputBuffer, Buffer outputBuffer){
    // == prolog
    byte[] inData = (byte[])inputBuffer.getData();
    int inLength = inputBuffer.getLength();
    int inOffset = inputBuffer.getOffset();
    byte[] outData = validateByteArraySize(outputBuffer, inLength);
    int outOffset = outputBuffer.getOffset();
    int samplesNumber = inLength / 2 ;
    int valueMin = 255;
    int valueMax = 0;
    for (int i=0; i< samplesNumber;i++) {
    int tempL = inData[inOffset ++];
    int tempH = inData[inOffset ++];
    int sample = tempH | (tempL & 255);
    if (sample > valueMax) {
    valueMax = sample;
    if (sample < valueMin) {
    valueMin = sample;
    System.out.println((valueMax - valueMin) - 256);
    System.arraycopy(inData,0,outData,0,inData.length);
    // == epilog
    updateOutput(outputBuffer,outputFormat, inData.length, 0);
    return BUFFER_PROCESSED_OK;
    * Utility: validate that the Buffer object's data size is at least
    * newSize bytes.
    * @return array with sufficient capacity
    protected byte[] validateByteArraySize(Buffer buffer,int newSize) {
    Object objectArray=buffer.getData();
    byte[] typedArray;
    if (objectArray instanceof byte[]) { // is correct type AND not null
    typedArray=(byte[])objectArray;
    if (typedArray.length >= newSize ) { // is sufficient capacity
    return typedArray;
    System.out.println(getClass().getName()+
    " : allocating byte["+newSize+"] ");
    typedArray = new byte[newSize];
    buffer.setData(typedArray);
    return typedArray;
    /** utility: update the output buffer fields **/
    protected void updateOutput(Buffer outputBuffer,
    Format format,int length, int offset) {
    outputBuffer.setFormat(format);
    outputBuffer.setLength(length);
    outputBuffer.setOffset(offset);

  • Audio Level Adjustment for Multicam Clip

    Greetings,
    I have 2 issues while some audio tweaking for a Multicam edit.  I have assigned the audio for a single angle to apply to the entire sequence.   There are some clips in the sequence where, at times, I cannot adjust the level of the audio.  It will show the level when clicking with the selector, but it cannot be dragged up or down.   Stranger still, if I select it within a series of clips and use CTRL -/+ to change levels, it is unchanged even though all the others changed.  There is nothing differnent about the clips in question (they are not Compound Clips or anything.) 
    Restarting seems to often fix the above problem.  But it seems to be happening enough that it's a real inconvenience.  Also I am having similar issues with the audio level meter freezing up intermittently.  Sometimes when I toggle audio skimmer it can correct it for a while, but once it starts, a restart is inevitable.   Does anyone have any workarounds for making this work properly? 
    One last question that is not a glitch but a functionality I hope exists but cannot find.  Given that I have one angle of audio for the entire clip, I want very badly - and feel like it should be possible - to make adjustments to the audio as I would if it were one continuous clip; for instance, to be able to select a range across the clip transitions and adjust levels accordingly.  So far the best workaround is to select all the clips and use CTRL -/+ to adjust.  But this allows less control, because I must then go in and adjust sections of clips on the ends that I did not want changed.   Would love to  know if anyone knows a way! 
    Thanks for your time and assistance!
    Brian

    I would think it would be easiest to open the muticlip in the Angle Editor where you would have a clear view of each individual angle and its audio.
    Russ

  • Audio levels in the Viewer

    After recording or capturing an audio clip in FCE 3.5, I play it and monitor levels in the floating levels meter. Then when I open that same audio clip in the Viewer to adjust the level, I find it's is always set to zero db, instead of the level at which the clip was recorded/captured.
    Question: Does an audio clip's level in the Viewer always default to zero, regardless of the level the clip was recorded/captured at?
    Thanks.

    OK.
    And, since I don't have an audio levels meter on my camera, I don't really KNOW what level I'm recording at; so, beyond knowing the dynamic range of my equipment, can I assume that after ingesting into FCE, upon playback, if the floating levels meter is not going red, and the waveform in the Viewer is not clipped at the peaks or valleys, that I have good sound?
    Thanks.

  • Trouble viewing audio levels in Voice Over tool

    Hello,
    I often record voice over into Final Cut Pro using the Voice Over tool. In the middle section of the Voice Over window there is a 'Level' meter that flashes Green to Yellow and Red, illustrating the level of audio being fed into the Mac. For some reason though, this has stopped working for me.
    My set up is this: A Mic in our voice over booth connects to a Soundcraft 4 channel mixing desk via an XLR cable. The mixing desk is linked to a JVC HD tape desk, which is connected to the Mac via FireWire.
    Previously, to capture Voice Over I set the tape deck to 'Line' input, in 'DV' mode and set the Voice Over tool to 'DV Audio' as the source.
    I can see sound levels on the mixing desk. I can see sound levels on the tape deck, but I can't see sound levels on the Mac's VO tool. Despite this, it does still capture voice over (I just can't 'see' it).
    This problem is annoying because it means Im unsure whether the Mac is actually receiving an audio feed or not unless I do a test recording first.
    Any suggestions as to why the Voice Over tool would suddenly stop showing me Levels, would be greatly appreciated!

    My secondary Mac works fine when the AV settings are set to HDV, despite it receiving standard DV audio input. Whether FCP is set to DV or not doesn't seem to matter in this case.
    In trying to resolve the issue I played around with DV/HDV settings within FCP and the Deck; trying different combinations, but with no success.
    +To recap (just to clarify in my own head), the situation is this:+
    +Both of my Macs, Primary and Secondary, happily record Voice Over, via the Voice Over tool.+
    +The Mic in the sound room connects to a Mixing desk via an XLR cable. The mixing desk is also connected to 2 sets of headphones, one for the Artist and one for the Engineer. 2 audio jacks connect the mixing desk to the JVC tape deck. The JVC tape deck connects to my Mac via FireWire to the port at the rear of the Mac.+
    +The issue is that the Primary Mac does not display audio Levels in the Voice Over tool, whilst it does on the Secondary Mac.+
    +While Im recording Voice Over on my secondary Mac I can see that there is an Audio input because the Green/Yellow/Red bar flashes up. On my Primary mac this bar is inactive and therefore gives me no clues as to the level of audio being fed into the Mac.+

  • Different Audio Levels in Edit View vs. Multitrack View

    Here's what happens...
    I begin a new session. I then import a .wav file and it appears in the left column. I double-click the .wav so I'm in Edit View. When I play the clip, it ranges from about -9 to -6 dB. Now I go back to Multitrack View without having edited or changed the .wav in any way. I send the clip to Track 1. When it plays back, it now ranges from about -12 to -9 dB on the levels meter...this is an issue. In terms of trying to balance audio levels within a session, something that sounds good in one view might be too loud or too soft when playing back in the other. It's my understanding that regardless of Edit View or Multitrack View, a .wav should play at the same exact levels (unless you tamper with the mixer which I have not done).
    So my question is, why is there a 3dB difference between playing a clip in Edit View vs. Multitrack View?

    Try setting view>advance session properties>mixing>
    L/R cut logarithmic
    discussion here:
    http://www.adobeforums.com/webx?128@@.59b56d34

  • Signal Level Meter

    Signal Level Meter
    CATV Signal Level Meter GAO2002 is specially designed for CATV system maintenance. Signal Level Meter GAO2002 features small size (160mm x 130mm x 65mm) , light weight (368g including battery), long operating time (more than 6 hours), and well-built from appearance to architecture. Signal Level Meter GAO2002 combines the most practical functions and makes them easy to use. What is even better about this piece of equipment is that its added aseismatic design makes it more durable than you can expect. Tests show that it can continue to work well after being dropped from 5 meters high. It supports Level, V/A, Tilt and Trunk Level testing as well as testing two channels at the same time.
    CATV Signal Level Meter GAO2002 Specifications:
    Frequency
    Frequency range: 46MHz ~ 860MHz
    Frequency step: 50kHz, 1MHz, 10MHz and 100MHz
    Level Measurement
    Range: 20dBuV ~ 50dBuV
    Accuracy: ±20dB (20ºC ± 5ºC)
    Resolution: 0.5dB
    Carrier to Noise (C/N)
    Option Range: 20dBuV ~ 50dBuV
    Input signal range: ≥ 85dB
    Measure accuracy: ± 2.5dB (20ºC ± 5ºC) shut off the carrier
    Resolution: 0.5dB
    Voltage
    Input range: 1~100V (AC/DC)
    Measured accuracy: ±2V
    Resolution: 1V
    Miscellaneous
    Size: 160mm x 130mm x 65mm
    Weight: 368g (including battery)
    Working: -10ºC ~ 40ºC
    Audio: Built-in speaker (Auto on in single frequency mode)
    Battery
    Built-in battery: 3.6V/2.1AH Ni-MH
    Working time: More than 6 hours (Shut off the audio and LCD backlight)
    Charging time: 10 ~ 12 hours (power off)
    Gao Tek Inc.

    Do you have drivers for LabVIEW?
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    "It’s the questions that drive us.”
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

  • Audio Level Broadcast quality in Final Cut ProX

    At which volume level shall I keep the final video movie to broadcast?
    When it shows -6db to -12 db on the audio meter level is that OK?
    Basically what's the level above which I should not go?
    Thanks,
    Jacqui

    My 2 cents as an audio engineer.  Audio db leaves are standardized.  Voices should average around -6.  Everything else should be balanced around that.  Don't go much over -3, never hit 0, you'll be fine.  It's not about hearing damage, it is about digital audio artifacts ending up in the final mix.
    The level meters and the volume db readings are not the same thing.  The level of an audio file, at 0, is normal, the level it was recorded at.  That can register as anything on the level meter.  If I record someone whispering, it'll playback lower.  A gun shot will playback louder.  But both playback with the "volume" (technically "gain") set to 0, normal.  Just like luma levels.  Everything imports at the level it was recorded at, then you adjust as needed.
    So, for broadcast, if your lowest sounds are averaging -12, your normal speaking voices around -6, and your loudest bangs and explosions averaging around -3, and nothing touches 0, you're broadcast safe.  Simple as that.  And the Limiter audio effect can be your best friend with problematic audio levels.
    Here's a PDF that can help you understand all the audio filters from Logic that are included with FCPX, and how they work.
    http://manuals.info.apple.com/MANUALS/1000/MA1651/en_US/logic_pro_x_effects.pdf

  • Question about Level Meter Plug in

    I know how to change the channel meter between pre/post fader metering is there a way to do this with Logic's Level Meter plug in and with Inspector?

    Plugins are always pre-fader, as the audio path hits the plugins and then goes into the fader.
    What you'd have to do is route your audio through a fader (eg aux channel) to control the level, and then leave the fader on your output set to 0dB and meter in your plugins on that.

  • Input level meter in Audition CS5.5

    I can't find an input level meter in audition CS5.5. I have to go my windows 7 control panel find me device and set the levels. So, to set levels I have to have two windows open, one control panel audio adjustment window and one soundbooth window where I actually record and watch meter, then I erase and record for real.
    I must be overlooking something -- every other audio program I have ever used lets you set input levels while watching the meter. I've been through the help, and Googled it and I can't figure it out. In Audition, how do I set input levels from within Audition CS5.5 (not in windows 7 control panel)?
    Thanks!

    Short answer, no!
    Audition merely records EXACTLY what the input device is sending to it.  In normal useage the "level" of the signal to be recorded would be set externally, e.g. by use of an audio mixer or a "gain" control on the input device.  I assume you are recording by using a line or mic plugged straight to your computer?  In which case, the Windows Audio Control Panel is the only way to set levels.
    Jeff

  • DBFS check audio level

    Can anyone tell me how I might be able to accurately check the level of my Audio within FCP 10.1.1 in dBFS and also how to ensure that when I complete a project that my exported (Pro Res 422) version is precisely that level. NB. I don't want to tamper with my audio in any respect (eg. with a Limiter or similar) as I intend making music video clips for broadcast and would prefer not to alter any of the dynamics of the mastered mixes, as well as being certian I am not exceedig the -10dBFS delivery standard required by our local television stations. Any help or suggestions will be much appreciated, have spent ages looking for answers to this.

    As a video editor of an advertising agency, and always making TVCs for TV stations, I totally understand your frustration when they insist the required audio level, and I was suffered with this problem badly.
    I ended up with not using the audio meter in both FCP 7 and X because they are simply not accurate, or probably even not measuring the things we need, instead, I use WAVES WLM Plus Loudness Meter plug in, and set it to the audio standard suits your station or country, like OP 58 in Australia, etc.
    www.waves.com/plugins/wlm-loudness-meter
    I hope this helps. Good luck.

  • Level meter stops randomly during input

    using 64bit Logic 9- latest version. While using a channel with audio input with "I" selected in channel strip, the level meter will randomly go flat but sound is still passing. usually toggling the "R" box will get it working again, but repeatedly it will drop out- anyone experience this?? if so, any conclusions?
    thanks!

    I suspect a problem with your audio interface. The next time it happens, you could test that theory by trying this. Open Preferences > Audio and uncheck "Enabled" (under "Core Audio"). Press the button Apply Changes. Then check Enabled, and Apply Changes again. Does that fix it? Maybe your audio drivers need an update, or there is some other issue related to your audio interface.

  • Audio Levels

    I now I can boost the audio levels in the timeline
    but what is a good range for the recorded audio levels
    when they first come in to FCP ?
    I have footage that's coming in at -2.4 dbs and peaking
    a little above that and under -1.8
    I assume this is lower than optimum
    thanks

    The dynamic range of your mix is dependent on the final viewing environment. For example, movie theaters have large, relatively expensive sound systems that can reproduce a large dynamic range. Television speakers are much smaller, and often the listening environment has more ambient noise, so very quiet sounds may not even be noticeable unless the overall signal is compressed and the level increased, which reduces the dynamic range.
    For example, television stations normally accommodate only 6 dB between the average loudness and the peaks. Dolby Digital feature film soundtracks, on the other hand, can accommodate up to 20 dB between average and peak levels. This is why loud sounds in a movie theater sound so loud: they are much louder than the average level.
    When you mix your final audio, you choose a consistent reference for the average level. When you choose the average reference level, you are actually choosing how much additional headroom you have before your signal distorts. The higher you set the average level, the less safety margin you have for peaks in the signal. This means that the loudest sounds in your mix cannot be much louder than the average levels, and so the mix is less dynamic.
    Acceptable amount of dynamic range:
    Theatrical Dolby Digital 20 dB
    Average videotape 12 dB
    Television broadcast 6 dB
    If you set the reference level of the Final Cut Pro floating audio meter to –20 dBFS, you have nearly 20 dB of headroom, since 0 dBFS is the digital limit for the loudest sound. If you set the reference level in your sequence to –12 dBFS instead, you have less headroom. Even though the average level of your audio is higher, there won’t be as much dynamic range.
    How much dynamic range you allow in your audio mix depends on its ultimate destination. If you’re editing a program for TV broadcast, a reference level of –12 dBFS is fine, since you are only allowed 6 dB of dynamic range anyway. But if you’re working on a production to be shown in movie theaters, consider using a reference level closer to –18 or even –20 dBFS (both of these are frequently used standards).
    Remember that the ultimate goal is to ensure that audio doesn’t peak over 0 dBFS in your mix (as displayed in the Final Cut Pro audio meters) and won’t peak over +3 dB or so on an analog meter.
    With a little help from the Final Cut Pro User Manual, "Audio Levels, Meters, and Output Channels". Pages 58 - 59.

  • Audio Levels when exporting are too low

    so i tried searching the forums to find an answer, but couldn't really find one. Everytime i export a project from FCP (as WMV, Flash, Quicktime, whatever) the audio levels are extremely, extremely low...to the point that I have to bump them up to +12 and duplicate the audio layers several times. I have to imagine there's an easier way to doing this.. any ideas?
    thanks
    Paul

    I didn't know you could export to WMV in Final Cut. Must be a new feature since the Apple/Microsoft merge....
    As far as the audio, how are you monitoring it in FCP? You might have your speakers (or headphones) turned up really loud, so you think the levels are fine until you export. Also, look at the audio meter. You should judge the overall volume by that, not by your speakers. It's kind of like a waveform scope for audio.
    Check on those two things and report back.
    jesse.
    ps. just kidding on the merge. that'll start some rumors.

  • Blackmagic audio levels low.  Need some help!!!

    I just got the blackmagic sp. Everything is working great except for the audio input to the computer. I have set the reference level for tone to 0 on my beta sp deck. I'm clipping with the gain all the way down on my monitor sound board. The main problem is that i cannot get my audio level above -15 in FCP. Any Suggestions?
    Dual 2.5 GHz PowerPC G5 Mac OS X (10.4.4) 4 GB DDR SDRAM

    Try this:
    Beta deck 0dB on the meter
    Set the mixer at unity (what sort of mixer is it?) Put the master output fader at whatever the mixer thinks is zero on the slider. Raise the L&R input sliders until you get 0dB on the mixer's meters. Open log and capture and play bars and tone from the deck. Look at the meters in fcp. Adjust the mixer master fader until the level raises to -12 dB.
    Does this not work?
    If it doesn't you might want to check how you are coming out of the mixer-- are you sure you're using the proper outputs?

Maybe you are looking for