SecretLabNAudio.Core 2.0.0-alpha2

This is a prerelease version of SecretLabNAudio.Core.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package SecretLabNAudio.Core --version 2.0.0-alpha2
                    
NuGet\Install-Package SecretLabNAudio.Core -Version 2.0.0-alpha2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SecretLabNAudio.Core" Version="2.0.0-alpha2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SecretLabNAudio.Core" Version="2.0.0-alpha2" />
                    
Directory.Packages.props
<PackageReference Include="SecretLabNAudio.Core" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SecretLabNAudio.Core --version 2.0.0-alpha2
                    
#r "nuget: SecretLabNAudio.Core, 2.0.0-alpha2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package SecretLabNAudio.Core@2.0.0-alpha2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SecretLabNAudio.Core&version=2.0.0-alpha2&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=SecretLabNAudio.Core&version=2.0.0-alpha2&prerelease
                    
Install as a Cake Tool

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.

Features

Watch the demo

  • 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
  • Windows-only Media Foundation support for a wider range of formats, and decoding over the network

Check the wiki for more information. See this page for examples.

Installation

Single-File

  1. Download the SecretLabNAudio.zip file from the releases page
  2. Extract bin/SecretLabNAudio.dll from the archive into the global plugins directory
  • Linux: ~/.config/SCP Secret Laboratory/LabAPI/plugins/global/
    • Windows: %appdata%/SCP Secret Laboratory/LabAPI/plugins/global/
  1. 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

  1. Download the SecretLabNAudio.Core.dll file from the releases page
  2. Download the SecretLabNAudio.zip file from the releases page
  3. 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>/
  • Place plugins into the plugins directory
    • Linux: ~/.config/SCP Secret Laboratory/LabAPI/plugins/<port>/
    • Windows: %appdata%/SCP Secret Laboratory/LabAPI/plugins/<port>/
  1. Restart the server

Modules

To support reading from some file formats, install the modules you need.

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*

*MediaFoundation is only available on Windows.

Development

Simply install the SecretLabNAudio.Core package from NuGet.

Manual installation:

  1. Reference the SecretLabNAudio.Core.dll file from the releases page
  2. Install the NAudio.Core package 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 Compatible and additional computed target framework versions.
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.0-alpha5 76 2/21/2026
2.0.0-alpha4 88 2/8/2026
2.0.0-alpha3 88 2/7/2026
2.0.0-alpha2 92 2/7/2026
2.0.0-alpha1 106 1/5/2026
1.0.2 505 9/17/2025
1.0.1 257 9/3/2025
1.0.0 252 8/20/2025