07-18-2001 03:34 PM
07-19-2001 11:59 AM
05-04-2006 03:34 PM
How do you shift the frequency to a more audible range after calculating the FFT?
M.Leo
05-05-2006 04:18 PM
Hi M Leo,
Shifting frequencies is discussed in this post which may be helpful. Otherwise, I am thinking that you're working with a waveform datatype in LabVIEW? There is a VI called Get Waveform Components which will return your initial time, delta time, and then the array of values in the waveform. You could pull out these components and then rebuild the waveform with a new delta time using the Build Waveform VI.
Hope this helps!
Megan B.
National Instruments
05-06-2006 05:52 AM
Hey Megan,
Thanks for your help!
I tried what you suggested, however I'm having problems with my audio output.
According to the freq spectrum graph the frequency shift works, however there is no change in sound from the speaker when I adjust the rate. Any ideas on why this happening?
I am outputting the signal through the sound card and wish it to remain as close to real time as possible.
Thanks again
M.Leo
05-08-2006 05:12 PM
Hey MLeo,
Check out the Generate Sound.vi that ships with LabVIEW. This VI allows you to set the frequency of the audio output and it's easy to hear the differences. I tried between 300 and 1000 and the changes were clear. I suspect that the frequencies you are using are too high and either the speakers can't really show the variation or our ears can't differentiate them.
To find the VI, just go to Help>>Find Examples and search for sound.
Hope this helps!!
Megan B.
National Instruments