Chris Robinson
74cbba511d
Limit HRTF ambisonic decoding to second-order
...
The generated third-order matrix has incorrect first-order coefficients,
indicating a wonky decoder. The generated second-order matrix looks more
stable.
2019-11-09 13:04:44 -08:00
Chris Robinson
205ff0080e
Adjust padding in alsoft-config and remove an invalid signal
2019-10-27 18:02:25 -07:00
Chris Robinson
0dfdebdf6d
Limit the number of azimuths and elevations used in SOFA files
2019-10-22 16:30:07 -07:00
Chris Robinson
4733fc6f1e
Fix azimuth limit
2019-10-22 15:23:17 -07:00
Chris Robinson
a8a3acb6f6
More consistently use doubles in makemhr and loadsofa
2019-10-22 15:22:37 -07:00
Chris Robinson
fcde56e1fc
Increase the max elevation and azimuth count for HRTFs
2019-10-21 11:30:39 -07:00
Chris Robinson
882b4acae8
Add "fast" variants for the bsinc resamplers
...
This simply omits the scale factor from the filter, similar to how up-sampling
does. The consequence of this is less smooth transitions when ramping the
pitch while down-sampling, but otherwise behaves fine.
2019-09-28 01:58:29 -07:00
Chris Robinson
e01b32f8e0
Use istream for makemhr input
2019-09-23 18:37:36 -07:00
Chris Robinson
34a0fad6cd
Use a unique_ptr to auto-free MYSOFA_HRTF
2019-09-23 17:38:43 -07:00
Chris Robinson
66565ca7a3
Enable and fix some more warnings
2019-09-18 10:09:04 -07:00
Chris Robinson
6d93b2ba81
Use our case-insensitive compare functions in makemhr
2019-09-16 14:55:52 -07:00
Chris Robinson
4b8f78a8d6
Fix a few more GCC warnings
2019-09-14 19:42:54 -07:00
Chris Robinson
807d3b64ca
Enable and fix more warnings
2019-09-14 18:35:23 -07:00
Chris Robinson
4c76f32dda
Avoid implicit conversions with the examples and utils
2019-09-12 03:22:34 -07:00
Chris Robinson
be0442c620
Avoid C-style casts in C++
2019-09-11 06:47:56 -07:00
Chris Robinson
e4b15aeefc
Fix some implicit casts
2019-09-11 04:55:54 -07:00
Chris Robinson
19e1cd7430
Make hq-mode the default and update ambisonics.txt
2019-09-08 01:38:20 -07:00
Chris Robinson
a15f25b07a
Return a QString from GetVersionString
2019-08-31 22:28:26 -07:00
Chris Robinson
5becf4bb73
Don't include version.h in mainwindow.cpp
...
Should help with post-commit compile times
2019-08-31 21:47:58 -07:00
Chris Robinson
3223b6a906
Update mainwindow.cpp
...
Use the less-error-prone pointer-to-member syntax for connect calls, and use
uniform initialization more often.
2019-08-26 19:13:31 -07:00
Raulshc
42602b9ede
Alsoft-config: Add vocal morpher effect
2019-08-18 18:49:52 +02:00
Chris Robinson
e0a795d9d2
Clean up some more headers
2019-07-28 14:55:02 -07:00
Chris Robinson
b728cf7bd6
Properly include getopt.h
2019-07-14 04:05:08 -07:00
Penguin
4027664fc2
Fixed MSVC error.
2019-07-14 18:03:49 +09:00
Penguin
313549c76d
Add missing header.
2019-07-14 18:03:32 +09:00
Chris Robinson
363e2fb73a
MSVC doesn't like parenthesized type initialization
2019-07-13 16:51:19 -07:00
Chris Robinson
fa032368ae
Rename HRTF Quality title to HRTF Render Method
2019-07-05 12:27:58 -07:00
Chris Robinson
3edbeefdb7
Add a setting for hrtf-mode to alsoft-config
2019-07-04 22:59:12 -07:00
Chris Robinson
fb52413a6e
Make a number of settings tristate
2019-04-29 19:47:14 -07:00
Chris Robinson
cef7eebed6
Disable NFC by default
2019-04-29 19:47:14 -07:00
ArthurSonzogni
2eb657f2df
CMAKE: export PUBLIC headers of OpenAL.
...
Remove the cmake function:
INCLUDE_DIRECTORIES(..)
Replace it by:
TARGET_INCLUDE_DIRECTORIES(...)
It gives us the opportunity to define whether or not OpenAL dependencies
should be exported or not (using PUBLIC or PRIVATE keywoard).
[user visible changes]
The OpenAL PUBLIC headers are exported. When a target depends on OpenAL,
it will have access to its public headers.
Some small refactor along the way.
2019-04-30 04:17:43 +02:00
Chris Robinson
c7e388873c
Increase the period size slider and don't use steps of 64
2019-04-28 22:21:23 -07:00
Chris Robinson
8ca849655f
Properly replace sinc4 with cubic in alsoft-config
2019-04-28 21:51:47 -07:00
Chris Robinson
dd2c43be42
Update the period size placeholder text
2019-04-26 19:02:18 -07:00
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
5e6e738681
Change references of makehrtf to makemhr
2019-03-24 17:35:32 -07:00
Chris Robinson
7c16b1e02f
Rename makehrtf to makemhr and move it to a subdirectory
2019-03-24 17:31:10 -07:00
Chris Robinson
3a19b94503
Mirror a couple HRIR elevations from the top for the bottom
...
Because the ears are offset from center, linear interpolation from the lowest
defined elevation to the -90 degree bottom misses this slight deviation.
Mirroring one or two more elevations from the top helps catch it, and bilinear
interpolation is used to transition back to the lowest known measurements.
2019-03-13 12:27:44 -07:00
Chris Robinson
e0daad6a16
Update comment for SynthesizeOnsets
2019-03-11 14:28:13 -07:00