SecretLabNAudio.Core 1.0.1

dotnet add package SecretLabNAudio.Core --version 1.0.1
                    
NuGet\Install-Package SecretLabNAudio.Core -Version 1.0.1
                    
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="1.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SecretLabNAudio.Core" Version="1.0.1" />
                    
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 1.0.1
                    
#r "nuget: SecretLabNAudio.Core, 1.0.1"
                    
#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@1.0.1
                    
#: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=1.0.1
                    
Install as a Cake Addin
#tool nuget:?package=SecretLabNAudio.Core&version=1.0.1
                    
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.

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/
  3. 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. Place the file in the dependencies directory
    • Linux: .config/SCP Secret Laboratory/LabAPI/dependencies/<port>/
    • Windows: %appdata%/SCP Secret Laboratory/LabAPI/dependencies/<port>/
  3. Download the SecretLabNAudio.zip file from the releases page
  4. Extract the necessary files from the bin/ directory of the archive as dependencies
    • NAudio.Core.dll is always required
    • NLayer and NLayer.NAudioSpport.dll for .mp3 support (optional)
    • NAudio.Vorbis.dll and NVorbis.dll for .ogg support (optional)
    • NAudio.Wasapi.dll for Media Foundation support (optional, WIndows-only)
  5. Optionally download the necessary plugin(s) from the releases page
    • SecretLabNAudio.NLayer.dll for .mp3 support
    • SecretLabNAudio.NVorbis.dll for .ogg support
    • SecretLabNAudio.MediaFoundation.dll for Media Foundation support (Windows-only)
  6. Place the downloaded plugin(s) into the plugins directory
    • Linux: .config/SCP Secret Laboratory/LabAPI/plugins/<port>/
    • Windows: %appdata%/SCP Secret Laboratory/LabAPI/plugins/<port>/
  7. Restart the server

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
1.0.1 158 9/3/2025
1.0.0 170 8/20/2025