340 Commits

Author SHA1 Message Date
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
Chris Robinson
d2b4099024 Process minimum phase reconstruction in parallel 2019-03-11 13:41:26 -07:00
Chris Robinson
0689333da8 Mirror the +90 degree elevation delays for -90 degrees 2019-03-10 21:47:05 -07:00
Chris Robinson
972a5c0f1d Exclude far-ear IRs for the synthesized -90 degree elevation 2019-03-09 13:00:08 -08:00
Chris Robinson
0e4402b2e1 Avoid some explicit loops 2019-03-05 06:21:09 -08:00
Chris Robinson
da9ec374d8 Normalize HRIRs using their maximum RMS 2019-03-04 08:00:04 -08:00
Chris Robinson
b3fe540c49 Don't normalize HRIRs per-field 2019-01-27 15:50:02 -08:00
Chris Robinson
d7af17ab87 Round the calculated field distance in makehrtf 2019-01-27 14:35:58 -08:00
Chris Robinson
8eab75f312 Update a function comment 2019-01-24 17:05:13 -08:00
Chris Robinson
5c0dcd1f24 Fix building makehrtf and sofa-info on Windows 2019-01-22 13:17:21 -08:00
Chris Robinson
ecafa19bcf Support loading sofa files in makehrtf
The makehrtf utility now requires libmysofa to build. This isn't necessay for
the OpenAL Soft library itself.
2019-01-22 11:24:57 -08:00
Chris Robinson
1565d7e276 Add a sofa-info utility to check sofa files 2019-01-21 10:23:17 -08:00
Filip Gawin
4169c6f37d Use c++ headers 2019-01-09 19:42:40 +01:00
Filip Gawin
0d3a0635d9 Avoid using old style casts
To think about:
examples/alffplay.cpp:600
OpenAL32/Include/alMain.h:295
2019-01-08 19:42:44 +01:00
Filip Gawin
0537414baf Use nullptr in cpp files 2019-01-07 12:37:13 +01:00
Chris Robinson
0452c9201d Add a missing include 2018-12-31 20:51:51 -08:00
Chris Robinson
87143b6645 Remove some C-isms from makehrtf
Remove unnecessary typedefs, use C++11 stamndard types and values, avoid
explicit allocations.
2018-12-31 19:54:34 -08:00
Chris Robinson
4c4572ae8a Compile makehrtf as C++ 2018-12-31 18:23:30 -08:00
Chris Robinson
7d821551ac Recognize ambix as an alias for acn+sn3d 2018-12-27 01:18:10 -08:00
Chris Robinson
497226f11e Add an adjust-latency config option for PulseAudio 2018-12-25 17:04:54 -08:00
Chris Robinson
ed5d222eed Remove the old unused bsincgen.c 2018-11-17 07:50:46 -08:00
Chris Robinson
903d878460 Replace restrict with RESTRICT 2018-10-29 11:32:50 -07:00
Filip Gawin
08226bc6b0 Simplify some statements 2018-10-29 13:38:58 +01:00
Raulshc
f79683d459 Alsoft-config: Add autowah effect 2018-07-25 12:51:09 -07:00
Chris Robinson
8854720e8a Avoid separate in/out parameters when they're always the same 2018-05-29 22:15:49 -07:00
Chris Robinson
ac4061b9d2 Better sort the effect list in alsoft-config 2018-05-26 18:17:17 -07:00
Raulshc
da6f32a1c0
Alsoft-config: Add frequency shifter effect 2018-05-20 17:27:37 +02:00
Chris Robinson
ea8b52ee2c Include header files in CMake's source lists 2018-04-21 23:42:04 -07:00
Chris Robinson
b1fe405861 Improve ordering of channel processing in makehrtf 2018-04-03 11:21:15 -07:00
Chris Robinson
91900b0599 Fix misspellings of quadraphonic
AL_LOKI_quadriphonic is left alone since that is what the extension is called
and what code expects. All other instances have been fixed for consistency.
2018-03-30 09:18:17 -07:00