system
1
|
|
|
 |
Attention |
Topic was automatically imported from the old Question2Answer platform. |
 |
Asked By |
godot.ma.desive.logo |
I want to create timeline (for something like a musicplayer). Is there any intelligent way to get length of an audio stream? I tried:
var length = $AudioStreamPlayer.get_length()
print (length)
but no success…
1 Like
system
2
|
|
|
 |
Reply From: |
rakkarage |
ya get_length but on the sample (AudioStreamSample base class AudioStream) not player
$AudioStreamPlayer.stream.get_length()
i think 
You saved my life…! 
godot.ma.desive.logo | 2020-08-28 07:09
2 Likes