-
y rotation linked 2 soundkeys output
Hi everyone, can you help me to fix my problem?
i want to connect null object y rotation with 2 output soundkeys
i have this for expression:
minAudio = 7;
maxAudio = 50;
minStretch = 0;
maxStretch = 50;and this my soundkeys output
thisComp.layer(“a3”).effect(“Sound Keys”)(“Output 1”)
thisComp.layer(“a3”).effect(“Sound Keys 2”)(“Output 1”)for sure..
example:
in this frame,
first output value 10, and second output value 0
and next frame, first output is value 0, and second output value 20i want to make first output value (-) and make first output value plus second output value
or you can say, if y1= first output and y2 = second output, may be like this —> -y1 + y2 = value for expressioni already try this one
minAudio = 7;
maxAudio = 50;
minStretch = 0;
maxStretch = 50;y=-(thisComp.layer(“a3”).effect(“Sound Keys”)(“Output 1”)*-1)+(thisComp.layer(“a3”).effect(“Sound Keys 2”)(“Output 1”))
yr = linear(y, minAudio, maxAudio, minStretch, maxStretch);
[yr]and this one
minAudio = 7;
maxAudio = 50;
minStretch = 0;
maxStretch = 50;
y1=thisComp.layer(“a3”).effect(“Sound Keys”)(“Output 1”);
y2=thisComp.layer(“a3”).effect(“Sound Keys 2”)(“Output 1”);
y=(-y1)+y2;
yr = linear(y, minAudio, maxAudio, minStretch, maxStretch);
[yr]all not working, or work but have a missing expression
plese some one help me, im sorry for my less experience, and thanks.