-
Notifications
You must be signed in to change notification settings - Fork 54
SSR and Windows
Please have a look at this fork: https://github.com/chris-hld/ssr
You can find binaries compiled for Windows (.exe) under releases.
- ecasound not available under Windows
- Handling of files is problematic. The
posixpathtools.h
file needs to be ported - Cross-platform make
-
ecasound is responsible for playback of wav files. This is not mandatory as the audio input could also be provided by other means such as a DAW. But I guess this would require that the DAW or whatever we use is able to work together with jack. Ardour might be one solution, as it seems to be available under Windows. ecasound can be switched of by don't defining
ENABLE_ECASOUND
in the build system. Update: All Audio software that can use ASIO drivers can be used with Jack via the JackRouter ASIO interface. -
In order to fix file handling the
posixpathtools.h
file needs to be ported. In addition, one has to check that the correct implementation is used on each system. Maybe it is more elegant to use an external library for this, like this one from Boost.If we wait long enough, we can simply use the
filesystem
library from C++17: http://en.cppreference.com/w/cpp/filesystem -
The current GNU autoconf/ autotools build system is made for UNIX systems. While it might be possible to emulate a UNIX environment in Windows there are options to platform-independently generate make files. CMAKE might be a good cross-platform solution.
There exist already a few examples of parts of the SSR running under Windows:
-
Nhat Duc Tran, a student of Jens Ahrens, has compiled a binaural only version of the SSR (without head tracking) in JUCE, which can run under Windows as a VST-plugin or standalone: https://github.com/SoundScapeRenderer/JuceSSRPlugin
-
Fiete Winter has compiled the binaural and BRS renderer as mex files to work with Matlab under Linux, Mac, and Windows. This is part of the Binaural Simulator of the Two!Ears project. There is also some documentation available on how to compile the sources under Windows.
-
There is a fork that uses MXE to cross compile from Linux to Windows https://github.com/chris-hld/ssr/tree/mxe . Here, Ecasound is missing and only the Razor head tracker is ported yet. Install Jack 64 bit Windows, adapt
ssr.conf
and give it a try! Pre-compiled releases are available here:https://github.com/chris-hld/ssr/releases -
The Pure Data externals (https://github.com/SoundScapeRenderer/ssr/tree/master/flext) can be compiled on Windows (and they are even compiled and uploaded with every CI run)