Chris Robinson
e7bfe1ebd0
Simplify applying the field magnitude factor
2019-03-27 11:52:35 -07:00
Chris Robinson
608e4e916e
Avoid recreating temporary buffers all the time
2019-03-26 17:01:45 -07:00
Chris Robinson
2960d729ef
Fix a return type for accumulation
2019-03-26 13:47:24 -07:00
Chris Robinson
8b0c9fcf30
Require IR dimensions from a SOFA file
2019-03-26 13:45:25 -07:00
Chris Robinson
2446ee0cca
Avoid some explicit loops
2019-03-26 12:37:52 -07:00
Chris Robinson
a5b442b1a4
Add a missing include for varargs
2019-03-26 11:37:28 -07:00
Chris Robinson
0a4d1c858e
Support loading SOFA files directly with makemhr
...
This extracts the definition info it can from the SOFA, and uses the same logic
as sofa-info to automatically detect an appropriate layout. There is a bit of
code duplication from loaddef.cpp and sofa-info.cpp, though there are slight
modifications.
2019-03-25 20:16:02 -07:00
Chris Robinson
cb02bb00be
Detect SOFA files for makemhr input
2019-03-25 13:01:44 -07:00
Chris Robinson
a3687db015
Use only a single function to load the HrirDataT
2019-03-25 00:21:45 -07:00
Chris Robinson
78aeca10c9
Add a command-line option to force mono input with makemhr
2019-03-24 22:43:43 -07:00
Chris Robinson
6edfa6e6e0
Cleanup some unnecessary parameters
2019-03-24 22:06:01 -07:00
Chris Robinson
f392d9c138
Move makemhr's .def loading code to a separate source
2019-03-24 19:00:58 -07:00
Chris Robinson
7c16b1e02f
Rename makehrtf to makemhr and move it to a subdirectory
2019-03-24 17:31:10 -07:00