-
Notifications
You must be signed in to change notification settings - Fork 16
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
SN3D normalized spherical harmonics #20
Comments
We recently added the option to decompose and render real spherical harmonics, see Exp4. I am not super familiar with the different conventions, so I would have to check whether the one we deployed already is sound_field_analysis-py/sound_field_analysis/sph.py Lines 480 to 488 in 838c57e
If not, it should be fairly straight forward to incorporate a different convention. Would you be able to assist with that? |
This version is not yet released as the PyPI package, in case that was the source for installing the package. We will update it in the upcoming days. Otherwise, you can install the local code from the repository.
After checking, what we are currently using is Also our coefficients include the Condon-Shortley phase (according to the scipy). I'm guessing @JensAhrens could you verify?
|
Thanks for the quick reply! You can find a definition of the SN3D normalization here: It shouldn't be too hard to add support for that. There's also a way to transform the N3D to SN3D. I don't remember the exact formula. |
You can find more information and a way to convert from N3D to SN3D here: https://en.wikipedia.org/wiki/Ambisonic_data_exchange_formats |
Yes, that is what I looked at as well. One remark: to our method. We usually use There shouldn't be a reason to not be able to do The actually used convention only matters when exchanging coefficients with other pipelines for rendering. If I may ask, what use case or way of rendering where you considering? |
The final time domain HOA signal needs to have been produced by SN3D normalized spherical harmonics to be properly decoded in various software that accept HOA inputs like: https://facebookincubator.github.io/facebook-360-spatial-workstation/KB/CreatingVideosSpatialAudioFacebook360.html?highlight=sn3d |
Converting from N3D to SN3D is just an order weighting: Feel free to copy if needed! |
That should be N3D. With |
Thanks Chris for these references. 👍 I also noticed that our versions leads to a slightly different result compared to your implementation. However, I did not have the time investigate this closer. Will do so at some point. |
Might be the phase. If there is something else happening than a flip around the z axis, please let me know! |
Is it possible to add support for SN3D normalized spherical harmonics? SN3D is used as a standard in many systems now.
The text was updated successfully, but these errors were encountered: