-
-
Notifications
You must be signed in to change notification settings - Fork 20.8k
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
Fix the "AudioEffectRecord" descriptions. #52441
Conversation
The `AudioEffectRecord` effect has no microphone capture-specific functionality--it can be used with any audio bus. This patch attempts to clarify this fact (so people like me who want to capture audio output know they're in the right place) while still providing a pointer use of the effect with `AudioStreamMicrophone` for microphone capture.
I and @lyuma will find time to review since we proposed the idea of AudioEffectRecord. Edited: We proposed |
@fire You are mistaken. It is AudioEffectCapture which we implemented, not AudioEffectRecord. But regardless we are in a position to understand both and their usages. @YeldhamDev reading your tweets and such, I believe it is may actually be AudioEffectCapture that you want to use for your project... but that's your choice. Anyway it's good to improve docs, so here are my comments. I would like to add cross-linking between AudioEffectCapture and AudioEffectRecord so that it is easier to find them. On AudioEffectRecord, I would write "This is for generating recordings. For real time processing, use [AudioEffectCapture]." On AudioEffectCapture we can make a comment that "this is used for realtime processing. To record into an AudioStreamSample for later playback, see [AudioEffectRecord]" And the same thing about "AudioStreamMicrophone" should also be written on AudioEffectCapture, since it is also expected to be a common use case. One more thing, since you had difficulty finding this from the microphone capture, perhaps we can link to both of these AudioEffectCapture/AudioEffectRecord classes from AudioStreamMicrophone, too. Haven't ever looked at those demos. They are probably out of date. |
Oh! I don't think I knew I'm fine with any changes you want to make to the text so please feel free to amend as desired. |
Can you amend the changes so one is not waiting for each other? |
@follower For a tutorial on AudioEffectCapture
|
Feedback to AudioEffectCapture
Signals from Godot-Voip
|
One use case that supports the use of AudioEffectCapture instead of AudioEffectRecord: Sound activated voice recording from microphone |
Thank you! |
Cherry-picked for 3.5. |
Cherry-picked for 3.4.3. |
The
AudioEffectRecord
effect has no microphone capture-specific functionality--it can be used with any audio bus.This patch attempts to clarify this fact (so people like me who want to capture audio output know they're in the right place) while still providing a pointer to use of the effect with
AudioStreamMicrophone
for microphone capture.Additional context
AudioStreamMicrophone
needs to be documented.AudioStreamMicrophone
.Edited to add:
Forgot to mention that I discovered the Audio Buses tutorial does have a mostly (i.e. probably doesn't have to be a file) correct description for this effect: