LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to load wav file on CVI

Hello, 

I have a project on uploading two diffrent audio files, and combining them together. 

Is there a way to upload the wav file as an array on CVI?

 

Second, I would like to active the mix file on the UIR, is there a way to play the record on some kind of a media player? or anything on active X on CVI?.

 

Thanks for your help!

0 Kudos
Message 1 of 4
(2,846 Views)

With reference to your second question, an external resource like a media player or an ActiveX control may not be needed: if you installed the Interface to Win32 API you can use PlaySound to play your .wav file. This instruction is available both on the Base and Full version of CVI.

 

Alternatively you could directly interface to Windows Media Player via ActiveX: I have never tried but here there is the search result for "media player" on the CVI forum; you may find useful discussions in this list.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
Message 2 of 4
(2,783 Views)

Hey, I tried one of the oldest Active X post from 2005, but it didn't work on my system. 

maybe you have a demonstration for windows 10? 

0 Kudos
Message 3 of 4
(2,775 Views)

I haven't used ActiveX for that, but I have a sample program that makes use of PlaySound and works on Win10: you can find it here



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 4 of 4
(2,770 Views)