0 votes

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.

in Engine by (1,457 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)
by (27,790 points)
selected by

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.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.