10-08-2009 12:26 PM
I am trying to play a file that I recorded using Signal express and having issues. The file is a recording of about 5 seconds or so using an NI-9233 with a PCB microphone. I saved the recording to a LVM file.
I am now using labview to read the file and apply a bandstop filter so I can see what it sounds like with certain frequencies blocked out. It appears that the spectral express VI shows the proper FFT of the file so it seems that that data is good.
But the next step is to use the "Play Waveform" vi. Here it gives me the error "The sound driver or card does not support the desired operation". The "Test" function works fine (I hear a beep).. but the vi does not allow me to change any of the parameters.
Do I have a way to find out what specifically it does not like? This is on a Dell Latitude D620 laptop.
I would attach the file but it's too big.
Any ideas regarding this?
Jeff
10-09-2009 03:49 AM
10-09-2009 07:29 AM
Main.VI is the program that reads the recorded data and tries to play it. The data is an LVM file. It's too big to attach.
THe Signal Express project is the program that recorded the original data. It's just one channel from a microphone and saved over a few seconds.
10-09-2009 07:34 AM
I was wondering, if it's possible that, since I recorded the sound with a high end free field microphone from PCB, which I assume to be single channel, could this be a problem when using the play VI because it's expecting two channels?
10-09-2009 08:11 AM
(Shudder! So many Express VIs 😉 ) You can not send the spectrogram to the sound card. That does not make any sense at all. You must send your sound samples to the sound card. Either before or after using filter. Which sample rate do you use. Some sound card do not support all samplerates. But most (if not all) sound cards do support 11025,22050 and 44100, and maybe 8000 also. Use one of these samplerates then sampling with your "NI-9233" device
10-09-2009 10:06 AM
I apologize for the many express VI's. I normally do not use them. I was trying to throw something together very quickly.
I think I understand what you're saying. I sampled at 50KHZ so I see your point. I thought I was sending raw data to the sound card, as this is what I thought I recorded.
I will review my data acquisiton.
Thanks,
Jeff
10-09-2009 10:09 AM
Doh, I got it to work by exporting the Filtered Signal directly out of the filter express VI (sorry lol) into the play waveform express VI.
Thanks for the help!
Jeff