Skip to content
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

API for duplicating a SOFA file #2

Open
miccio-dk opened this issue Oct 13, 2020 · 2 comments
Open

API for duplicating a SOFA file #2

miccio-dk opened this issue Oct 13, 2020 · 2 comments

Comments

@miccio-dk
Copy link

There seem to be no functionality for loading an HRTF set and saving it into a different file (for example, after having edited its content). Would you recommend a way of implementing this?

@HaHeho
Copy link

HaHeho commented Oct 15, 2020

Shouldn't this be fairly straight forward by adapting the example which creates a new file from scratch?
https://python-sofa.readthedocs.io/en/latest/examples/SOFA-file-access.html#Create-new-SimpleFreeFieldHRIR-.sofa-file

@miccio-dk
Copy link
Author

Wouldn't it require manually going through all of the fields in "original" HRTF file and applying their content to the new one? The example doesn't quite show how to fill in the HRIR data and the other fields.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants