Skip to main content
Inspiring
October 31, 2024
Frage

Audio levels expression for check box control

  • October 31, 2024
  • 4 Antworten
  • 319 Ansichten

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!

Dieses Thema wurde für Antworten geschlossen.

4 Antworten

Legend
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.

Legend
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