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

Audio Amplitude Range ?

Community Beginner ,
Oct 29, 2015 Oct 29, 2015

Hello. When make an audio amplitude and make a certain effect react to the audio linear(value,xx,xx,yy,yy) how can you find the xx,xx values using trapcode soundkeys ?

TOPICS
Expressions
1.7K
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

correct answers 1 Correct answer

Community Expert , Oct 29, 2015 Oct 29, 2015

You set the range in sound keys by looking at the waveform display. If you put the top corner right at the top of the highest peak then you'll get a value close to 100 there. If you put the bottom corner of the range sample about half way up then you will get zero for everything below that value. You can then use the graph editor to view the values and see what the looks like. When you are selecting values for the corners you can see a bar on the far right side of sound keys that shows you the r

...
Translate
Community Expert ,
Oct 29, 2015 Oct 29, 2015

I recmmend to view the audio amplitude property in the in the graph editor. This does not give you 100% accurate upper and lower bounds, but it is easy to estimate good values.

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects
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
Community Expert ,
Oct 29, 2015 Oct 29, 2015
LATEST

You set the range in sound keys by looking at the waveform display. If you put the top corner right at the top of the highest peak then you'll get a value close to 100 there. If you put the bottom corner of the range sample about half way up then you will get zero for everything below that value. You can then use the graph editor to view the values and see what the looks like. When you are selecting values for the corners you can see a bar on the far right side of sound keys that shows you the range you are working with. You can also set custom values for the top and bottom of the range. The long and short of it is that if you use Sound Keys you do not need to set up an expression. Say that you wanted to rotate a layer from -20º to +20º using sound keys you would set a custom range that matches this for the first range and then adjust the box to suit then just use the pickwhip to point to Range 1 and you're done. That's one of the reasons that sound keys is worth the money.

This example gives you -20 for everything below the bottom of the selected gold frequency volume and +20 for everything above the top selected value.

Screen Shot 2015-10-29 at 10.55.19 AM.png

The only time you really need to use a linear expression is if you want the selected range to drive more than one value. For example, you could use Output 1 to drive rotation directly and then tie opacity to Output 1 to drive opacity by using:

t = thisComp.layer("Sound Keys").effect("Sound Keys")("Output 1")

linear(t, -20, 20, 50, 100)

Personally, I would rather just add another range for opacity and set my own custom values.

The only time I use interpolation methods with audio is when I use the Keyframe Assistant to turn Audio to Keyframes.

Hope this helps.

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