Is it possible to get the audio preview

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Nightyly

The preview when you create an AudioStreamPlayer and select an audio file
example

What do you mean preview?

ramazan | 2022-02-05 11:59

see the image, the white lines

Nightyly | 2022-02-05 13:45

You mean, to get the image or play the sound?

SteveSmith | 2022-02-08 02:21

I want to get the image that is generated when you select a stream for an AudioStreamPlayer, see the image in the post

Nightyly | 2022-02-11 01:52

:bust_in_silhouette: Reply From: ARSHAVIR_GM

i think you might right click on that and click play

:bust_in_silhouette: Reply From: vfpe

Yes, it’s possible!

I had the same problem, so I created a custom module based on the engine preview code. You can grab the source from GitHub repo https://github.com/v-pukman-gd/godot-audio-waveform-module

It supports Godot 3.4 now, I recommend to update your project from 3.2 to 3.4 to use this module.

Good luck!