> ## 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.

# BaseMusicLibrary class

> Abstract base class for music libraries.

# BaseMusicLibrary

## Summary

Abstract base class for music libraries.

## Signature

```typescript theme={null}
declare abstract class BaseMusicLibrary extends Library implements IMusicLibrary 
```

## Methods

### mute

**Modifiers**: abstract

Toggle the muted state of all loaded music tracks.

### play

**Modifiers**: abstract

Stop the currently playing track (if any) and start playing the requested one.

## Remarks

Extend this class to implement a custom music library and register it with `NanoforgeApplication.use` using the `MUSIC_LIBRARY` symbol. The built-in implementation is `MusicLibrary`.
