voicesauce / opensauce-python

Voice analysis software (Python port of VoiceSauce)
Apache License 2.0
55 stars 16 forks source link

MATLAB display corruption problem in Linux #36

Open terriyu opened 5 years ago

terriyu commented 5 years ago

Note this is an issue for MATLAB, not for OpenSauce. There isn't a good place to document this error, so I decided to put it here.

I often need to run VoiceSauce in MATLAB, to get test data that I can use a benchmark for OpenSauce.

When running MATLAB in Linux, the display may become corrupted. The corruption is due to the version of Java being used to render the display. To fix the problem, add these lines to your .bashrc or .profile to tell MATLAB to use your system's version of Java:

export J2D_D3D=false export MATLAB_JAVA=/usr/lib/jvm/java-1.8.0-openjdk-amd64/jre

You may need to edit the path or version of Java to match the one installed on your system.