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

Linking the speed of a clip to the amplitude of an audio file

New Here ,
May 03, 2022 May 03, 2022

Hello, I am working for visuals for a music upload on youtube and I want the playback speed of a clip to be linked to the amplitude of a sound.

I linked stuff to audio amplitude multiple times in the past like a clip's scale or something.

My guess is this time I have to link Time Remapping of the clip to the audio amplitude and change the expression to an addition. But no matter what the expression is always an error. Even just by default linking the time remapping to the amplitude gives me an error.

 

Help appreciated

TOPICS
Audio , Dynamic link , Expressions , Scripting
1.1K
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 , May 03, 2022 May 03, 2022
Translate
Community Expert ,
May 03, 2022 May 03, 2022
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
New Here ,
May 03, 2022 May 03, 2022

I tried pasting the code presented on that page into the time remapping expression and it's still an error. I don't comprehend that code enough to troubleshoot it

 

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 ,
May 03, 2022 May 03, 2022

Hard to say without seeing the error message, but the expression assumes you have used Animation > Keyframe Assistant > Convert Audio to Keyframes on your audio layer to generate an "Audio Amplitude" layer with a slider named "Both Channels". Other than that, I can't think of a reason it wouldn't work.

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
New Here ,
May 04, 2022 May 04, 2022

My mistake. What I didn't realize was my AE is in french and some elements in the expression programming are in french such as "Amplitude audio" rather than "Audio amplitude", "Les deux couches" rather than "Both Channels" and "Curseur" rather than "Slider".

 

 

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
New Here ,
May 04, 2022 May 04, 2022

Thanks a lot! with a bit of tweaking this expression works really well! thank you for linking me that I appreciate it 🙂

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 ,
May 08, 2022 May 08, 2022
LATEST

If you don't want to write expressions, this tutorial (which uses my paid extension BeatEdit for Ae) uses another very flexible and powerful workflow to time-remap videos in sync with the beat:

 

Short version:

 

Long Version

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