mysofa2json command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
mysofa2json: command not found
or when using sudo you get the following error message
sudo: mysofa2json: command not found
Solutions to mysofa2json: command not found
How To Fix mysofa2json: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu mysofa2json is provided by libmysofa-utils package.
libmysofa-utils is:
libmysofa is a light weight C-library intended to read SOFA (Spatially Oriented Format for Acoustics) files for spatial rendering. It hardly has any library dependencies and is suitable for embedded devices.
It reads SOFA files and checks whether the data complies to the “SimpleFreeFieldHRIR” conventions. In addition, it provides functions to look-up and interpolate the filters for a given orientation and to normalize the HRTFs (Head-Related Transfer Functions) to a reference level.
This package contains the mysofa2json utility.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libmysofa-utils
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libmysofa-utils.
sudo apt -y install libmysofa-utils
Or if you have aptitude installed you can use the following command.
sudo aptitude install libmysofa-utils
Summary
In this tutorial we learn how to fix mysofa2json command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.