LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

No Sound from Recorded WAV File

I am actually acquiring sound file from built-in microphone in the laptop and I am writing the acquired signal into wav file.The issue is that it works well and shows the acquired signal, but when I stop my vi and play the audio wav file, I am unable to find any sound.Attached a vi for your refrence.

0 Kudos
Message 1 of 6
(4,411 Views)

@sets wrote:

I am actually acquiring sound file from built-in microphone in the laptop and I am writing the acquired signal into wav file.The issue is that it works well and shows the acquired signal, but when I stop my vi and play the audio wav file, I am unable to find any sound.Attached a vi for your refrence.


Can't really say it's working well if the desired output isn't there.  The way you have it set up, it will continuously record 1 second worth of sound and overwrite the previous second worth of sound.  Are you sure you're just not listening to the last second of sound, which might be really quiet?

 

Check to see if your sound file is one second of something really quiet.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 2 of 6
(4,406 Views)

I have changed it to 1 to 2 sec to 5 sec then to 20 sec but nothing happens....

0 Kudos
Message 3 of 6
(4,392 Views)

Let's start with some basics, like requirements.  What are they?  Are you trying to acquire one second of audio, or are you trying to acquire continuous audio until you stop?

 

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 4 of 6
(4,374 Views)

You might be facing problems because of the non existing file. I added a file dialog into your vi so the you can choose the file before you start the program. 

 

ricardo

RKO
0 Kudos
Message 5 of 6
(4,371 Views)
The file IS chosen before the program starts. That is what the file path constant does.

What sort of amplitude do you see on the graph? What are you using to play the file. What are the settings for your microphone?
0 Kudos
Message 6 of 6
(4,364 Views)