Closed ahms5 closed 1 year ago
Question - will this octave step be compatible with SOFA HRIR format? Or will it need a special exception?
It can be written to SOFA Conventions of data type TF, but can not be converted to FIR. But that shouldn't be an issue. If you are interested in results in octave bands you usually do not want IRs as a result
my intention was also to extend this tool and make it more open for other purposes than HRTFs
Sounds good, just please make it obvious that if this option is selected the HRIR will not be possible. So that beginners do not get in trouble with this.
We could add a test directly to mesh2input.py. Currently we only do this in compute HRIRs:
if any(np.abs(np.diff(frequencies, 2)) > .1) or frequencies[0] < .1:
raise ValueError(
('The frequency vector must go from f_1 > 0 to'
'f_2 (half the sampling rate) in equidistant steps.'))
The variable name might be different though and it should be a separate pull.
Implemented in https://pypi.org/project/mesh2scattering/
closes #67 add 2 more options in blender addon for exact and nominal n-th octave bands. For nominal 1 and 3 is supported for exact all kinds.