LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

simple vi to save input .wav file - what went wrong?

Hi,

 

 I'm a beginner to Labview & am trying to implement a vi to save an input .wav file to an output .wav file.

 But the output saved vaguely resembles the input. Could someone please tell me where my mistake lies?

 

Appreciate your input.

0 Kudos
Message 1 of 5
(3,223 Views)
I have a little secret, but keep it between the two of us. If you go to help in the toolbar and then select find examples. This will give you access to the vast example collection in Labview. Tip search for sound😉


Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 2 of 5
(3,210 Views)

Hi hdavuluri,

 

First, the LabVIEW Example Finder is a tremendous resource for many programming tasks.  I'd suggest checking out Sound File to Sount Output, or Sound Input to File, for starters.  Secondly, why are you trying to do this?  It seems (from your VI) that you are just opening a file, taking the data, then writing it to another file--why?  If the examples do not help, then post back with some more details. 

 

Cheers, 

 

Marti C
Applications Engineer
National Instruments
NI Medical
0 Kudos
Message 3 of 5
(3,186 Views)

Thank you for your quick responses. I needed to implement this as part of a sound effects vi where I had to save the modified audio into a new wave file. I configured a simpler vi from the examples, but still cant understand why my original vi fails to work.

 

Well anyways, appreciate your advice.

0 Kudos
Message 4 of 5
(3,172 Views)

I do not think you have looked at the "Sound File to Sound Output.vi" example. This is the correct way of doing this. Also a few tips. Always enable context help. Do it by toolbar->help->show context help. Do not be afraid to go into details. Then working with Labview it is a very bad approach to just toss in functions and then hope everything will work.



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 5 of 5
(3,143 Views)