0.2.0-dev Download ZIP
15 lines ·1.1 KB Raw
| 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | <class name="AudioStreamMicrophone" inherits="AudioStream" api_type="core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> |
| 3 | <brief_description> |
| 4 | Plays real-time audio input data. |
| 5 | </brief_description> |
| 6 | <description> |
| 7 | When used directly in an [AudioStreamPlayer] node, [AudioStreamMicrophone] plays back microphone input in real-time. This can be used in conjunction with [AudioEffectCapture] to process the data or save it. |
| 8 | [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. |
| 9 | </description> |
| 10 | <tutorials> |
| 11 | <link title="Audio streams">$DOCS_URL/tutorials/audio/audio_streams.html</link> |
| 12 | <link title="Recording with microphone">$DOCS_URL/tutorials/audio/recording_with_microphone.html</link> |
| 13 | <link title="Audio Mic Record Demo">https://github.com/godotengine/godot-demo-projects/tree/master/audio/mic_record</link> |
| 14 | </tutorials> |
| 15 | </class> |