Glorpia Docs
Instances

BasicSound

A built-in sound instance that can play globally or emit spatially from a BasePart.

Properties

NameTypeDescription
SoundEnum.BasicSound.SoundNameBuilt-in sound selection. Use values such as Enum.BasicSound.MonkeyParty rather than a string.
VolumenumberPlayback volume from 0 through 4.
LoopedbooleanWhen true, the sound repeats continuously while Playing is true.
PlayingbooleanControls whether playback is active.
RolloffMaxDistancenumberMaximum spatial hearing distance in studs. Spatial sounds begin fading immediately with distance and reach silence at this distance.

Built-in sounds

NameTypeDescription
Enum.BasicSound.BubblePopBubblePopOriginal built-in BubblePop sound.
Enum.BasicSound.MonkeyPartyMonkey PartyBuilt-in Monkey Party track.
Enum.BasicSound.AquaFrenzyAqua FrenzyBuilt-in Aqua Frenzy track.
Enum.BasicSound.PartyMusicParty MusicBuilt-in Party Music track.
Enum.BasicSound.ChiptronicalChiptronicalBuilt-in Chiptronical track.
Enum.BasicSound.ZeroProjectZero ProjectBuilt-in Zero Project track.
Enum.BasicSound.JingleBellsJingle BellsBuilt-in Jingle Bells track.
Enum.BasicSound.SantaMagicSanta MagicBuilt-in Santa Magic track.
Enum.BasicSound.SpookyGamesSpooky GamesBuilt-in Spooky Games track.
Enum.BasicSound.MysticalHalloweenMystical HalloweenBuilt-in Mystical Halloween track.
Enum.BasicSound.HalloweenSpookHalloween SpookBuilt-in Halloween Spook track.
Enum.BasicSound.HolidaySpiritHoliday SpiritBuilt-in Holiday Spirit track.
Enum.BasicSound.MorningMoodMorning MoodAdditional BasicSound preset name.
Enum.BasicSound.GymnopedieNo1Gymnopédie No. 1Additional BasicSound preset name.
Enum.BasicSound.LacrimosaLacrimosaAdditional BasicSound preset name.
Enum.BasicSound.HallelujahHallelujahAdditional BasicSound preset name.
Enum.BasicSound.HallOfTheMountainKingHall of the Mountain KingAdditional BasicSound preset name.
Enum.BasicSound.TheEntertainerThe EntertainerAdditional BasicSound preset name.
Enum.BasicSound.InvincibleInvincibleAdditional BasicSound preset name.
Enum.BasicSound.CurbYourEnthusiasmCurb Your EnthusiasmAdditional BasicSound preset name.
Enum.BasicSound.EntryOfTheGladiatorsEntry of the GladiatorsAdditional BasicSound preset name.
Enum.BasicSound.DistractionDanceDistraction DanceAdditional BasicSound preset name.
Enum.BasicSound.YouGotJebaitedYou Got JebaitedAdditional BasicSound preset name.
Sound uses Enum.BasicSound.SoundName values. For example: Enum.BasicSound.AquaFrenzy.
BasicSound presets are built into Glorpia. No external audio folder or runtime sound file is required.

Methods

NameTypeDescription
Play()methodSets Playing to true.
Pause()methodSets Playing to false.
Stop()methodSets Playing to false and uses the same playback-state behavior as Pause().

Spatial and global playback

NameTypeDescription
Under a BasePartspatialThe nearest BasePart ancestor is the 3D emitter. Horizontal direction follows the emitter's camera-relative screen position, transitions smoothly between ears, and keeps some signal in the opposite ear. Distance attenuation begins immediately.
Workspace / no BasePart ancestorglobalPlays evenly in both channels. Camera direction, listener distance and RolloffMaxDistance do not spatialize the sound.

A BasicSound may be directly parented to a Part or placed inside a Folder or Model beneath that Part. Glorpia walks upward to the nearest BasePart and uses its world position as the emitter.

Spatial sounds fade continuously with distance. RolloffMaxDistance is the distance where the sound becomes silent.

BasicSound does not preview in Studio Edit mode. Playback is active during Play and in the Glorpia App/runtime.

Example: spatial sound in a Part

Luau
local sound = Instance.new("BasicSound")
sound.Sound = Enum.BasicSound.MonkeyParty
sound.Volume = 1
sound.Looped = true
sound.RolloffMaxDistance = 100
sound.Parent = script.Parent
sound:Play()
This is spatial when script.Parent is a BasePart.

Example: global Workspace sound

Luau
local music = Instance.new("BasicSound")
music.Sound = Enum.BasicSound.AquaFrenzy
music.Volume = 0.5
music.Looped = true
music.Parent = workspace
music:Play()

Because the sound has no BasePart ancestor, every listener hears it as centred non-spatial audio.

Replication

BasicSound is authoritative runtime state. Changes made by a ServerScript or through supported Studio Server-view live editing replicate to clients, and clients play the replicated sound state.

Related