Skip to content

vercidium-audio/vaudio-openal

Repository files navigation

Vercidium Audio + OpenAL Soft Example

This repository requires the Vercidium Audio SDK v1.1.1 and OpenAL Soft to run:

Please note that the Vercidium Audio SDK is not free for commercial use. See vercidium.com/audio

OpenAL Soft Setup

Download OpenAL Soft from the link above, then copy the openal-soft-1.25.1-bin/bin/Win64/soft_oal.dll file to the vaudio-openal/lib folder.

Vercidium Audio Setup

You can either copy the entire vaudio folder to the vaudio-openal/lib folder:

screenshot of the vaudio-openal/lib folder. It contains soft_oal.dll, and a folder called vaudio

Or edit vaudio-openal.csproj to point to the folder where the Vercidium Audio SDK lives:

<PropertyGroup>
    <!-- Replace this with the path to your vaudio SDK -->
    <VAudioDir>lib\vaudio</VAudioDir>
</PropertyGroup>

File Overview

  • resource/audio/speech.ogg is an example file included for playback
  • Scene.cs creates a Vercidium Audio context and initialises an OpenAL device

Scene.cs is where you can adjust ray counts, add primitives, change materials and more. See the Vercidium Audio docs for more.

Controls

Open the project in Visual Studio 2022 or 2026, and press F5 to run the project.

A debug window will appear that displays:

  • the raytracing scene (primitives and rays)
  • an echogram at the top
  • raytracing stats in the bottom left.

Controls:

  • Use WASD and the mouse to move the camera
  • Press escape to release the mouse
  • Press shift/control to increase camera speed

Screenshot of the Vercidium Audio debug window, which shows primitives, rays, echograms and raytracing stats

About

OpenAL Soft integration with Vercidium Audio

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages