AudioToMarkers

Version: 1.2 Sign up to be notified by email when a new version of this script is posted
This script will add markers, split a layer or add a new text layer with incrementing numbers based on audio intensity.
Usage Instructions:
- Select the audio layer and run the Keyframe Assistant “Convert Audio to Keyframes”.
- Run the script and choose which layer you wish to mark or split. If the layer you want does not show up, select the comp and press the Refresh button.
- Set the audio level at which the markers should be place. The script uses the “Both Channels” value from the Audio Amplitude layer which is created after running “Convert Audio to Keyframes”. A marker will place placed when the audio crosses that value and another marker won’t be placed until the audio drops below and above again.
- Choose one of the 3 output options:
- Place markers on a layer
- Split the layer
- Create a new text layer with incrementing numbers
The layer will then be marked or split at the threshold points. If you choose to create a new text layer then the newly created text layer will have keyframes with incrementing numerical values which can be used to trigger expressions.
- AudioToMarkers UI
- Version History
- v1.2 Added marker numbering option, improved delete marker funciton to work within work area – jan 2010
- 1.1 Fixed “undefined” alert bug – nov 2009
- 1.0 Initial Release – oct 2009








What is the soundtrack? Seems good.
When I run the AudioToMarkers.jsx after coverting AudioToKeyframes an error is displayed “Undefined” and UI does not open. Please help.
Please re-download the script. I found the bug that was causing this and have fixed it.
This doesn’t work!!!
In answer to the question on your smug site -
['Seeing that only 5000 people downloaded the additional scripts for After Effects CS4, I wondered why people wouldn’t care for such great additional content. Seeing that so much people are still asking online for a way to change shortcuts inside AE made me wonders. How can it be that so many people are just not aware of scripts ? Are they affraid that it’s just « too comlicated']
No sir, it’s cos mostly they don’t have time to fart around getting badly written code to work with their system.
Wasted a good hour on this one. Thanks, but I could have done it manually by now.
Thanks for the feedback. I spend a lot of time debugging my code but sometimes bugs still manage to squeeze through. It should be said that this happens on every piece of software that is out there. Of course I aim for that never to be the case but sometimes it happens. In this case the “undefined” error was due to me not doing a bit of error checking that I’ve now added so you should not see that error anymore. Please re-download the script of the updated version.
Thanks Mr. Lloyd! It is working.
Works great now, thanks for correcting whatever it was causing the ‘undefined’ error.
BTW Mr. Lloyd…
Just watched your tutorial on Aetuts
http://ae.tutsplus.com/tutorials/workflow/create-a-rockin-automated-slideshow/
Man!… Real Cool Effect…
Love it on the pics… Love it even more on video…
How would i modify the expression to get the video
to play at real time?
or maybe in slo-mo?
It would be cool to go back and forth from fast to real time.
Thanks.
Wasn’t sure if it was OK to post examples, but here is a video I did using Lloyd’s “Rockin’ Animated Slide Show” tutorial and his scripts. Photos from a trip to San Fran last November. Thanks Lloyd for all your great work.
The Streets of San Francisco
http://vimeo.com/10327688
Very cool! I think that track lends itself beautifully for this technique. Well done.
Loyd, this is a very nice and elegant script … Thank you for your contribution!
Hi,
would it be possible to include optionally to create not just layer markers, but comp markers instead? In a deeply nested comp hierarchy when synced to audio I always have to copy/paste the layer markers… and after some time my AE project gets corrupted. Deleting them… and they work again!
So a render “audio keyframes to comp markers” would be great, as it would be visible like a layer marker in every comp in the higher hierarchy.
Thanks,
Bz.
That is a fantastic suggestion but unfortunately comp markers are not accessible to the current scripting api