Skip to main content
Inspiring
October 31, 2024
Question

Audio levels expression for check box control

  • October 31, 2024
  • 1 reply
  • 307 views

i want to make a mogrts template for logo animation, i hope it can be toggled with audio on and off with the "checkbox control". anyone please tell me what the correct expression it should be?  

the first line shoud be correct, but the second line   if (y==1)100; else 0;   how to make right?

 

 

thank you in advance, really appricate!

This topic has been closed for replies.

1 reply

Brainiac
October 31, 2024

you need to return an array with 2 values:

 

y == 1 ? [0,0] : [-100,-100]; 

 

 

 

Inspiring
October 31, 2024

hello, could you please explain that "2 dimensional array" to me ? i am so bad to understand this... thank you so much.

Brainiac
October 31, 2024

In fact, no, it's an array with 2 values, 

1 value for the left channel and

1 value for the right channel