03-05-2009 10:20 AM
Hello,
I was given the following assignment:
1) Record any data such as speech or your favorite music for 1-2 seconds and save it using the DSP STATION at the sampling frequencies of 10 KHz and 30 KHz.
(2) Play the two data files saved in step 1 using a sound card in the DSP STATION. Note that the DSP STATION plays sound at the sampling frequency of 22,050 Hz. Describe what you hear and why in your written report using the report template available in the download page.
(3) Complete the template VI that performs frequency conversion. Use it to convert the two data files with sampling frequencies of 10 KHz and 30 KHz to those at 22,050 Hz sampling frequency . Save the two output data files. The template VI is available in the download page.
(4) Play the converted two data files using a sound card in the DSP STATION again. Describe what you hear and why in your report.
Can someone please help me?I don't know how to get it started.
03-08-2009 01:36 PM
Hey ena,
The best way to get started would probably be to just mess around with the Sound VI's in LabVIEW. I'm assuming you do have LabVIEW. If not, you could probably download a trial version to get started. Anywho, the sound VI's are in Programming»Graphics & Sound»Sound in the functions palette. You can also look at these online documents:
1. Acquiring Analog Data and Outputting It with a PC Sound Card
2. How Can I Record Sound in LabVIEW from Sources other than the Microphone?
3. My Sound Card Does Not Appear in MAX under Devices and Interfaces
Here I am assuming you have only LabVIEW. Do you also have NI hardware, like some AI device?
Your first challenge is to get the data into LabVIEW, right? I'd focus on that task for now and make this discussion forum thread about getting that solved. Try to break your assignment down into different challenges and make separate threads for each challenge, if necessary. That will allow others to find answers more quickly to questions like yours in the future.
Please let us know if you have another question about getting the sound card data into your computer and prepared for storage or analysis.
Cheers,