Giter VIP home page Giter VIP logo

openal-alure-sandbox's Introduction

OpenAL Soft and Alure Sandbox

Basic project template providing a full cross-platform local environment to develop audio applications with OpenAL-Soft and Alure by Chris "kcat" Robinson.

This work in progress project aims to quickly resolve the building issues on different platforms, providing easy access to awesome features like HRTF.

To achieve this, this project will be updated together with alure version 2 development, to expose all those features (like hrtf) not readily available on the 1.2 release.

This environment will:

  • Compile a local build of the two libraries
  • Link your executable against this local version
  • Copy hrtf file definitions into the executable directory

This environment will produce a binary file only runnable within your machine (at least on Mac and Linux, as Windows will automatically search for shared libs on the exe directory). If you ever want to distribute your app, either install the dependencies on your system and package accordingly, or find your way to build a relocatable package via RPATH.

Build

Clone this project, then:

mkdir build

cd build

cmake ..

cmake --build .

This project expects you to use Visual Studio as build generator on Windows.

Run

You will find your compiled binary inside your build directory.

Linux problems opening default device

If you run the executable and you get an error like:

Could not open /dev/dsp

Try installing alsa-oss package and run your example like this:

`aoss ./main /path/to/file.wav

openal-alure-sandbox's People

Contributors

snada avatar

Stargazers

Philip Muzzall avatar  avatar  avatar Simon avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.