Hi, G7

Just think a while ...

What you ask is to know IN ADVANCE if your input will be shorter or longer than 1 second ...

You can't know that before the second is elapsed ...

Just my two cents ...

Alain