-
-
Notifications
You must be signed in to change notification settings - Fork 21.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add AudioEffectCapture #45593
Add AudioEffectCapture #45593
Conversation
0fdad5c
to
04def33
Compare
04def33
to
d1bf46e
Compare
doc/classes/AudioEffectCapture.xml
Outdated
<return type="int"> | ||
</return> | ||
<description> | ||
Returns the number of frames available to read using [method get_buffer] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Returns the number of frames available to read using [method get_buffer] | |
Returns the number of frames available to read using [method get_buffer]. |
doc/classes/AudioEffectCapture.xml
Outdated
<return type="PackedVector2Array"> | ||
</return> | ||
<argument index="0" name="frames" type="int"> | ||
Number of audio frames to return. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Arguments can't be documented this way, running doctool
would remove it. Argument-specific details can be given in the <description>
(though here I think the description is clear enough about what [code]frames[/code]
is).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aside from last documentation nitpicks, looks good to me 👍
AudioEffectCapture allows access to the microphone and other audio on an audio bus in real-time. Co-Authored-By: K. S. Ernest (iFire) Lee <[email protected]>
d1bf46e
to
d800329
Compare
Thanks! |
Hi. Great news! Will this be available in 3.2? |
3.2.4 is still in release candidate stage, so it's up to Remi if new functionality can still be added. Anyway, I filed pull request #46304 |
Why doesn't this support signals, and instead require every user to poll? |
AudioEffectCapture allows access to the microphone and other audio on an audio bus in real-time.
Implementation of the updated proposal at godotengine/godot-proposals#2013
Thanks to @fire and @Faless for their input and help.
Bugsquad edit:
Fixes: godotengine/godot-proposals#2013, godotengine/godot-proposals#399, #35402