Why Meta Quest?
Design
Develop
API reference
Distribute and grow
Blog
Support
API reference
API reference
Select your platform
No SDKs available
No versions available
Overview
AudioClipAudioSource
ImageViewer
Lib
Meta
Conduit
Net
Voice
WitAi
WitAi
ArrayNodeReference
ArrayPool
Attributes
AudioDurationTracker
BaseSpeechService
CallbackHandlers
Comment
ComponentExtensions
Composer
Configuration
CoroutineUtility
Data
Dictation
Drawers
EditorUtilities
EnumerableExtensions
Events
Events
AudioBufferEvents
Editor
EventCategoryAttribute
EventRegistry
IWitByteDataReadyHandler
IWitByteDataSentHandler
SpeechEvents
TelemetryEvents
UnityEventListeners
VoiceEvents
WitByteDataEvent
WitErrorEvent
WitObjectEvent
WitSampleEvent
ExportParser
ExportSaver
IExportParserPlugin
IRequest
ITelemetryEventsProvider
IVoiceActivationHandler
IVoiceEventProvider
IVoiceService
IWitRequestConfiguration
IWitRequestEndpointInfo
IWitRuntimeConfigProvider
IWitRuntimeConfigSetter
Inspectors
Interfaces
Json
Lib
MatchIntent
MatchIntentRegistry
ObjectNodeReference
ObjectPool
PluggableBase
RegisteredMatchIntent
Requests
ResponseErrorCode
ServiceReferences
Speech
TTS
TaskExtensions
TaskUtility
ThreadUtility
TypeExtensions
UnityEventExtensions
UnityObjectExtensions
Utilities
VLog
ValidatePartialIntent
VoiceService
Windows
Wit
WitAppInfoUtility
WitAuthUtility
WitConduitParameterProvider
WitConfigurationEditorUI
WitConstants
WitEditorConstants
WitEditorUI
WitExportRetriever
WitRequest
WitRequestFactory
WitRequestSettings
WitResponseReference
WitResultUtilities
WitRuntimeRequestConfiguration
WitService
WitStyles
WitTexts
WrapHttpWebRequest
ZipArchiveExtensions
Oculus
Code samples
Downloads
Release notes
Supported platforms
Meta
AudioBufferEvents Class
A collection of events related to audio being processed by the AudioBuffer
Fields
Action<
VoiceAudioInputState
>
OnAudioStateChange
[Get]
Callbacks as audio state changes
OnSampleReadyEvent
OnSampleReady
[Get]
Fired when a sample is ready to be read
Parameters
marker
The marker in the AudioBuffer's ringbuffer where the sample starts
levelMax
The maximum volume (0-1) seen in this sample
WitSampleEvent
OnSampleReceived
[Get]
Fired when a sample is received from an audio input source
Parameters
samples
The raw float sample buffer
sampleCount
The number of samples in the buffer
maxLevel
The max volume in this sample
WitMicLevelChangedEvent
OnMicLevelChanged
[Get]
Fired when the volume level of an input source changes
Parameters
level
The level of the volume on that input (0-1)
WitByteDataEvent
OnByteDataReady
[Get]
Fired when data is ready to be sent to various voice services
Parameters
buffer
The byte buffer about to be sent
offset
The offset into the buffer that should be read
length
The length of the data to be sent
WitByteDataEvent
OnByteDataSent
[Get]
Fired when byte data is sent to various voice services
Parameters
buffer
The byte buffer about to be sent
offset
The offset into the buffer that should be read
length
The length of the data to be sent
Member Functions
delegate void
OnSampleReadyEvent
(
RingBuffer
< byte >.Marker marker,
float levelMax )
Fired when a sample is ready to be read
Parameters
marker
The marker in the AudioBuffer's ringbuffer where the sample starts
levelMax
The maximum volume (0-1) seen in this sample
Build with Meta
Social Technologies
Meta Horizon
AI
Worlds
About us
Careers
Research
Products
Virtual reality / Meta Horizon
Developer Blog
Download SDKs
Meta for Work
Programs
Start
Meta Horizon Creator Program
Discover
Why Meta Quest?
What is mixed reality?
Platforms and tools
2D apps for Meta Horizon OS
Devices
Meta Avatars
Success stories
Use cases
Support and legal
Developer policies
Legal
Privacy
Forums
Support
Build with Meta
Social Technologies
Meta Horizon
AI
Worlds
About us
Careers
Research
Products
Virtual reality / Meta Horizon
Developer Blog
Download SDKs
Meta for Work
Programs
Start
Meta Horizon Creator Program
Discover
Why Meta Quest?
What is mixed reality?
Platforms and tools
2D apps for Meta Horizon OS
Devices
Meta Avatars
Success stories
Use cases
Support and legal
Developer policies
Legal
Privacy
Forums
Support
Build with Meta
Social Technologies
Meta Horizon
AI
Worlds
About us
Careers
Research
Products
Virtual reality / Meta Horizon
Developer Blog
Download SDKs
Meta for Work
Programs
Start
Meta Horizon Creator Program
Discover
Why Meta Quest?
What is mixed reality?
Platforms and tools
2D apps for Meta Horizon OS
Devices
Meta Avatars
Success stories
Use cases
Support and legal
Developer policies
Legal
Privacy
Forums
Support
English (US)
© 2026 Meta