FinalEngine.Audio
2023.4.0-pre
dotnet add package FinalEngine.Audio --version 2023.4.0-pre
NuGet\Install-Package FinalEngine.Audio -Version 2023.4.0-pre
<PackageReference Include="FinalEngine.Audio" Version="2023.4.0-pre" />
paket add FinalEngine.Audio --version 2023.4.0-pre
#r "nuget: FinalEngine.Audio, 2023.4.0-pre"
// Install FinalEngine.Audio as a Cake Addin #addin nuget:?package=FinalEngine.Audio&version=2023.4.0-pre&prerelease // Install FinalEngine.Audio as a Cake Tool #tool nuget:?package=FinalEngine.Audio&version=2023.4.0-pre&prerelease
FinalEngine.Audio
FinalEngine.Audio provides interfaces and abstractions to be used when handling audio within Final Engine. If you are looking for an implementation of the interfaces described in this package we currently have support for the following APIs:
- CASL - OpenAL
- More coming soon...
Getting started
Below you'll find instructions on how to take advantage of this package. Please note that Final Engine is in active development and a full release is still underway.
Prerequisites
First, you'll need to install an additional NuGet dependency that implements the interfaces and abstractions provided by this package (such as CASL - OpenAL or design your own implementation using a different API such as FMOD or TinySound.
Additionally, if you plan on loading sounds using IResourceManager
you might have to install FinalEngine.Extensions.Resources as it contains a SoundResourceLoader
used to load sound resources. This isn't necessarily required but will make your life easier.
Usage
Once the additional dependencies have been resolved you can now create a sound using the resource loader or create an OpenALSound
object directly:
// Somewhere in your initialization/load content logic.
var sound = new OpenALSound("sound.mp3");
// Or, use the resource manager.
var sound2 = ResourceManager.Instance.LoadResource<ISound>("sound2.mp3");
Additional documentation
This package is provided as a standalone package to encourage a non-monolithic approach to developing your game. The developers of Final Engine encourage the use of the resource manager found in FinalEngine.Resources to handle the lifetime of an ISound
resource.
Feedback
Want to provide feedback? Perhaps you have a found a bug or wish to provide a feature request? Look no further!
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net7.0
- FinalEngine.Resources (>= 1.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on FinalEngine.Audio:
Package | Downloads |
---|---|
FinalEngine.Audio.OpenAL
An OpenAL audio library used to handle audio for Final Engine games. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2023.4.0-pre | 103 | 7/11/2023 |