How to change the property "Delay Ms" of the audio delay effect?

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

I tried a lot of different ways, for the reverb effect I can access each property like this:


But that doesn’t work for some properties of the delay effect.

:bust_in_silhouette: Reply From: Zylann

According to the doc, most properties names on AudioEffectDelay contain /, which means they can’t be directly written. They need to be accessed using get and set: AudioEffectDelay — Godot Engine (3.0) documentation in English

For delay_ms, it would be:

AudioServer.get_bus_effect(0,0).set("feedback/delay_ms", 500)

Thank you so much!!!

Adam_S | 2019-01-29 02:57