-
Notifications
You must be signed in to change notification settings - Fork 39
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
Interpolation toa #101
Interpolation toa #101
Conversation
|
maybe this is inspiring: On 28.06.2016 09:39, Fiete Winter wrote:
|
Thanks for your comments. I updated the interpolation so that phase aliasing is avoided and added references. |
Looks good, thanks. Regarding the warning for compatibility: I would decide on this at the end, if we see what are the differences etc. |
* master: DOC: update plot with loudspeaker activity for WFS DOC: fix missing |NFC-HOA| DOC: update header DOC: rename plot script DOC: remove bib file Update link to online doc in README DOC: simplify sphinx command DOC: split into several files Add test_all() validation function Update test scripts Adjust length of dummy_irs in localwfs_findhpref() Disable ir_correct_distance N warning for HRTF esxtrapolation Add README for validation scripts Remove warning for custom grid in plot_sound_field() Update comments Fix dos line endings Fix #32 Corrected Driving Functions for 2.5D WFS and add links to online equations
In |
Sorry for the delay, I had to wait for publishing of the HRTFs with low frequency correction with a new license before I could finish the test file. I have added it now. Does this look alright to you? |
Cool, this looks nice now and I'm going to merge it. |
I propose a different interpolation method for HRIRs that calculates a linear interpolation in the frequency domain for magnitude and phase separately. This way, the time of arrival in the HRIRs is interpolated as it is to be expected.
At the moment I added a new conf-parameter called
conf.ir.interpolationmethod
that can be'simple'
(= the old interpolation method samplewise in the time domain without considering the time of arrival) or'freqdomain'
.As the new method makes use of the FFT symmetries for real signals and interpolates only one half of the spectrum, it is only a bit slower than the old method (about 2-3% on my system). Should we still keep the old method?
I could extend the new method to 2D interpolation as well.