Skip to content

Ircam-RnD/xmm-unity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xmm-unity

Native Unity plugin wrapping the XMM library with build scripts for Android, OSX and iOS.

installation

Clone this repository with the --recursive option to grab XMM as a submodule :
git clone --recursive https://github.com/Ircam-RnD/xmm-unity.git
Or clone it normally and add a symlink to XMM's folder at the root of this repository.

compilation

Use the build script with the target platform as an argument :
./build.sh android, ./build.sh macos or ./build.sh ios

To build for Android you need to have the Android NDK installed.
To build for MacOSX and iOS you need to have XCode installed.

usage

To use the plugin, drop the built binary file into the Assets/Plugins folder of your Unity project, and the C# wrapper code into the Assets/Scripts folder. You will then be able to instantiate XmmTrainingSet and XmmModel classes.
You can find some examples of how to use the plugin here.

credits

This plugin is developed by the ISMM team at IRCAM, within the context of the RAPID-MIX project, funded by the European Union’s Horizon 2020 research and innovation programme.
Original XMM code authored by Jules Françoise, ported to Unity by Joseph Larralde.
See github.com/Ircam-RnD/xmm for detailed XMM credits.