Sound level meter -Save Leq

I hope someone can answer me fast as I need to meet a deadline
I made the sample Sound Level Meter DAQmx for Sound and Vibration 2013.
My concern with this is that I need to save the Leq per second after we collect all data.
What I did is attached but I do not know where to attached the write measurement file express.
Please help me...
Attachments:
NI how to save.PNG ‏57 KB

Poke the Data acquired into a Queue. (making this the producer loop)
De-Q the Data in another loop (consumer loop)
Update the file in the consumer loop - this means that File IO overhead will not affect your sampling rate.
Open the File reference before the Consumer Loop starts and close it when complete to minimise File Opening and closing as data is saved (or save the file every n samples/seconds if you are paranoid)
This will get you a faster more flexible architecture - File IO has a much larger overhead than DAQ normally so moving this to a seperate Q and thread allows parallel processing.
James

Similar Messages

  • Sound Level Meter vi

    It would be great if I could manage to have a Sound Level Meter vi. I do not have SVT.
    Right now a .vi sharing would be best, but in my mind it is to start to make my own, this kind of tasks make you learn. The problem is time.
    Any sharings? Suggestions? I found this in an old post, but, I get this error:
    "Poly VI 'AI Acquire Waveform.vi': subVI is missing.
    Attachments:
    SPL.llb ‏88 KB

    AI Acquire Waveform is part of the old traditional DAQ API.  You can either replace the traditional DAQ VIs with DAQmx VIs or install traditional DAQ (provided you are on a supported, 32-bit OS).  I would recommend the former.  The sound level algorithms should still be good.  Let us know if you run into issues.
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • Is there a simple sound level meter for iTunes for windows ?

    I'm trying to check the sound level of my music in iTunes and was wondering if there is a simple sound level meter plug-in for iTunes out there.

    HKO,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

  • Microphone calibration for a sound level meter

    Hi I need an application for measure sound level by using the sound and vibration toolkit and severl microphones as input, but I don´t get the same values as a portable Phonic portable meter. I´m using a 60db gain preamplifier but when i use this value in the pregain scale voltaje to EU block I don´t get any value, but if I use -60 it works! is that correct?  on the other hand, I´ve seen a calibrate microphone block for the traditional daqmx  but I dont understand how to use it and I cant find examples. Do you have one? I have a cDAQ with 9205 A-input card.   Also, if I use the PC microphone input to get the data do I have to put an pregain value for the scale voltaje to EU block?
    I need dome help please. Thanks a lot.

    ¡Hi mario_rojas!
    I checked the documentation and SVL Calibrate Microphone (DAQmx) VI if you run it with the proper configuration it will measure the sensitivity of the microphone connected to the channel you specify.  Can you tell me what version of the Sound and Vibration Toolkit you are using? There are some specific inputs that you need to configure, but I need to know the version to tell you the values you need.
    About the -60dB gain, it should work with +60. When I have the version of the toolkit I can check this out for you.
    About the question for the PC microphone, you should not have to input a pregain value, since you do not have an intermediate amplifier between the microphone and the daq board, you just need to find the sensor sensitivity. We can use the SVL Calibrate Microphone (DAQmx) VI to find out if we don’t have that data in the specs.
    I think we are dealing with the same problem in this forum:
    http://forums.ni.com/ni/board/message?board.id=250&message.id=36845
     I think it’s better if we continue working in one forum. Please let me know if this is the same issue, and if it is, in what forum would you prefer to keep posting.
    Kind greetings,
    Tania Lozoya | National Instruments
    Mensaje editado por Tania Lozoya

  • Error -1906 occured at SoundVib_SoundLevel.Lvlib:SVL Leq Sound LeveL (N Ch).vi:3

     Hey all, I have this message error when I try to run my vi.
    Possible reason,
    Sound & Vibration: Multichannel measurements require that each signal has the same sample interval (identical dt or identical dr)

    I am generating a analog signal and acquring the same signal. I want to visualise the generated and aquired signal on the sound level meter
    as you can see on the attached vi. when I run the vi the error message ( error - 1906 occured at soundVib_SoundLevel.LvlibVL Leq sound level (N Ch).
    Attachments:
    Signal generation with sound level meter.vi ‏126 KB

  • IEPE Mic Sound Level Error

    Hi All,
    I have recently purchase the Sound and Vibration tool kit for LV8.6 for making (surprise, surprise) sound pressure and vibration measurements on an enclosure that houses a variable speed pump. I use a cDAQ chassis with the 9233 IEPE module and an ACO mic/pre (model 7052SYS). The mic is IEPE, of course, with a specsheet sensitivity of 20mv/Pa.
    I am getting started using the S&V example vi named DAQmx Sound Level Meter. When I set up the AI mic channel to the 20mV/Pa sensitivity, I am still seeing large error in my measurement as compared to calibrated handheld sound meter. In specific, the room ambient noise is ~32.9dBA as measured with the Extech handheld meter. The VI and IEPE mic set-up reports this as ~39dBA.  The error when noise is introduce sometimes gets a little closer, but the two do not agree.
    What have I overlooked? The IEPE mic is new and has factory cal certs so let's assume this is not the issue.
    Thanks for the help!
    -JD

    JD:
    That indeed could be a potential source of the difference between the readings. To know for sure, you would need to do a spectal analysis fo find the energy content across the frequency bands.
    If you have a quiet chamber, you could possibly generate a single tone frequency (at multiple freqeuncies within the range of both meters) and then compare the meter readings.
    -AK2DM
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    "It’s the questions that drive us.”
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

  • Usage of sound level measurement

    sir
    i am using TES 1352A sound level meter to acquire sound signals.i have installed the sound and vibration toolkit. i am acquring the signal through NI USB 9234 module connected to the sound level meter.Now my problem is how to convert the voltage output from DAQ into decibles. if possible help me with an VI.
    thank u

    I have used this instrument once. The output is the sound level. It is scaled to a factor x Db per volt output
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • Diagram or vi for Sound Pressure Level Meter (SPL)

    Need help for implementing a Sound Pressure Level Meter (SPL) with LabVIEW 7.1 or 6.3....I must use a microfone and a laptop for my project.....Need diagram or ready vi ....!!!
    How can I make an A,B,C Weighting Filter vi for my Sound Pressure Level Meter project....???
    If there is one already made or you can give me any help please send it to me.......[email protected]
    Thanks.....

    Search the archives. A similar question about the weighting filters was posted within the past month or two, if I recall correctly. I am not aware of any ready-built VIs, but the filter specs are published (Google A-weighting).
    Also be careful with the frequency response of inexpensive microphones. They can skew the results substantially if you do not have some way to measure and compenste for the response.
    Lynn

  • After downloading and installing additional content, no sound will play. Logic has no connection to sound library. No level meter activity. Right before i installed additional content I was working on a project, and everything was OK.

    After downloading and installing additional content, no sound will play. Logic has no connection to sound library. No level meter activity.
    Right before i installed the additional content I was working on a project, and everything was OK. What is wrong. How do I make Logic reconnect to the instrument files?

    Whitelab Records wrote:
    So, 20 views and nobody's anybody the wiser?
    A small update to this issue....
    I have been trawling the forums to find an answer but to no avail...
    And... I've tried exporting and bouncing individual stems and the full session, either by muting all bar the stem or soloing the stem.....and still nothing.
    Same problems.....everything is audible in audition but nothing plays on playback.
    Since the 'prelisten' channel strip is Solo safe this would indicate that you have a track or channel strip soloed somewhere else, out of sight. Are the Mute buttons on your channel strips blinking?
    To view all objects in your mixer, click the button. You may have to scroll sideways to check the whole mixer.

  • I'm looking for a .vi for sound pressure level meter (SPL)

    Hi....
    I'm looking for help regarding the implementation of a SPL (sound pressure level)meter using LabVIEW.....If anyone has a vi or diagram or know how to proceed with this project please tell me about it...
    According to the project , I need a microfone and my laptop with LabVIEW to make the vi.
    Please help
    Thanks

    Here's an example program:
    This VI simulates the functionality of a Radio Shack Analog Sound Pressure Level (SPL) Meter. This VI requires a data acquisition board, Radio Shack SPL Meter and an RCA cable. Connect one end of the RCA cable to the SPL Meter's output, and then splice off the other end and connect it to channel 0 of the DAQ board. The connection to the DAQ board must be made differentially.
    The output of the SPL meter is a raw waveform that is converted by the program into a decibel (dB) reading. The front panel shows a dB offset based on a range, just like the actual SPL meter. The front panel also displays the overall dB reading.
    Attachments:
    SPL.llb ‏88 KB

  • Level Meter Plug In -VS- Output 1/2 meter...Inconsistencies...

    I'm mixing an 18 minute long recording for vinyl release. The vinyl pressing company has a minimum dbl on recordings they master and press. If the level is under, they charge hundreds of dollars more to re master and increase the volume via massive compression.
    So to check and double check the overall volume in Logic Express 8, all I can find for a meter is the "Level Meter" in the visualization plug in toolbox. So I have the Level Meter "plugged" into the Output 1/2 track...The problem with the Level Meter is that it is showing levels around 8 dbl lower than the Output 1/2 meter. This could potentially be an expensive discrepancy not to mention may have a negative effect on the end product's sound quality.

    Eriksimon wrote:
    If you used a meter as an insert, it comes, like other effects plugins, before the fader. Sorry, I didn't read attentively the first time.
    Still, the effect is the same as pre-fader metering. The signal passes the meter before it goes to the fader. If you turn pre-fader metering on you'll see that your faders don't affect the channel strip level meters anymore and behave like inserted level meters as well.
    So if you lower the fader on channel 1&2 so you no longer see clipping, how does it work?
    1. Does it lower the output simply telling you that you are not clipping going out from fader 1&2?
    or
    2. Does it lower the input from all contributing channels so that the source coming to fader 1&2 no longer clips?

  • Sound level options for voice analysis

    I have two questions.
    I am analysing voice signals using GRAAS microphone, NI9234, cDAQ 9178 & labview 2011.   I am trying to produce a two dimensional graph of the signal with SPL (DB)(y-axis) versus frequency (x-axis).   I noticed that the SVT sound level.vi from the sound & vibration toolkit outputs into 4 different values;
    1. exponential averaging sound level (dB),
    2. Leq sound level (dB),
    3. running leq sound level (dB), and
    4. peak sound level (dB). 
    Which of this four should I use.
    Is it right that I should use linear weightage for human voice analysis?
    Thanks in advance

    If you've put the sound level to max & still not so comprehensible audio, it could be a hardware fault. A long shot, this haps to my friend check the small hole for the speaker if there is grit/dirt blocking it.
    Knowledge not shared is knowledge wasted!
    If you find it helpfull, it's not hard to click the STAR..

  • Sound Level Pressure with several channel

    Hello,
    I met a problem with the VI "SVL Exp Avg Sound Level.vi". It works perfectly if I make a measurement with a single microphone, but with more microphones I have some computation error with discontinuity depending on the buffer size.
    The following message is given in Labview Help :
    "The SVL Exp Avg Sound Level VI requires a continuous input data stream. An
    internal mechanism automatically detects any sampling discontinuity and resets
    the filters. "
    I suppose that there is a link with my problem, but I have no idea to correct it.
    Here is my VI which is composed of a producer/consumer pattern. The consumer loop computes the sound level pressure during the measurement and stores the measured data in a TDMS file.
    I am not expert with enqueue and dequeue function, so maybe it is bad programmed and I have some discontinuity in my data stream coming from the dequeue function.
    Thanks for your help,
    Mathieu

    Based on your screenshot, it looks as though your code may be computing the weighted sound level for each channel in a single For Loop. The Weighting VIs and the Sound Level VIs maintain state, so it is not correct to use it in a For Loop to process multiple channels. Instead, wire the entire array of sound pressure channels to the input of the weighting and sound level VIs. The polymorphic VIs will adapt to the input type, and if the input data is continuous, the warning will not be returned.
    Interestingly, you may be able to simplify your code if you specify the read order to group measurement types. Here is some code that I was looking at when evaluating performance for some different approaches to grouping waveforms. The Group by measurement type case was the fastest.
    Doug
    NI Sound and Vibration
    Attachments:
    performance_read by meas type.vi ‏79 KB
    Get Channel Names by Measurement Type.vi ‏23 KB

  • Showing sound levels on audio record

    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?

    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

  • Any automation for output sound level conflict?

    I just upgraded my home computer to a shiny new(er) G5 iMac, running 10.5.5. I don't know which of those are the necessary conditions for a change in output sound level behavior that I'm trying to tame. I have generally kept my cordless headphones permanently plugged in, rendering the old machine (G3 iMac, 10.4.11) silent to the outer (quiet) world of my house, including when it does a scheduled startup in the morning with some people still asleep. This worked well until the new machine arrived. Now the machine is still silent (outside of the headphones) all the time except when it powers up -- the startup chord now plays through the speakers regardless of a plug in the output jack. The problem comes with the output sound level. For headphones, the overall sound level needs to be at maximum. But the overall sound level seems to be the only volume control on the startup tones, and it is then at wherever it was set when the machine was last shut down. So if I forget to run the sound level down to 1 or zero before shutting down, the startup blasts everyone out of bed! So: I now have a sticky note on the iMac reminding me to turn down the sound at shutdown, which will usually work. My question: is there a more elegant way? Is there some way to automate the turning down at logout time, say? I'm inexperienced at scripting, but happy to learn. Any and all suggestions appreciated!

    There were no responses to my problem, so I will post a resolution. I dug a little, and found there are several add-ons out there for this problem.
    One is http://www5e.biglobe.ne.jp/~arcana/software.en.html, which has the elegant interface of an added system preference pane. However, it is in a beta release, and temporary administrator authentication does not work. As far as I can tell, in order to get it to work, you have to login and run with administrator privileges, never a good idea. Maybe someday this app will work.
    But I hit paydirt with an app called Psst, http://www.satsumac.com/Psst.php. This does just what I wanted. The interface isn't as elegant; you just run the app and make your settings, then quit. It leaves a daemon process running at every startup that does just what you want: it saves the global audio volume and resets the volume to the Psst setting at shutdown. Then at the following startup, the startup chime sounds at whatever the Psst setting was, then the audio volume is set back to the saved value. You can just forget it's there, having once set startup volume level.
    Too bad that Apple didn't build this in the latest Mac OS, but Psst seems to fill the gap.

Maybe you are looking for