SecretLabNAudio.Core
1.0.1
dotnet add package SecretLabNAudio.Core --version 1.0.1
NuGet\Install-Package SecretLabNAudio.Core -Version 1.0.1
<PackageReference Include="SecretLabNAudio.Core" Version="1.0.1" />
<PackageVersion Include="SecretLabNAudio.Core" Version="1.0.1" />
<PackageReference Include="SecretLabNAudio.Core" />
paket add SecretLabNAudio.Core --version 1.0.1
#r "nuget: SecretLabNAudio.Core, 1.0.1"
#:package SecretLabNAudio.Core@1.0.1
#addin nuget:?package=SecretLabNAudio.Core&version=1.0.1
#tool nuget:?package=SecretLabNAudio.Core&version=1.0.1
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
- 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
- Download the
SecretLabNAudio.zip
file from the releases page - 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/
- Linux:
- 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.dll
file from the releases page - Place the file in the dependencies directory
- Linux:
.config/SCP Secret Laboratory/LabAPI/dependencies/<port>/
- Windows:
%appdata%/SCP Secret Laboratory/LabAPI/dependencies/<port>/
- Linux:
- Download the
SecretLabNAudio.zip
file from the releases page - Extract the necessary files from the
bin/
directory of the archive as dependenciesNAudio.Core.dll
is always requiredNLayer
andNLayer.NAudioSpport.dll
for.mp3
support (optional)NAudio.Vorbis.dll
andNVorbis.dll
for.ogg
support (optional)NAudio.Wasapi.dll
for Media Foundation support (optional, WIndows-only)
- Optionally download the necessary plugin(s) from the releases page
SecretLabNAudio.NLayer.dll
for.mp3
supportSecretLabNAudio.NVorbis.dll
for.ogg
supportSecretLabNAudio.MediaFoundation.dll
for Media Foundation support (Windows-only)
- 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>/
- Linux:
- Restart the server
Development
Simply install the SecretLabNAudio.Core
package from NuGet.
Manual installation:
- Reference the
SecretLabNAudio.Core.dll
file from the releases page - 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 | 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.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.