-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hrtf = SOFAload('hrtf_M_hrtf B.sofa'); warning: Invalid UTF-8 byte sequences have been replaced. #76
Comments
could you provide the sofa file (to reproduce your issue)? |
Sure. Thanks for your reply. I'm not sure if it is just a path problem. I am new to Octave. The upper SOFAtoolbox directory has been added to the path and |
I could not reproduce the issue with Matlab. Octave returns some warnings though, regarding invalid UTF-8 byte sequences similar to yours. No error though. I'm wondering if SOFAstart runs properly, it does not return a version number. Which version of SOFA Toolbox do you use? |
Why do you use these very old SOFA files, SOFA version 0.6? They are deprecated for almost 10 years. Can you please try to get the latest version from: |
Is it supposed to return a version number? If so that is not mentioned or demonstrated in the documentation. Maybe it only does that in Matlab? Installed from |
The reason I am using these SOFA files is because they are all I was able to find in the sparse documentation of the [FFmpeg-cvslog] doc/filters: add sofalizer examples SOFAlize This! Downmixing multi-channel audio to stereo – Code Wanderer I have no way of knowing what SOFA version they are since there are thousands of SOFA files available but I have yet to find a single one that is documented. Hence my interest in this toolbox. I need to identify SOFA files that would work for me. The toolbox page states, "SOFA Toolbox 2.x implements SOFA versions 2.x," but I couldn't find any that were identified as such.
Same error. |
When I do that in Octave 8.2.0 on Windows, I get:
When ignoring the warnings, the load seems to succeed. Interesting is that I do see the version of the Toolbox - as Michael mentioned, it would be good to see why you don't see the version. |
Well there may be a difference in the Windows version and the Matlab version of Octave compared to the Macos version. But in any case there is no error.
Succeed how? Did you try This is what I get:
What do you get with the SOFA file that isfmiho recommended?: |
Unfortunately I have no experience with Octave in MacOS. Can you please try to:
|
So that works. |
When thinking about the cause of your problem (which we cannot reproduce), one thought: Why can you do If yes, remove all SOFA related paths, restart Octave, check again if there are no SOFA-related paths, go to the directory with SOFAstart, call I wonder if you'll get the error then... |
@PacoH: Did petibub's suggestions help? Is the issue solved? |
Thanks isfmiho. I will try this. |
What needs to be done to get this to work?
hrtf_M_hrtf B.sofa
is inSOFAtoolbox
upper level directory.The text was updated successfully, but these errors were encountered: