Home AMX User Forum NetLinx Studio

Logarithmic volume c curve

I'm looking for the way to make Logarithmic volume C curve for IMAGENICS AUDIO LEVEL CONTROLLER ALC-88B. As a normal way I make a B curve. If some body can help me to make Logarithmic volume c curve. This code for B curve & it work perfectly.

if(VOLUME_BAR<10)
{
send_string dvVol,"'#A',ITOA(AOUTPUT_NO),'00',ITOA(VOLUME_BAR),$0d" //send vol to vctrl
}
else if(VOLUME_BAR<100)
{
send_string dvVol,"'#A',ITOA(AOUTPUT_NO),'0',ITOA(VOLUME_BAR),$0d" //send vol to vctrl
}
else if(VOLUME_BAR>255)
{
send_string dvVol,"'#A',ITOA(AOUTPUT_NO),'255',$0d" //send vol to vctrl
}
else
{
send_string dvVol,"'#A',ITOA(AOUTPUT_NO),ITOA(VOLUME_BAR),$0d" //send vol to vctrl
}
Sign In or Register to comment.