Chris Robinson
be89684f3c
Update the makemhr utility and default HRTF
2020-02-11 01:01:10 -08:00
Chris Robinson
3acc667c28
Scale delays when exceeding the max for generated mhr files
2020-02-10 22:25:07 -08:00
Chris Robinson
f63880c2ff
Use the peak IR magnitude to get the onset
...
While maybe not technically correct, we actually only care about the difference
between onsets (any base constant is removed). This should work better since it
determines when the IR is most audible, whereas previously it used a variable
threshold of when it reached 15% of the max amplitude.
An even better method may be to check where the IR amplitude exceeds a fixed
threshold (i.e. the same threshold applied to all IRs), but that would need
tweaking to find a level that doesn't catch random noise and doesn't
potentially miss the more occluded IRs.
2020-01-25 16:59:07 -08:00
Chris Robinson
7d0c01050a
Fix MHR limits
2019-12-11 01:20:00 -08:00
Chris Robinson
4867f93a34
Move duplicate SOFA-related functions to a reusable library
2019-12-11 00:49:57 -08:00
Chris Robinson
ae916929c9
Simplify a status-checking loop
2019-12-10 20:11:11 -08:00
Chris Robinson
47f416efaf
Simplify a couple assignments
2019-12-09 23:11:16 -08:00
Chris Robinson
f4b3c3b4da
Simplify a check
2019-12-08 19:23:16 -08:00
Chris Robinson
7ded42cb94
Load SOFA HRIRs in a background thread
2019-12-08 19:17:58 -08:00
Chris Robinson
5942974d47
Report the non-uniform elevations in sofa-info
2019-12-08 17:56:56 -08:00
Chris Robinson
8076fd8aa9
Report the number of IRs used from SOFA files
2019-12-08 17:01:34 -08:00
Chris Robinson
8cb0e0a58b
Simplify some parameters
2019-12-08 13:37:42 -08:00
Chris Robinson
1dc26f305a
Improve detection of compatible layouts in SOFA files
2019-12-08 03:36:27 -08:00
Chris Robinson
1a4a3764d1
Update built-in HRTF name for alsoft-config
2019-11-29 14:54:29 -08:00
Chris Robinson
c093728ced
Move the polyphase resampler to the common lib
2019-11-28 10:54:47 -08:00
Chris Robinson
f2eab3e919
Properly get the AppData path on Windows in alsoft-config
2019-11-20 14:22:04 -08:00
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