SecretLabNAudio.Core
2.0.0-beta1
dotnet add package SecretLabNAudio.Core --version 2.0.0-beta1
NuGet\Install-Package SecretLabNAudio.Core -Version 2.0.0-beta1
<PackageReference Include="SecretLabNAudio.Core" Version="2.0.0-beta1" />
<PackageVersion Include="SecretLabNAudio.Core" Version="2.0.0-beta1" />
<PackageReference Include="SecretLabNAudio.Core" />
paket add SecretLabNAudio.Core --version 2.0.0-beta1
#r "nuget: SecretLabNAudio.Core, 2.0.0-beta1"
#:package SecretLabNAudio.Core@2.0.0-beta1
#addin nuget:?package=SecretLabNAudio.Core&version=2.0.0-beta1&prerelease
#tool nuget:?package=SecretLabNAudio.Core&version=2.0.0-beta1&prerelease
SecretLabNAudio
An advanced audio player API for SCP: Secret Laboratory using NAudio
This library has a number of open-source dependencies. See Attributions
SecretLabNAudio is not sponsored nor endorsed by NAudio.
If you're still using v1, migrate to v2
Features
- Fully customizable audio provider interfaces
- Real-time audio processing
- Streaming files from disk
- Resampling and downmixing
- Ogg Vorbis support using NVorbis
- MP3 support using NLayer
- Speaker personalization
- SpeakerToy pooling
- Automatic reader resolution by file type
- Cache for short audio clips
- FFmpeg-based audio processing for (almost) all formats, even over the network
- Windows-only Media Foundation support for a wider range of formats, and decoding over the network
Installation
Single-File
- Download the
SecretLabNAudio.zipfile from the releases page - Extract
bin/SecretLabNAudio.dllfrom the archive into the global plugins directory
- Linux:
~/.config/SCP Secret Laboratory/LabAPI/plugins/global/ - Windows:
%appdata%/SCP Secret Laboratory/LabAPI/plugins/global/
- Restart the server
The plugin must be placed in the global plugins directory to ensure that embedded dependencies are loaded. If you have a global plugin depending on SecretLabNAudio, rename it so it loads after SecretLabNAudio.
Modular
- Download the
SecretLabNAudio.Core.dllfile from the releases page - Download the
SecretLabNAudio.zipfile from the releases page - Extract the necessary DLLs from the
bin/directory
- See the table below for what you need
- Place dependencies into the dependencies directory
- Linux:
~/.config/SCP Secret Laboratory/LabAPI/dependencies/<port>/ - Windows:
%appdata%/SCP Secret Laboratory/LabAPI/dependencies/<port>/
- Linux:
- Place plugins into the plugins directory
- Linux:
~/.config/SCP Secret Laboratory/LabAPI/plugins/<port>/ - Windows:
%appdata%/SCP Secret Laboratory/LabAPI/plugins/<port>/
- Linux:
- Restart the server
Modules
To support reading from some file formats, install the modules you need.
FFmpeg supports effectively all formats at the cost of running as a separate process. The FFmpeg module's APIs must be invoked separately.
| Usage | Plugin | Dependencies |
|---|---|---|
| required | (none) | SecretLabNAudio.Core NAudio.Core |
| mp3 | SecretLabNAudio.NLayer |
NLayer NLayer.NAudioSupport |
| ogg | SecretLabNAudio.NVorbis |
NVorbis NAudio.Vorbis System.ValueTuple |
| most formats | SecretLabNAudio.MediaFoundation* |
NAudio.Wasapi* |
| FFmpeg | SecretLabNAudio.FFmpeg** |
(none) |
*MediaFoundation is only available on Windows.
**FFmpeg itself is not shipped with SecretLabNAudio. See the wiki on how to install it.
Development
Simply install the SecretLabNAudio.Core package from NuGet.
You can also add the SecretLabNAudio.FFmpeg package, which references the former one.
Manual installation:
- Reference the
SecretLabNAudio.Core.dllfile from the releases page - Install the
NAudio.Corepackage from NuGet
Most official NAudio packages are Windows-specific. Use the NAudio.Core package for cross-platform support.
If you reference other NAudio packages, make sure you copy those dependencies to the LabAPI dependencies directory.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET Framework | net48 is compatible. net481 was computed. |
-
.NETFramework 4.8
- NAudio.Core (>= 2.2.1)
- Northwood.LabAPI (>= 1.1.5)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on SecretLabNAudio.Core:
| Package | Downloads |
|---|---|
|
SecretLabNAudio.FFmpeg
FFmpeg support and utilities for SecretLabNAudio |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.0.0-beta1 | 29 | 3/14/2026 |
| 2.0.0-alpha5 | 95 | 2/21/2026 |
| 2.0.0-alpha4 | 96 | 2/8/2026 |
| 2.0.0-alpha3 | 96 | 2/7/2026 |
| 2.0.0-alpha2 | 99 | 2/7/2026 |
| 2.0.0-alpha1 | 111 | 1/5/2026 |
| 1.0.2 | 523 | 9/17/2025 |
| 1.0.1 | 263 | 9/3/2025 |
| 1.0.0 | 261 | 8/20/2025 |