10-21-2013 01:11 PM
Hey,
I'm trying to transform a song to a constant. I'm creating an .exe and the audio file is always going to be the same. I prefer not to use a path selector so the user doesn´t use the incorret file.
Can someone help me please? A person told me to load the song in a waveform and then save it, but I'm not able to do it. I'm getting errors all the time. Can someone explain me all the process please?
Thanks a lot in advanced,
R
10-21-2013 02:54 PM
Use the "Sound File Read Simple.vi" to read in a .wav file and wire up the output data to a waveform indicator on the front panel.
Once you've run the VI, right-click on the waveform terminal on the block diagram and select 'Create' > 'Constant'.
You can then take this constant and wire it up to the "Play Waveform" express VI.
10-21-2013 04:02 PM
Thank you VERY MUCH!!!
I did it!!
R