Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

AudioStreamMicrophone

繼承: AudioStream < Resource < RefCounted < Object

播放即時音訊輸入資料。

說明

當直接在 AudioStreamPlayer 節點中使用時,AudioStreamMicrophone 會即時播放麥克風的輸入。這可以配合 AudioEffectCapture 使用,以處理資料或保存資料。

注意:ProjectSettings.audio/driver/enable_input 必須為 true 音訊輸入才能正常工作。另請參閱該設定的說明,瞭解與許可權和操作系統隱私設定相關的注意事項。

教學