> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinemation.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# 🔉Sound Effects

> Documentation for 🔉Sound Effects.

## Overview

All sound effects are played via the **Audio Source** component attached to the character:

<Frame caption={"Audio Source."}>
  <img src="https://mintcdn.com/kinemation/PlmzVQHJ3J_C1x92/images/fps-animation-pack/unity/228fd9714945bbf1a864.png?fit=max&auto=format&n=PlmzVQHJ3J_C1x92&q=85&s=48284bb42c108d2eb7784c38a23b9585" alt="" width={400} data-path="images/fps-animation-pack/unity/228fd9714945bbf1a864.png" />
</Frame>

**FPS Player Sound** component is used to play general sounds, not specific to any weapon. Other sounds, like reloads or firing, are played by the weapons - they access the character's Audio Source and play the target sound effect.

## Animation Events

Many sounds, like reloads, aiming, walking, or fire mode switching are played via animation events. Events are added directly to the *Animation Clip* and then are automatically triggered in runtime. There are 2 types of animation events.

### PlayPlayerSound

<Frame caption={"Player sound event."}>
  <img src="https://mintcdn.com/kinemation/PlmzVQHJ3J_C1x92/images/fps-animation-pack/unity/4c0b30ab1c287a1430bc.png?fit=max&auto=format&n=PlmzVQHJ3J_C1x92&q=85&s=13437427250e24c596d57eaebead6a85" alt="" width={399} data-path="images/fps-animation-pack/unity/4c0b30ab1c287a1430bc.png" />
</Frame>

This event has an input index parameter, which defines the index of the target sound. In this case, sounds will be selected from this list:

<Frame caption={"FPS Player Settings."}>
  <img src="https://mintcdn.com/kinemation/PlmzVQHJ3J_C1x92/images/fps-animation-pack/unity/268bebedc22d76833189.png?fit=max&auto=format&n=PlmzVQHJ3J_C1x92&q=85&s=a58d129e9d041715ed2aad64cd22f49f" alt="" width={404} data-path="images/fps-animation-pack/unity/268bebedc22d76833189.png" />
</Frame>

### PlayWeaponSound

This event is added to reloading animations. Sounds are selected from:

<Frame caption={"FPS Weapon Settings."}>
  <img src="https://mintcdn.com/kinemation/PlmzVQHJ3J_C1x92/images/fps-animation-pack/unity/b1990f7e874ce80ca0e5.png?fit=max&auto=format&n=PlmzVQHJ3J_C1x92&q=85&s=293894b3d6c24afaf5bcc4fcbb45b96a" alt="" width={401} data-path="images/fps-animation-pack/unity/b1990f7e874ce80ca0e5.png" />
</Frame>
