Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 1.46 KB

README.md

File metadata and controls

29 lines (23 loc) · 1.46 KB

eegsynth-matlab

Converting real-time EEG into sounds and music

Platform specific notes for Microsoft Windows

Precompiled mex file are provided, these are linked to a static version of portmidi. To use these mex files in MATLAB, you might have to install the Microsoft Visual C++ 2010 Redistributable Package, which is available from [1]. This package contains some additional system libraries that are used by MSVC 2010.

Compiling the mex files from scratch requires that you have a C/C++ compiler installed. We have used (and only tested with) Microsoft Visual C++ Express 2010, which is available from [2]. COmpiling 64-bit mex files furthermore requires that you have the Windows Software Development Kit version 7.1 (see [3]).

[1] https://www.microsoft.com/en-us/download/details.aspx?id=5555 [2] https://www.visualstudio.com/en-us/downloads [3] http://stackoverflow.com/questions/1865069/how-to-compile-a-64-bit-application-using-visual-c-2010-express

Platform specific notes for Mac OS X

Compilation of the mex files requires that portmidi is present. This can be downloaded from http://portmedia.sourceforge.net/portmidi. Compilation of portmidi requires cmake. It is also possible to install a compiled version of portmidi using MacPorts ("sudo port install portmidi").

Furthermore, for compilation you probably need to update the library path settings in compile_midi.m

Platform specific notes for Linux

Compilation on Linux requires the ALSA libraries to be installed.