s&
About
The Project
info
About s&box
map
Roadmap
monitoring
Metrics
Engine startup and usage numbers
Updates
newspaper
Latest News
published_with_changes
Changes
Release-by-release changelog
Games
Browse Games
Discover Games
gamejams
live now
Game Jam III
Ends
Fri 25 Sep
Theme
One More Round
The jam is running. Build something, or play the entries.
£
50,000
prizepool
View the jam
Workshop
Playable
sports_esports
Games
Standalone games and gamemodes
Assets
landscape
Maps
view_in_ar
Models
texture
Materials
apparel
Clothing
apps
Everything
Every asset type in one list
Forum
Learn
Documentation
rocket_launch
Getting Started
docs
Documentation
api
API Reference
Resources
school
Tutorials
manage_search
Code Search
input
Log in with Steam
Api
Components
Voice
chevron_left
Components
class
Voice
Constructors
functions
Voice
Properties
data_object
Amplitude
data_object
Distance
data_object
Falloff
data_object
IsListening
data_object
IsRecording
data_object
LastPlayed
data_object
LaughterScore
data_object
LipSync
data_object
Loopback
data_object
Mode
data_object
MorphScale
data_object
MorphSmoothTime
data_object
PushToTalkInput
data_object
Renderer
data_object
TargetMixer
data_object
Visemes
data_object
VoiceMixer
data_object
Volume
data_object
WorldspacePlayback
Methods
lock
ExcludeFilter
lock
OnUpdate
lock
ShouldHearVoice
Voice
Records and transmits voice/microphone input to other players.
class
Sandbox
.
account_tree
extends
Component
Sandbox.Engine
build
Constructors
1
Voice
(
)
data_object
Properties
19
Amplitude
float
Measure of audio loudness.
Distance
float
Falloff
Curve
IsListening
bool
Returns true if the mic is listening. Even if it's listening, it might not be playing - because it will only record and transmit if it can hear sound.
IsRecording
bool
LastPlayed
RealTimeSince
How long has it been since this sound played?
LaughterScore
float
Laughter score for the current audio frame, between 0 and 1
LipSync
bool
Loopback
bool
Mode
ActivateMode
MorphScale
float
MorphSmoothTime
float
PushToTalkInput
string
Renderer
SkinnedModelRenderer
TargetMixer
Mixer
Visemes
IReadOnlyList`1
A list of 15 lipsync viseme weights. Requires Sandbox.Voice.LipSync to be enabled.
VoiceMixer
MixerHandle
Which mixer to target. Must be a descendant of the Voice mixer. Defaults to the Voice mixer if not set or invalid.
Volume
float
WorldspacePlayback
bool
functions
Methods
3
ExcludeFilter
(
)
IEnumerable`1
Exclude these connection from hearing our voice.
OnUpdate
(
)
ShouldHearVoice
(
connection
)
bool
Whether we want to hear voice from a particular connection.
Inheritance
Component
Voice
arrow_back_ios
1
arrow_forward_ios
one year ago
#1
clearly
Member
Joined
Aug 2022
Posts
7
Score
1,050
bruh
5 months ago
#2
Kinj14
Member
Joined
Aug 2021
Posts
4
Score
550
The component is called “Voice Transmitter” in the editor's components
4 months ago
#3
Missing
Member
Joined
Jul 2022
Posts
64
Score
2,371
fork in kitchen
Kinj14 posted:
The component is called “Voice Transmitter” in the editor's components
arrow_back_ios
1
arrow_forward_ios
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.