What is that green-to-red line in the Godot engine editor?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Brinux
:warning: Old Version Published before Godot 3 was released.

Probably a silly question, but what is that green-to-red line in a box in the Godot engine’s editor? There seems to be a little white line on it, like it’s an indicator for something.

Is this giving me feedback of some sort? Clicking on it does nothing. What is it for?

You mean in the upper right corner?

grol | 2016-03-28 20:03

Please, add a screenshot ;)

Bojidar Marinov | 2016-03-29 08:12

Yes, that’s the one

Brinux | 2016-03-29 12:37

:bust_in_silhouette: Reply From: The_Duskitty

I believe it’s a cpu usage moniter(i think), a few other programs have a similar thing (see lmms)

It rarely moves unless you have a very very cpu intensive game or it hiccups

:bust_in_silhouette: Reply From: batmanasb

Someone on reddit said it was a volume meter, which I’m pretty sure is correct but I haven’t added any audio in any of my recent games so I can’t confirm.

I can confirm this, when audio is playing in the editor, that green to red line shows the volume of the sounds.

CowThing | 2016-03-28 23:00

Can confirm as well, at least pre-2.0.

Bojidar Marinov | 2016-03-29 08:13

:bust_in_silhouette: Reply From: Freeman

It’s a called peak meter or VU meter.
It shows level of an audio signal that is emitted by an audio nodes like a SamplePlayer node for example. The sound signal is measured and indicated starting from minus values to 0, where 0 means maximal sound signal (the loudest sound). Color wise (as used in Godot’s indicator) green means quiet sounds and red indicates the sound that is close to the maximum level. The sound can get distorted if too hight audio levels (too loud sounds) are emitted from audio emitting nodes (the audio level called also an amplitude of the sound sums up), so keep your audio levels on green or close to red, but not too close to play the sound without distortion.