Measure Sound length

@Taifun has an excellant extension located here that does this:
component_set_get
But it must play the sound to be able to measure its length.

My question is: Does anyone know of any extension that measures the length of a sound while it is an asset (without playing)?

1 Like

I don't think there is an extension for that. I searched the community and Google, but couldn't get a result for that.

#off-topic

There is a component for that in Kodular, Metadata.

2 Likes

Thank you much @gordonlu310

2 Likes

you can also search the extension directory (Pura Vida Apps)
off-topic
and I suggest everyone to search there If you want extensions.

1 Like

I searched there already.

1 Like

So if there is no extension for that in there, There is no such extension.

1 Like

Well, there is a Stack Overflow question about a question similar to it.

1 Like

I am not sure if it works but you can give it a try with this extension.

image
Use this block.
id is 9 to retrieve the playback duration (in ms) of the data source.

1 Like

2 Likes