{{newin|[[0.9.0]]|090|type=function}}
Gets the duration of the sound data.
== Function ==
=== Synopsis ===
<source lang="lua">
duration = SoundData:getDuration( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|number|duration|The duration of the sound data in seconds.}}
== See Also ==
* [[parent::SoundData]]
[[Category:Functions]]
{{#set:Description=Gets the duration of the sound data.}}
== Other Languages ==
{{i18n|SoundData:getDuration}}