03-19-2009 01:03 PM
Hello everyone,
This is my first time with locals so please forgive if i'm asking very simple question. My task is to create 3 controls master,left and right. The left and right channel can be set independently; moving the master slide needs to increment or decrement the left and right volumes proportionally. I've tried but so far failed i'm attaching the vi. Please tell me how to set the left and right channels independently along with master.
03-19-2009 01:07 PM
Blog for (mostly LabVIEW) programmers: Tips And Tricks
03-19-2009 01:10 PM
Consider, rather than actually manipulating the left and right volume knobs/sliders with the master, that you implement the volume control as the product of the two.
In other words, scale the "master" from 0.0 to 1.0
Use Left * Master as your left volume, and Right * Master as your right volume.
That's the way a mixing board works anyway.
Blog for (mostly LabVIEW) programmers: Tips And Tricks
03-19-2009 01:10 PM
Don't use locals, use property nodes.
Maybe something like this:
03-19-2009 01:17 PM
03-19-2009 01:24 PM
03-19-2009 01:44 PM
03-19-2009 01:57 PM - edited 03-19-2009 02:00 PM
03-19-2009 02:10 PM
03-19-2009 02:18 PM
O.K i try to simply it. Here I've to do two things.
1) when i chang master control left and right should also change proportionaly.(this is what i've achieved in the attached VI of mine).
2) the values of left and right can be changed independently also. (this is what i have not achieved). Hope you can help now.