Magic Lantern Forum

Using Magic Lantern => General Help Q&A => Topic started by: ItsMeLenny on May 27, 2017, 12:03:46 PM

Title: How do I focus before taking a picture via sound?
Post by: ItsMeLenny on May 27, 2017, 12:03:46 PM
I'd like to have a few options for this but depending which is available. I'll list the various here:
1) loud sound triggers autofocus (in live view with face detection), once autofocus completes there is timer delay til it takes a photo
2) loud sound triggers autofocus (in live view with face detection), next loud sound triggers a photo (also with a timer delay that can be specified)
3) loud sound triggers autofocus in video mode with face detection and then starts recording once focus is achieved, if it doesnt find focus another loud sound either triggers recording or another attempt at autofocus

any help?
Title: Re: How do I focus before taking a picture via sound?
Post by: a1ex on May 27, 2017, 12:29:48 PM
Step 1: expose the audio trigger functionality to Lua.
Step 2: write a script that allows all these options.

Currently, you can enable autofocus from the shoot preferences menu, but without delays and so on. Autofocus functionality is already available in Lua (on the experimental build).
Title: Re: How do I focus before taking a picture via sound?
Post by: ItsMeLenny on May 27, 2017, 01:14:30 PM
Ah that autofocus option is what I needed, didn't know it existed.
Thanks a million.