Beep when zoom lens is at specified focal length

Started by l_d_allan, July 16, 2016, 07:39:20 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

l_d_allan

On the DPR forum for Sony full frames, the issue of "focal length detents" came up. Silly?

Anyway, a member suggested a work-around of having a beep at a specified focal length. That prompted me to suggest it as a feature request to the ML gurus.
http://www.dpreview.com/forums/post/58064157

After all, if a camera can beep, and put the Focal Length in the EXIF, then it seems like "only magic" involving firmware-only. Correct?

The FR in the Sony forum specifically mentioned FL / 2 (such as 47mm for a 24-70mm zoom).

Obviously, low priority. It was my way of gushing about the ML Devs.  ;D

a1ex

Sounds like a nice use case for a Lua script.

garry23

@I_d_allan

A1ex took the words out of my mouth  ;)

I did a script for a simply use case, ie indicate when lens is at a certain distance.

As A1ex says, pretty easy to set up: let me know if I can help.

Cheers

Garry

garry23

@I_d_allan

Because I am a still photographer and use a Varavon to clearly see the ML LV, I tend to favour solutions that are visual.

Here is a quick demo script of your use case to show what I mean:

lv.info
{
    name = "FL Check",
    value = "",
    priority = 100,
    update = function(this)
    if lens.focal_length > FLmenu.submenu["FL?"].value then
    this.background = COLOR.YELLOW
this.foreground = COLOR.BLACK
    this.value = tostring(lens.focal_length)
    else
    this.value = ""
    end
end
}

FLmenu = menu.new
{
parent = "Audio",  -- place this in any menu you like
name = "FL Checker",
depends_on = DEPENDS_ON.LIVEVIEW,
submenu =
{
{
name = "FL?",
min = 10,
max = 100,
value = 15,
icon_type = ICON_TYPE.BOOL,
}
}
}


Cheers

Garry