I am working with a lot of sounds in Construct 2 at the moment and one thing i just can't figure out is:
How do i get the length of a sound file? Aka duration.
I've figured out that Audio.Duration is something but i tried some combo's that didn't work ( like Audio.Duration("Sound1"), Sound1.ogg etc.
So my question is fairly easy. Is there a way to get the duration of a sound?
Why? I want to use the duration of a sound to change a objects width.
Any help is appreciated! Thanks in advance!