03-12-2009 06:02 PM
Hello:
I am trying to figure out how to convert (voltage samples) to play different frequency of sounds (e.g., at 1 voltage have the play waveform.vi have a different pitch than another voltage let say 2 V). Additionally, I also want to configure the "Sound Output Set Volume" to change the volume of the output based on the voltage also. Any insights to these problems would be greatly appreciated.
03-12-2009 08:21 PM
Not quite sure what you mean. Sounds like you want one voltage to control both the frequency and the volume at the same time. Do you mean two voltages?
If that's the case, you need to define a function that will relate the input voltage to the output frequency, something like f = 4000*V (for a five volt scale), and something similar to volume. Do you have that or am I misunderstanding your question?
03-12-2009 09:53 PM
03-13-2009 10:40 AM
Hi schola,
You can add two signals together by using a simple add block. In order to make the conversion of your volume signal to decibels, you will have to know what the volume values from 0-100 correspond to in pascals for your system. Thanks!