LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I convert a wave file to a jpeg file (picture) is it possible???

Hello:
How can I convert a wave file to a jpeg file (picture) is it possible???
0 Kudos
Message 1 of 3
(4,484 Views)
zuckini;

I am pretty sure you know, but just to be completely sure: a wave is (usually) sound signal and a jpeg file is an image.

If you mean how to display the wave signal in a graph and then save the graph as a jpeg file, then just drop a graph indicator in the control panel, wire the signal. Check any of the example shipped with LabVIEW on how to do this. To get the image, drop a graph indicator's invoke node in the block and select "Get Image". Check this page for detailed information.

If you have something else in mind, please reply to this message with additional information about the wave signal, the image, etc.

Regards;
Enrique
www.vartortech.com
0 Kudos
Message 2 of 3
(4,475 Views)
See if this does what you want.

I took the wav file and read it in (you may have to change the path, and only one of the 4 possible arrays from the Snd read wav file.vi will be populated depending on if the selected wav is 8 or 16 bit and stereo or mono... currently it is set up for a 16 bit stereo wav file.) Then I got the image data and wrote it to a jpg file.

Hope this helps.

-Dave
0 Kudos
Message 3 of 3
(4,466 Views)