Author Topic: Feature Request: lua hook for audio events  (Read 3333 times)


  • Guest
Feature Request: lua hook for audio events
« on: March 03, 2017, 06:19:37 AM »
Hope this is the right place to ask for this lua feature request.

There doesn't seem to be any audio functions in the lua API.

I'm mostly interested in running AUDIO_REMOTE_SHOT in lua to trigger either a full shutter press or short and long shutter half-press on an EOSM. The EOSM doesn't have the option of using a wired remote so shutter events have to be done either through the IR remote or the mic input. The lua script should be able to start a process (like a shutter half-press or rack focus or whatever) from an audio cue.

Another advantage of having lua do the shutter half-press is that it resets the power savings timer while AUDIO_REMOTE_SHOT doesn't reset the timer. At least that's the experience with a film scanner project that one user is trying to set up with an EOSM.