Chris Robinson
9fdca9e29f
Remove the extra scaling on W for UHJ encoding
...
There seems to be some inconsistent info about whether W should be scaled by
sqrt(2) for encoding. Not applying the scaling results in a wider stereo image,
which seems more appropriate.
2016-03-01 15:48:23 -08:00
Chris Robinson
c89511b95e
Properly remove empty config values
2016-02-28 21:55:58 -08:00
Chris Robinson
abf6a9260a
Add an option to select between UHJ and pair-wise mixing.
2016-02-28 20:55:41 -08:00
Chris Robinson
81384949e2
Properly check for preexisting HRTF names
2016-02-28 18:30:12 -08:00
Chris Robinson
9e3a1942a3
Add an ALSA backend tab
2016-02-28 09:27:52 -08:00
Chris Robinson
11acbfebf7
Hide backend list items for backends that aren't available
2016-02-27 22:12:53 -08:00
Chris Robinson
96520520be
Show the full name in the backend lists
2016-02-27 21:52:36 -08:00
Chris Robinson
6d664367bc
Generalize the backend list
2016-02-27 19:37:42 -08:00
Chris Robinson
a12c420c59
Reorganize the Backends tab and add a PulseAudio section
2016-02-27 19:18:57 -08:00
Chris Robinson
0e1edc151d
Move the Backends tab over
2016-02-27 12:39:25 -08:00
Chris Robinson
adce176a35
Separate the left and right output writes with UHJ encoding
2016-02-27 11:38:40 -08:00
Chris Robinson
99f685d20d
Add an option for pair-wise stereo panning
2016-02-26 21:48:03 -08:00
Chris Robinson
ac91083ceb
Use 2-channel UHJ for stereo output
2016-02-26 16:09:06 -08:00
Chris Robinson
67f086d1d4
Add a function to encode 2-channel UHJ from B-Format
2016-02-26 14:51:56 -08:00
Chris Robinson
3c127dc422
Update and add some tooltips
2016-02-24 05:37:48 -08:00
Chris Robinson
99a49122b8
Sort HRTFs in alsoft-config like in the lib
2016-02-24 05:08:39 -08:00
Chris Robinson
b6824ca716
Add and use a copy-range string function
2016-02-24 04:53:32 -08:00
Chris Robinson
d04970e568
Exclude the file extension from the HRTF name
2016-02-24 04:21:03 -08:00
Chris Robinson
93d73aae4d
Add speed and quality labels for the resampler slider
...
And space out the buffer metric sliders from the edit boxes
2016-02-23 11:12:57 -08:00
Chris Robinson
c9b2a0ae26
Collect HRTF names from the paths list for alsoft-config
2016-02-23 11:03:58 -08:00
Chris Robinson
68a2ae4024
Replace the hrtf_tables option with hrtf-paths
2016-02-23 10:56:06 -08:00
Chris Robinson
e7ed3e2f72
Remove an unused function
2016-02-23 07:41:17 -08:00
Chris Robinson
dea880dbf4
Better handle duplicate HRTF names in alsoft-config
2016-02-23 07:29:07 -08:00
Chris Robinson
ae1a2fa9c0
Allow selecting a preferred HRTF in alsoft-config
...
This currently only checks the default paths when they're being used.
2016-02-23 06:52:13 -08:00
Chris Robinson
6512dcb233
Don't bother with a maximum size for the window
2016-02-23 01:46:38 -08:00
Chris Robinson
2c6e59c4ca
Fix when ESTRPIPE and EPIPE are the same
2016-02-22 08:12:09 -08:00
Chris Robinson
840fa1b5e8
Add a warning if closing alsoft-config with unsaved changes
2016-02-22 07:56:05 -08:00
Chris Robinson
9d94f792de
Restructure alsoft-config UI
...
The HRTF stuff is moved to its own tab, and a Preferred HRTF combo box is added
for future use. The resampler option is moved to the main Playback tab, and
some options are moved to an Advanced Settings section on the tab.
2016-02-22 03:05:13 -08:00
Chris Robinson
bd233c8cdb
Avoid enumerating the same HRTF file twice
2016-02-21 04:46:14 -08:00
Chris Robinson
e6f120df23
Add a config option to specify the preferred HRTF
2016-02-21 02:44:02 -08:00
Chris Robinson
c2dd681940
Remove an unused declaration
2016-02-20 21:01:24 -08:00
Chris Robinson
e2bbee653e
Include the HRTF filename in the HRTF memory chunk
2016-02-20 05:32:42 -08:00
Chris Robinson
e1ce7f9180
Use an 8-channel cube for HRTF's virtual format.
...
There were phase issues caused by applying HRTF directly to the B-Format
channels, since the HRIR delays were all averaged which removed the inter-aural
time-delay, which in turn removed significant spatial information.
2016-02-20 00:53:01 -08:00
Chris Robinson
e90cdbcf98
Reorganize makehrtf's File I/O functions
2016-02-19 22:23:37 -08:00
Chris Robinson
e1c653b571
Reorganize and reformat makehrtf code
2016-02-18 22:55:03 -08:00
Chris Robinson
8575ecf3cb
Cleanup makehrtf type definitions
2016-02-18 16:40:57 -08:00
Chris Robinson
670aeec59a
Fix default makehrtf output name
...
And clean up the parameter processing.
2016-02-18 06:11:54 -08:00
Chris Robinson
7ff5cf7820
Allocate each HRTF as a single chunk
2016-02-16 19:56:44 -08:00
Chris Robinson
ee9917fe96
Remove a dead assignment
2016-02-16 02:42:43 -08:00
Chris Robinson
6b1f322220
Only calculate steps for the used coefficients
2016-02-14 13:30:03 -08:00
Chris Robinson
ecdc93f3ca
Calculate HRTF stepping params right before mixing
...
This means we track the current params and the target params, rather than the
target params and the stepping. This closer matches the non-HRTF mixers.
2016-02-14 03:23:06 -08:00
Chris Robinson
25732d0895
Calculate channel gain stepping just before mixing
2016-02-14 01:22:01 -08:00
Chris Robinson
a9135ec39d
Don't pass the channel count to GetBFormatHrtfCoeffs
...
Since it's hard-coded anyway, there's no need to specify it.
2016-02-09 21:42:24 -08:00
Chris Robinson
000ced3795
Avoid underflow in alcnd_timedwait if the time point is already passed
2016-02-07 17:47:52 -08:00
Chris Robinson
f4fa41487c
Replace some CreateEvent calls with CreateEventW
2016-02-07 16:14:27 -08:00
Chris Robinson
6105d36fd7
Add special HRTF handling for reverb
...
This is pretty hacky. Since HRTF normally renders to B-Format with two "extra"
channels for the real stereo output, the panning interpolates between a panned
reverb channel on B-Format, and two non-panned reverb channels on stereo
output, given the panning vector length.
2016-02-06 23:00:07 -08:00
Chris Robinson
fd54f4f03d
Only apply the +3dB reverb gain boost to the ambient response.
2016-02-06 18:05:27 -08:00
Chris Robinson
3ee42d9826
Avoid an extra sample of delay in the reverb modulator
2016-02-05 15:39:31 -08:00
Chris Robinson
c533060875
Remove an unnecessary variable and move duplicate code to a common spot
2016-02-05 14:21:02 -08:00
Chris Robinson
127c7e3b8c
Don't explicitly check for LFE
...
It's going to be set to 0 gain anyway
2016-02-05 11:06:10 -08:00