0 votes

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

AudioServer.get_bus_effect(0,0).room_size

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

asked Jan 28, 2019 in Engine by Adam_S (1,225 points)

1 Answer

+1 vote
Best answer

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: https://docs.godotengine.org/en/3.0/classes/class_audioeffectdelay.html#class-audioeffectdelay

For delay_ms, it would be:

AudioServer.get_bus_effect(0,0).set("feedback/delay_ms", 500)
answered Jan 28, 2019 by Zylann (26,787 points)
selected Jan 29, 2019 by Adam_S

Thank you so much!!!

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.