Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Audio levels expression for check box control

Participant ,
Oct 31, 2024 Oct 31, 2024

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?

burgerqing_1-1730409045323.png

burgerqing_2-1730409131110.png

 

 

thank you in advance, really appricate!

TOPICS
Audio , Expressions , How to
210
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Oct 31, 2024 Oct 31, 2024

you need to return an array with 2 values:

 

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

 

 

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Oct 31, 2024 Oct 31, 2024

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Oct 31, 2024 Oct 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Oct 31, 2024 Oct 31, 2024
LATEST

thank you.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines