Gates › Environment › One Shot Audio

One Shot Audio

Unclassified Environment 12 in 0 out ⬚ 1x1

Plays a sound when it receives a wire signal.

Brick summary: Plays a sound when activated by a wire signal.

Diagram

Ports drawn from the source data: inputs left, outputs right, config inside.

How it's used

Structural overview — derived from this gate's ports, not from tested behavior. Takes 12 wire inputs: Audio Descriptor (any), Enable Repeat (bool), Spatialization (bool), Inner Radius (float), Max Distance (float), Pitch Multiplier (float), Play (exec), Repeat Count (int), Repeat Time (float), Repeat Variance (float), Stop (exec), Volume Multiplier (float). Produces no wire outputs.

No curated example for this gate yet. The shape above is accurate (from the inventory); what it does in practice should be confirmed in-game.

Wire inputs

Wires you feed into the gate.

Display name Type Tooltip
Audio Descriptor (AudioDescriptor) any The audio track to play on this brick.
Enable Repeat (bEnableRepeat) bool Toggles whether or not the sound will automatically repeat when the play signal is kept on.
Spatialization (bSpatialization) bool Whether or not to spatialize the audio in the game world, panning accordingly as the player moves around. When disabled, it will play as a 2D sound.
Inner Radius (InnerRadius) float The distance before the audio will begin to fade out.
Max Distance (MaxDistance) float The distance the audio can no longer be heard.
Pitch Multiplier (PitchMultiplier) float How much to multiply the default pitch of the audio being played.
Play exec No tooltip in source
gate_docs Plays audio when it first receives an on signal.
Repeat Count (RepeatCount) int No tooltip in source
Repeat Time (RepeatTime) float The amount of base time until the sound will repeat again.
Repeat Variance (RepeatVariance) float An applied value of randomness to the base repeat time.
Stop exec No tooltip in source
Volume Multiplier (VolumeMultiplier) float How much to multiply the default volume of the audio being played.

Wire outputs

Wires the gate produces.

No wire outputs.

Source details

Brick asset
B_1x1_SoundEmitter
Component class
Component_OneShotAudioEmitter
Kind
unknown
Family
—
Half size
5 × 5 × 2

From logic_gate_inventory.simple.json @ 9660107, supplemented by gate_docs.json. Documented behavior, not independently tested.