Panda3D.Framework.Audio 0.1.0-preview.13

This is a prerelease version of Panda3D.Framework.Audio.
dotnet add package Panda3D.Framework.Audio --version 0.1.0-preview.13
                    
NuGet\Install-Package Panda3D.Framework.Audio -Version 0.1.0-preview.13
                    
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="Panda3D.Framework.Audio" Version="0.1.0-preview.13" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Panda3D.Framework.Audio" Version="0.1.0-preview.13" />
                    
Directory.Packages.props
<PackageReference Include="Panda3D.Framework.Audio" />
                    
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 Panda3D.Framework.Audio --version 0.1.0-preview.13
                    
#r "nuget: Panda3D.Framework.Audio, 0.1.0-preview.13"
                    
#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 Panda3D.Framework.Audio@0.1.0-preview.13
                    
#: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=Panda3D.Framework.Audio&version=0.1.0-preview.13&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Panda3D.Framework.Audio&version=0.1.0-preview.13&prerelease
                    
Install as a Cake Tool

Panda3D.Framework.Audio

Audio lifecycle, playback handles, and 3-D positional sound for the Panda3D.Framework game framework, built directly on the engine's native AudioManager/AudioSound bindings. Replaces ShowBase's audio managers and Audio3DManager.

Provides

  • AddAudio() — registers IAudio plus the per-frame audioLoop update task at FrameSlots.Audio (requires events).
  • AddAudio3D() — a scoped per-view IAudio3D positional-sound registry over the SFX manager.
  • IAudio — the native Sfx/Music managers, LoadSfx(path, positional), LoadMusic(path), and Wrap(AudioSound).
  • ISound — a reusable handle: Play/Stop, Volume, Loop, IsPlaying, an awaitable Finished observable, and the native Native escape hatch (rate, balance, seek).
  • IAudio3DAttachListener, Attach/Detach, SetVelocity/SetVelocityAuto, and DistanceFactor.

Usage

services.AddAudio();          // add AddAudio3D() for positional sound

var audio = provider.GetRequiredService<IAudio>();

var click = audio.LoadSfx("click.ogg");
click.Play();                                       // reusable: play as often as you like

var theme = audio.LoadMusic("theme.ogg");
theme.Loop = true;
theme.Play();
audio.Music.SetVolume(0.6f);                        // volume group = the native manager

await audio.LoadSfx("stinger.ogg").Finished;        // awaitable completion

// 3-D: the emitter node moves with the actor, the camera listens.
var steps = audio.LoadSfx("steps.ogg", positional: true);
audio3d.AttachListener(cameraNode);
audio3d.Attach(steps.Native, emitterNode);
audio3d.SetVelocityAuto(steps.Native);

Part of Panda3D.Framework; the Panda3D.Framework umbrella package pulls in every library plus the bindings and native runtimes.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Panda3D.Framework.Audio:

Package Downloads
Panda3D.Framework

The complete Panda3D.Framework: every feature library, the C# bindings, and the native runtimes. Reference this one package to build and run a game.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0-preview.13 63 8/3/2026
0.1.0-preview.11 69 8/1/2026
0.1.0-preview.5 65 7/20/2026