Skip to content
/ audiality2 Public
forked from olofson/audiality2

A realtime scripted modular audio engine for video games and musical applications.

License

Notifications You must be signed in to change notification settings

v3n/audiality2

 
 

Repository files navigation

Audiality 2

Overview

Audiality 2 is a realtime audio and music engine, primarily intended for video games. While it supports traditional sample playback as well as additive, subtractive and granular synthesis, the distinctive feature is subsample accurate realtime scripting.

Design

Audiality 2 generates sound and music using a tree graph of voices, driven by user defined programs running on a virtual machine. Voices are modular, allowing custom combinations of oscillators, filters and other units.

Each voice is controlled by a program (user defined script code) that can be given initial arguments, and receive messages for realtime control. A program can (recursively) spawn other programs on subvoices, and control these by sending messages.

Timing is subsample accurate, and durations can be specified in milliseconds, or in terms of user defined musical ticks.

The name Audiality...

...has been around for a long time, and the last few years the sound engine of Kobo Deluxe has been known by this name.

Now, as the former Audiality is no longer maintained, and the new sound engine in development for Kobo II has much more potential, it has been decided to yet again recycle the name.

Installing

  • Install the dependencies. You'll need SDL and/or JACK for the integrated audio I/O drivers, but it is possible to build Audiality 2 without any audio drivers at all, if you want to use Audiality 2 for offline rendering, or handle audio I/O in the host applications.

  • Download the source code.

  • Configure the source tree.

    • Option 1 (Un*x with bash or similar shell)
      • ./cfg-all
    • Option 2 (Using CMake directly)
      • mkdir build
      • cd build
      • cmake ..
  • Build and install.

    • Enter the desired build directory. (cfg-all creates a few different ones under "build".)
    • make
    • sudo make install

About

A realtime scripted modular audio engine for video games and musical applications.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 92.7%
  • CMake 4.9%
  • C++ 1.6%
  • Shell 0.8%