Skip to main content

Heart sound

Overview​

Heart sound plays a spatialized heartbeat audio clip in time with your heart rate. By default, it is tuned so someone placing an ear on your chest hears it clearly, while it fades naturally with distance and stays silent at the wearer's viewpoint and normal conversation distance.

How to add​

  • Enable in the default prefab: The HR-OSC prefab includes Heart Sound, disabled by default. Check the box next to Heart Sound under Display objects in the Core inspector to include it in the upload. Because Default on is off by default, turn it on using the VRChat Expression Menu toggle in-game.
  • Add a new one: Click Add next to Display objects in the Core inspector and choose Heart sound.
  • Automatic position and distance: The default attachment bone is Chest. When installing the prefab via menu or adding a new heart sound on a humanoid avatar, Reset placement places the source inside the chest (slightly left of center) and automatically sets Audible distance (m) to 0.73 times the heart-to-eye distance and Full volume distance (m) to 0.6 times the audible distance.

Common settings​

Sound​

Heart sound page

SettingDefaultDescription
Volume1 (0–1)Base volume level.
Gain (dB)0 (0–10)VRChat Spatial Audio Source gain (avatars allow up to 10 dB).
Full volume distance (m)Prefab 0.09 (0–40)Distance within which the sound plays at full volume.
Audible distance (m)Prefab 0.15 (0.01–40)Beyond full volume distance, sound fades out toward this distance and becomes silent here.
Preview heart soundOffPlays the sound in the editor without distance attenuation. Check actual spatial volume in VRChat.
Scene view distance spheres

Selecting the Heart Sound object shows Full volume distance (m) as a solid-colored wireframe sphere and Audible distance (m) as a fainter outer wireframe sphere in the Scene view.

Placement and menu​

Placement (Attachment bone, Attachment target object, Reset placement) and Menu settings match Body display & hairpin and Expression Menu. Reset placement moves the source back to the heart position inside the chest relative to the Chest bone.

When disconnected​

Configure under Sound › When disconnected:

OptionBehavior
Stop (default)Stops playing when disconnected.
Continue at the last BPMKeeps beating at the last received BPM. Before the first connection, there is no last BPM so it stays silent.
Continue at a set BPMKeeps beating at Set BPM (default 70). Turning on Adjust in menu creates a submenu with Toggle and an Offline BPM radial (+8 synced bits).

While connected with a reading of 0 BPM, the sound stops.

Notes and limits​

  • When enabled and turned on in the Expression Menu, other players within Audible distance (m) hear the sound.
  • Pitch does not change with BPM; each beat replays the same clip. The build automatically creates enough rotating AudioSource voices for the Core's Max heart rate so fast beats do not clip.
  • If the package's heartbeat clip (HrOscHeartbeat.wav, derived from CC0 1.0 audio by FenrirFangs) is missing from the project, the build raises a warning (warning.soundClipMissing) and omits the audio sources.
  • PC avatars only. Quest and Android are not supported.