03-31-2016 12:50 PM
I am updating an older application that uses audio prompts. The updated version produces MUCH lower volume at the same Windows and speaker volume settings than the origional.
The 2012 version uses the Play Waveform Express vi with only the sound file input.
The 2014 version uses the individual sound output vis based on the "Sound File to Sound Output.vi" example.
Has anyone else had a similar problem and can explain what happened and how to fix it?
William A (Bill) Monette
Indiana University, School of Optometry
03-31-2016 02:05 PM
Contary to my assumption it is NOT the Labview version that is different. I put together the attached and the express vi is MUCH louder! Why and how can I get similar volume for the string of vis?
William A (Bill) Monette
Indiana University, School of Optometry
03-31-2016 03:40 PM
Interesting question I'm about to investigate. But why, oh why, do you have two Case Statements? The False case of the first Statement is the True case of the second statement -- simply put the second "True" code into the "False" case of the first Case Statement and delete the second Case altogether. If True, use lots of VIs, if False, use the Express VI.
Bob Schor
03-31-2016 03:44 PM
You are, of course, correct. The many vis version was copied from my application where I need the case statement and I added the second on without thinking.
Bill
03-31-2016 03:52 PM
I assume you noticed that the Express VI gives you no Volume Control. The code inside the Express VI by which it produces the Sound uses other algorithms than the "usual" ones that LabVIEW provides (and that you used in the "do it yourself" case, with a Volume control). There are VIs that seem to function to auto-amplify the sound to be the loudest possible by adjusting the waveform that you provide, bypassing any "gain" or "loudness" inherent in the waveform itself. So, basically, the Express VI "cheats".
Bob Schor