advanced 3D sound engine
C++ C# C CMake Java
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
Demo.Android.NET bugfixes Jul 29, 2018
Demo.Android.Native getting ready to publish Apr 23, 2018
Demo.Windows.Native added conio.h alternative for linux (wincompat.h) Jul 30, 2018
Demo.Windows.WPF bugfixes Jul 29, 2018
Demo.Xamarin.Forms.NET/Demo.Xamarin2 bugfixes Jul 29, 2018
Demo.Xamarin.Forms bugfixes Jul 29, 2018
Generate.NET bugfixes Jul 29, 2018
NetYse bugfixes Jul 29, 2018
PCLYSE bugfixes Jul 29, 2018
TestResources keep the tests running Jul 25, 2018
YSE.NET.PCL bugfixes Jul 29, 2018
YSEAndroidStudioNative work on build system Apr 19, 2018
Yse.Android.Native bugfixes Jul 29, 2018
Yse.NET.Android.Debug allow restarting the engine Jun 19, 2018
Yse.NET.Android bugfixes Jul 29, 2018
Yse.NET.Standard bugfixes Jul 29, 2018
Yse.Windows.Native bugfixes Jul 29, 2018
YseEngine added conio.h alternative for linux (wincompat.h) Jul 30, 2018
dependencies big update Jan 6, 2018
doxyGen Revert "removed doxygen folder" Aug 20, 2015
logo getting ready to publish Apr 23, 2018
.gitattributes work on consoleDemo Feb 19, 2014
.gitignore getting ready to publish Apr 23, 2018
AUTHORS few changes to mac release script and static library config Aug 20, 2015
CMakeLists.txt add cmake build system Jul 10, 2018
COPYING allow restarting the engine Jun 19, 2018
Demo.Xamarin.Forms.sln big update Jan 6, 2018
FindPortaudio.cmake add cmake build system Jul 10, 2018 Update Jul 30, 2018
YseEngine.VC.db added patcher objects Feb 9, 2018
YseEngineAndroid.sln bugfixes Jul 29, 2018
YseEngineWindows.VC.db getting ready to publish Apr 23, 2018
YseEngineWindows.sln getting ready to publish Apr 23, 2018

This is libYSE 2.0

libYSE is a cross platform sound engine, written in C++. The 1.0 version was built with JUCE, but because of possible licensing isssues and the current JUCE being unable to create usable Android libraries, JUCE support is removed in libYSE 2.0. Currently Windows, Linux and Android are supported.


If you use YSE with C#, a few nuget packages are available. For windows you need (YSE.NET.PCL is a dependency and will be loaded automatically.)

With Android, you can use For Xamarin Forms, add Yse.NET.Android and YSE.NET.PCL to your Android Project, and add YSE.NET.PCL to your Xamarin Forms project. An example of this usage is available in the Demo.Xamarin.Forms project inside this repository.

Windows Support

There is a native C++ library, compiled with Visual Studio. It uses libsndfile and portaudio a backends. A .NET framework library is also included.

Android Support

The native android library is also created with Visual Studio. It uses libsndfile and openSLES backends. Compiling it on linux should be possible if you create the makefile to do that.

The .NET android library also provides support for C# Android applications in visual studio. Using Xamarin Forms is also possible.

There is one drawback right now: I could not find a way to pass the asset manager to the native library, making it impossible to read assets from an apk. I will work on that later. For now, a workaround is to use the BufferIO class. By reading audio files into a memory buffer, they can be passed to libYSE from .NET. This is not ideal if you have big audio files though.

Linux Support (thanks to user noondie)

Building on Linux is supported by cmake. PortAudio and libsndfile are the only dependencies for YSE. Do the following in the main directory

$mkdir build 
$cd build 
$cmake ..

iOS/Mac Support

This was also supported in YSE 1.0, but had to go when I decided to remove the dependency on JUCE. Adding support would mean adding other backends for reading files (which is done by libsndfile now) and streaming audio output (openSLES on Android and portaudio on Windows). The library is currently written with supporting multiple backends in mind, so it can't be that hard. Currently I don't have time to do this though.


Native C++ libraries are working, as well as libraries for C# (.NET framework and .NET standard). The project also includes wrappers for use with xamarin forms.


Demo projects are also included for Windows (Native/C++ and WPF/C#), Android (Native/C++, Android.NET/C# and Xamarin.Forms).