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

# useSound

> Register the sound-effect library.

import { PageLink } from '/snippets/tsdocs/PageLink.jsx';
import { RefLink } from '/snippets/tsdocs/RefLink.jsx';

# useSound

## Summary

Register the sound-effect library.

## Signature

```typescript theme={null}
useSound(library: ISoundLibrary): void;
```

## Parameters

### library

**Type**:`ISoundLibrary`

Sound library instance (e.g. SoundLibrary).

## Returns

**Type**:`void`

Register the sound-effect library.
