08-19-2008 10:47 AM
I am trying to create a sound that last 100 milli seconds. It requires a 10 ms fade in and fade out.
The fade eliminates the popping sound that occurs when the sound starts or ends.
I tried using a while loop to create it, but it does not loop fast enough.
I wonder if there is a way to assemble the sound waves slowly and then play them.
Any suggestions?
08-19-2008 10:58 AM
You cannot use software to perform precise timing. This means that if you need precisely 10 msec before and after the sound with extra time between the pad time and the actual sound, you will need to either
(a) create the combined sound with some other application and play it from LabVIEW
(b) write out a temporary sound file to disk that has the 10 msec pads added (using the LabVIEW functions to write binary files) and play this. Don't ask me how to do this, as I don't know.
Other comments regarding the code: