Patch to avoid errors in the Sonification module triggered by sounddevice if PortAudio is missing. Now we catch the import error and only throw it if trying to run the Sonification.hear() function where it's used, otherwise strauss functionality can be used as normal.
Patch to avoid errors in the
Sonification
module triggered bysounddevice
ifPortAudio
is missing. Now we catch the import error and only throw it if trying to run theSonification.hear()
function where it's used, otherwise strauss functionality can be used as normal.