Audio effect used for recording the sound from an audio bus.
Allows the user to record the sound from an audio bus into an [AudioStreamWAV]. When used on the "Master" audio bus, this includes all audio output by Godot.
Unlike [AudioEffectCapture], this effect encodes the recording with the given format (8-bit, 16-bit, or compressed) instead of giving access to the raw audio samples.
Can be used (with an [AudioStreamMicrophone]) to record from a microphone.
[b]Note:[/b] [member ProjectSettings.audio/driver/enable_input] must be [code]true[/code] for audio input to work. See also that setting's description for caveats related to permissions and operating system privacy settings.
$DOCS_URL/tutorials/audio/recording_with_microphone.html
https://godotengine.org/asset-library/asset/527
Returns the recorded sample.
Returns whether the recording is active or not.
If [code]true[/code], the sound will be recorded. Note that restarting the recording will remove the previously recorded sample.
Specifies the format in which the sample will be recorded. See [enum AudioStreamWAV.Format] for available formats.