Analysis of the microphone signal-frequency band

Hi
I made a program to analyze the signal from the microphone (FFT, STFT) but I have one thing to do. I have a graph amplitude-time
I need to change the signal frequency for example 50 Hz for example by moving the slider that on the chart were waveforms amplitudes in certain frequency bands.
How to choose the frequency of the signal to change the band on the graph?
Thank for help.

In your analysis results, what is the delta frequency between datapoints? Just increment through the array of amplitude values. For example, if your datapoints are 5Hz apart, simply index out every 10th value in the amplitudes. If the increment is a non-integer value, you will need to do some interpolation, but other than that the process is basically the same.
Mike...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

Similar Messages

  • Can you tell me how to measure audio signal frequency in measurement studio with visual basic 6.0?

    I'd like to measure two differential input signal(I.e. A+ and A-),below is two test projects,
    1.connect A+/A- to PCI 6052E card's ACH0/ACH8 ,and refer to GND for testing
    2.connect respectively A+/A- to PCI 6052E card's ACH0/ACH8 for testing
    Could you tell me the details of the second project?and give me a illustration in measurement studio with visual basic 6. 0 about the second?
    In addition,I would like to measure the audio signal frequency,could you give me a illustration in measurement studio with visual basic 6.0?
    Wait for your reply!

    Dear kelven,
    Thank you for contacting National Instruments.
    To address your question, there are Analog Input shipping examples that demonstrate how to measure an analog input differentially, as you specify in (2).
    As for measuring the audio signal frequency, you may want to check out the following KnowledgeBase. The link is:
    http://digital.ni.com/public.nsf/websearch/4b08380530d72d3b86256340004c3005
    Let me know if you have any further questions or if this does not resolve your issue.
    Thanks again and have a great day!
    Chad AE
    Applications Engineer - National Instruments

  • Any equalizer program in LabVIEW SVT which can control the dBPa under 1/3 octave frequency band?

    Could we adjust the dBPa of a wav file by equalizer and then save the dBPa modified file to the other wav file for play? The equalizer should be controlled under 1/3 octave frequency band.

    Taipo,
    If you import the .wav file into LabVIEW and convert it to the waveform data type, you could use the SVT to do third-octave analysis on the waveform and then use the SVT Weighting Filter VI to adjust the level of different octaves in the signal.
    If you are looking for a pre-made equalizer example for a .wav file in LabVIEW, we do not have an example that does that at this time. However, there are many programs available on the internet that can equalize a .wav file.
    Sincerely,
    Ross C
    Applications Engineer
    National Instruments

  • How do you calculate the instantane​ous frequency of a signal in LabView?

    I'm working with neural signals that can be described as a nonlinear series of action potentials.  I've already calculated the spike density function (spikes per second against time) and was wondering if this is the instantaneous frequency?  If not, could someone please describe how to calculate instantaneous frequency in LabView without the advanced signal processing toolkit.

    Instantaneous frequency is a term which seems to be context-sensitive.  In other words the definition can vary depending upon the application.
    Spikes per second would be more of an average frequency (averaged over one second).
    For your neural signals I would think that an instantaneous frequency would be defined as the reciprocal of the time between successive spikes.  Since you can count spikes, you should be able to determine the time of each spike.
    Lynn 

  • How to fix the signal with the microphone to the computer when recording through an interface? every time i record and play back i get poor signal and a lot of fuzz

    How to fix the signal from the microphone to the computer when recording through an interface in logic pro? Every time i record and playback i get poor signal and a lot of fuzz.. how can i fix this problem?

    Which model computer?
    What operating system?

  • What is the effect of output signal with the same sampling frequency but different number of samples?

    Hi,
    I'm using PXI4461 for audio measurement and there is a question about analog output. I'm using the Basic Multitone vi for generating multitone signal. The sampling rate is 200k and my question is how to determine the number of samples. I used an audio analyzer to measure the distortion of the output signal with 200k and 1k points and there are no different except the update rate. What number of samples is suitable for 200k sampling rate?
    Thanks,
    Bill

    The Sampling Rate determines the maximum frequency that you can see (the rate/2 according to Nyquist).
    The number of samples divided by the rate determines how long you will sample. This sample time can only be determined by you. Do you need .1 seconds worth of data, or 1 second? But note that the MINIMUM frequency that you can detect is 1/(Sample Time) or the Sampling Rate/Number of Samples. So if your system has a minimum and maximum frequency specification use that as your guild.
    [email protected]

  • Can the microphone jack input be configured for a stereo signal from a tape deck without overloadin​g

    Can the Microphone jack input on the HP Pavilion dv6  be configured to take in a stereo signal from a tape deck without overloading the microphone jack, i.e., so it acts as a Line In jack?.  The jack is too sensitive to accept the typical signal from a tape deck or stereo tape out jack from an audio receiver, and the incoming sound is overloaded and distorted.  Also, connecting from a stereo receiver headphone jack so the level can be controlled to the laptop microphone jack lowers the signal strength but contains a lot of background hum.  Any way to configure the microphone jack to have it work as a line in jack?

    There're two ways to connect it. One is through the digital output ( which is the same as the front line out on the Audigy and is a different jack on the Audigy 2 series ) or through the front line out.
    In either case, you need a stereo mini-plug to phono x 2 connector adapter cable.
    In the case of a digital connection, only one of the plugs will carry the signal. For analogue connections, simply plug the two phono outputs into the L/R phono inputs on yer receiver.

  • How to calculate power in specific frequency band

    Hi Everyone. I have been trolling on here for months but this is my first post so I hope I am putting this in the correct place.
    What I am trying to do is simple in theory but I have tried over and over and am having no luck in getting this to work. I wish to calculate the power in specific frequency bands for heart rate variability analysis.
    Referring to the article "Using LabVIEW for Heart Rate Variability Analysis"  http://zone.ni.com/devzone/cda/epd/p/id/5832 I am aware of the steps I need to follow.
    I have plotted the RR intervals and resampled these with cubic spline interpolation to give a nice time dependent series. I then wire this to a PSD VI and this is where I am out of my depth.
    I know from the above article that I am looking for power in these frequency bands
    VLF  
    ms2
    Power from 0–0.04 Hz.
    LF  
    ms2
    Power from 0.04–0.15 Hz.
    HF
    ms2
    Power from 0.15–0.4 Hz.
    The NI Biomedical Startup kit can do these, however I am unable to look into the source code as I do not have some required plugins in my installation. I have LabVIEW 8.6 full development system.
    As this is not my area there is a steep learning curve and I have read many forum posts and pages but am still unsure of what I need to do here.
    It is my understanding that the frequency resolution is simply the sample rate/number of samples. So if I require a resolution of 0.01Hz then theoretically 100Hz sample rate and 10,000samples would give me this.Furthermore I gather that the size of the output array from the PSD VI is equal to the # of data points (This i have just noticed from trial and error so I may be wrong).
    Therefore if I am using the above values then is it correct that PSD would return an array and all I need to do is simply sum the contents of those array elements to get the power?
    For example if frequency resolution is 0.01 , then to get power from 0-0.04Hz I must simply add the first 4 elements in the PSD output array?
    I have made a test VI to show what I am talking about and attached it to this post.
    Some feedback on the required approach would be a lifesaver here. I have purchased a couple of books and read through pages of forum posts but am still having trouble with this.
    Many thanks!
    Attachments:
    labviewhelp.jpg ‏53 KB

    Sorry about that, I didn't realize you wanted to run the code too The VI was doing a bunch of other stuff so I have tried to clean that out and just leave the relevant bit. As mentioned above, the case block executes when a peak is detected in the data and appends this value to an array.
    I am using the technique of resampling the data because this is what was mentioned in this http://zone.ni.com/devzone/cda/epd/p/id/5832 and also in another reference that I have been following titled "Heart Rate Variability Standards of Measurement, Physiological Interpretation, and Clinical Use" http://circ.ahajournals.org/cgi/content/full/93/5/1043 which states
    "The spectrum of the HRV signal is generally calculated eitherfrom the RR interval tachogram (RR durations versus number ofprogressive beats; see Fig 5a,b) or by interpolating the DES,thus obtaining a continuous signal as a function of time, orby calculating the spectrum of the counts–unitary pulsesas a function of time corresponding to each recognized QRS complex.35Such a choice may have implications on the morphology, themeasurement units of the spectra, and the measurement of therelevant spectral parameters. To standardize the methods used,the use of RR interval tachogram with the parametric method,or the use of the regularly sampled interpolation of DES withthe nonparametric method may be suggested; nevertheless, regularlysampled interpolation of DES is also suitable for parametricmethods. The sampling frequency of interpolation of DES mustbe sufficiently high that the Nyquist frequency of the spectrumis not within the frequency range of interest."
    Attachments:
    Exp-PulseOximeter.vi ‏205 KB

  • How come I do not get the same signal in LabView??

    Basically, I want to reproduce a force curve on Nanoscope program into Labview, since labview has faster aquisition rate.
    Anyways, since there are two voltage signals, I wanted to plot XY graph of them. However, I get a wierd signal that is not quite close to what I am supposed to get.
    I am thinking about maybe there are some noise problem, or there is a little delay in getting the two signals (ex, the two signal is not in sync)
    If anyone has similar experience or tried to the same experiment, please let me know. It would be really helpful.
    Thanks.
    Attachments:
    ScreenShot048.gif ‏3 KB
    ScreenShot016.gif ‏53 KB

    Hi,
    I just wanted to filter the y signal. Tried using smooth filtering, but didn't work well. Now, I am trying the Lowpass with 30Hz cutoff frequency; however, when I run my VI, it give me this error message
    "Analysis: The following conditions must be met: 0 < f_low <= f_high <= fs/2."
    If I can get better signal for y axis, I might get a better graph, as you said.
    Thanks and if you know what that error is for and what to do to make it run, please let me know.
    Mike.
    Attachments:
    ScreenShot002.gif ‏26 KB
    ScreenShot004.gif ‏25 KB
    ScreenShot005.gif ‏43 KB

  • TTL signal Frequency

    I am measuring the number of edges (per second)of a TTL signal to calculate the RPM of 2 gear drives. I get a random error due to software timing. I cannot use hardware timing as my PCI6014 card has just 2 counters. I have tried all other methods(period,pulse mesurement)using counters.
    I have now connected my TTL signal to my AI channel0 and I am scaning it 10000 scans/ sec. I am then passing this waveform to single tone extraction vi to find out the frequency of my input TTL signal. But I get a totally different reading as my frequency. I get some frequency value even when my shaft does not rotate.I also tried the period,duty cycle using another VI available in waveform analysis palatte.
    I eliminated all noise in the input signal by representin
    g my input signal as an integer. So my input signal would be either 0 or 5V.
    Is this the right approach? Or am I messing up.Please suggest the best way to measure frequency of a TTL pulse without using a counter.

    Hi Balaji:
    Please look at the example I am attaching with this post. Please keep in mind that you have to sample at least 10 times the frequency of your incoming signal.
    Try connecting a simple square wave to analog input channel from a function generator and see if you can measure its frequency.
    Regards,
    Bharat Sandhu
    Applications Engineer
    National Instruments
    Penny
    Attachments:
    freqMeasure.vi ‏38 KB

  • Microphone's frequency response

    Hi,
    Is it possible to plot a microphone's frequency response using sound and vibration? If it's possible, can anyone tell me how?
    Thanks

    Hi popcorn,
    If you have the Sound and Vibration Assistant with SignalExpress, there is a step you can add under Analysis - Frequency Domain Measurements called, Frequency Response.
    Here's a link to an article that discusses various functions, Sound and Vibration provides.  Although the article discusses LabView, many of the same functions are found in SignalExpress as well.  The Frequency Response Function can be found at the bottom.
    http://zone.ni.com/devzone/cda/tut/p/id/3030
    Aki T.

  • Tone measurement express vi affect the output signal?

    Hi everyone, I am doing a oscilloscope to measure the input signal coming from my analog input of myRIO. I am still new to Labview and I not sure how to implement the tone measurement to measure my signal frequency, amplitude and phase. The first diagram below show the program before i haven't add the tone measurement express vi, the signal get from the waveform graph seem great. However, when i added the tone measurement express vi, the signal seem distorted and unstable. Does anyone know how to solve this problem? Is it the way I implemented is wrong?
    Figure 1: without tone measurement express vi
    Figure 2: with tone measurement express vi

    I would like you to prove the "bug" that you're describing by creating an example that shows the calculated and the expected results. By opening the code of the "Spectral Measurements" Express VI you can dig into the heart of the calculation, and there (in the "ma_FFT Power Spectrum and PS Density no State.vi") you will see that the Power Spectral Density indeed IS calculated by using the formula PSD = (Power Spectrum/(df*Noise Power BW of Window)). See the attached PSD.jpg that shows where the calculation happens.
    The Power Spectral Density is supposed to be dependant of the chosen Window. Please read chapter 5 "Smoothing Windows" in the "La
    bVIEW Analysis Consepts" manual.
    Best regards,
    Philip C.
    National Instruments
    - Philip Courtois, Thinkbot Solutions
    Attachments:
    PSD.JPG ‏139 KB

  • I have the iPad 2 16GB, bought it in August 2011, I worked perfectly but in mid-August 2012 I took her to the store because the microphone did not work reviewed and changed me, but to my surprise that the new iPad had the problem is disconnected WIFI sign

    I have the iPad 2 16GB, bought it in August 2011, I worked perfectly but in mid-August 2012 I took her to the store because the microphone did not work reviewed and changed me, but to my surprise that the new iPad had the problem is disconnected WIFI signal I have to be glued to the router, and I did everything he says is supported by the Apple and all other pages and forums regarding this problem is not solved and always disconnects when connected always disconnects again!! passing will be settled as no longer factory warranty although it has neither the three months I renewed new, please help because the investment has been great and I can not use only as "a mirror" I'm waiting a true solution, thanks ....
    Sincerely,
    Catlos

    This does help me because I am pondering on wether to buy an airport extreme to solve my ipad 2 connection woes.  I have an extremely old router dLink 524....but I have NEVER had any problems with it at all ever.  My xbox connected great to it and netflix ran flawless through my xbox.....now I have an ipad2 and an apple tv and they are BOTH having horrible connection problems.  I have read most of the forums on how to fix it by changing the settings on my router but since mine is so old I couldn't do some of the suggested solutions.  So here I am debating on whether to spend all this $ on an airport extreme?  I am just hoping that if I go and purchase this, my connectivity issues problems will go away like yours did.  Just wondering if you have ATV as well and if the AE solved its problems?  I have read about AE solving ipad2 wifi problems, I'm just hoping it will solve my ATV as well.
    **Glad they didn't "moderate into extinction" your post yet, lol, Thank

  • Is it possible to replace the iTunes (Mac) 10 band EQ with Apple's 31 band EQ?

    Apple supplies a very nice 31 band graphic equalizer as part of its Audio Units. This is the same Audio Unit as the 10 band graphic EQ. You choose to use 10 octave bands or 31 1/3 octave bands from within the module. So I guess it should be possible to use the 31 band EQ from inside iTunes Mac. Anybody figured out how?.
    Why do I need it?. My current stereo music palyback system is comprised by a MacBook Pro, a PreSonus FireBox D/A converter and a pair of Meridian M2 active speakers, which, good as they are, have an annoying, narrow 3 dB peak at 3 kHz. The nearest bands on the iTunes 10 band EQ fall exactly to each side of this peak (2 & 4 kHz), so to attenuate the 3 kHz peak I need to push down the 2 & 4 kHz bands a bit, but the resulting filter is far too broad and the outcome is never pleasing. I tried with Apple's AU's 31 Band Graphic and the Parametric EQs from within Fidelia and the result is quite good. But I don´t like Fidelia's interface and limited library management capabilities, so I prefer to use iTunes as the main music player.
    I tried running the iTunes audio through AU Lab using SoundFlower, and it does work when using the Mac's Buit-in output, but when I choose the FireBox output AU Lab stops receiving any audio. Switching back the AU Lab output to built-in audio resumes the audio input to the AU Lab document. I tried all sorts of combinations with no luck. Maybe this is because the FireBox is also an audio input interface?. Anybody knows how to fix this issue?.
    But all this fuss would be saved, and a lot of people around the world would have a much better life using iTunes in their Macs, if Apple allowed choosing to use the 31 band graphic EQ from within iTunes, which has the narrow 3.1 kHz band that I need to flatten out the frequency response of my speakers. Many other users mught also benefit from the finer control to correct loudspeaker or room acoustics defficiencies.
    Any ideas?. Would Apple please allow users to choose the rpeferred EQ: 10 or 31 band?. Thanks in advance!

    This is perfect: https://www.rogueamoeba.com/audiohijackpro/
    Even in trial mode, it allows you to insert every AU plugins you want, configuring each application with a specific audio chain you desire.
    I'm currently using it for music (Itunes or Spotify, 31 band Eq as you said), but for watching movies could be a good choice as well.
    I find it particularly useful when I watch movies at night. In order not to **** off the neighbors, I put a compressor at the beginning of the audio chain to reduce the dynamics, allowing me not to have crazy volume jumps.
    Best,
    Luca

  • Mic mini to IIyama ProLite E431S: signal frequency out of range

    Hi, I've just got a problem with the display (despite everything worked well together for more than a year): the screen is black, with only the following message:
    Attention signal frequency out of range
    H: 05.2 KHz V: 05.2 Hz
    Please change signal timing
    It suddenly happened yesterday, but everything was OK since I bought it, except some quick shutdown of the display from times to times
    I don't know what to do, since I've got only one display so I can't modify the parameters of the mac mini
    Thank goodness I also have a laptop to write this message.

    Try starting in Safe mode. To do this, hold down the shift key during a restart. Hopefully you will get a working screen back. Then change the display settings to what you had before and restart normally.

Maybe you are looking for