Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add an option for pair-wise stereo panning | Chris Robinson | 2016-02-26 | 1 | -5/+7 |
| | |||||
* | Use 2-channel UHJ for stereo output | Chris Robinson | 2016-02-26 | 1 | -0/+3 |
| | |||||
* | Remove an unused function | Chris Robinson | 2016-02-23 | 1 | -2/+0 |
| | |||||
* | Use an 8-channel cube for HRTF's virtual format. | Chris Robinson | 2016-02-20 | 1 | -0/+9 |
| | | | | | | 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. | ||||
* | Calculate HRTF stepping params right before mixing | Chris Robinson | 2016-02-14 | 2 | -9/+11 |
| | | | | | 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. | ||||
* | Calculate channel gain stepping just before mixing | Chris Robinson | 2016-02-14 | 2 | -9/+14 |
| | |||||
* | Rename ComputeBFormatGains to ComputeFirstOrderGains | Chris Robinson | 2016-01-31 | 1 | -5/+5 |
| | |||||
* | Make the source's buffer queue a singly-linked list | Chris Robinson | 2016-01-31 | 1 | -1/+0 |
| | |||||
* | Mix to multichannel for effects | Chris Robinson | 2016-01-28 | 2 | -6/+23 |
| | | | | | | This mixes to a 4-channel first-order ambisonics buffer. With ACN ordering and N3D scaling, this makes it easy to remain compatible with effects that only care about mono input since channel 0 is an unattenuated mono signal. | ||||
* | Pass a pointer to the input samples array for effect processing | Chris Robinson | 2016-01-27 | 1 | -2/+2 |
| | |||||
* | Separate calculating ambisonic coefficients from the panning gains | Chris Robinson | 2016-01-25 | 2 | -16/+36 |
| | |||||
* | Reorder filterstate properties | Chris Robinson | 2016-01-23 | 1 | -7/+8 |
| | |||||
* | Inline a couple filterstate methods | Chris Robinson | 2016-01-23 | 1 | -2/+25 |
| | |||||
* | Use doubles for the constructed listener matrix | Chris Robinson | 2015-11-11 | 2 | -14/+39 |
| | | | | | | This helps the stability of transforms to local space for sources that are at or near the listener. With a single-precision matrix, even FLT_EPSILON might not be enough to detect matching positions. | ||||
* | Implement a band-limited sinc resampler | Chris Robinson | 2015-11-05 | 2 | -4/+32 |
| | | | | | | | | This is essentially a 12-point sinc resampler, unless it's resampling to a rate higher than the output, at which point it will vary between 12 and 24 points and do anti-aliasing to avoid/reduce frequencies going over nyquist. Code provided by Christopher Fitzgerald. | ||||
* | Pass in the Q parameter for setting the filter parameters | Chris Robinson | 2015-11-01 | 2 | -20/+36 |
| | | | | Also better handle the peaking filter gain. | ||||
* | Remove an unused struct field | Chris Robinson | 2015-11-01 | 1 | -1/+0 |
| | |||||
* | Fix a comment | Chris Robinson | 2015-11-01 | 1 | -1/+1 |
| | |||||
* | Finalize ALC_SOFT_HRTF | Chris Robinson | 2015-10-28 | 1 | -22/+0 |
| | |||||
* | Rename ALC_NUM_HRTF_SPECIFIER_SOFT to ALC_NUM_HRTF_SPECIFIERS_SOFT | Chris Robinson | 2015-10-26 | 1 | -1/+1 |
| | |||||
* | Update filter histories even when they're not used | Chris Robinson | 2015-10-24 | 1 | -0/+2 |
| | | | | | | If the filter properties are continually updated, and the HF or LF gain goes from <1, to 1, and later back to <1, the history shouldn't hold stale values from before it was at 1. | ||||
* | Use one send gain per buffer channel | Chris Robinson | 2015-10-23 | 1 | -1/+1 |
| | |||||
* | Convert the PortAudio backend to the new backend API | Chris Robinson | 2015-10-22 | 1 | -3/+0 |
| | |||||
* | Remove the MIDI code | Chris Robinson | 2015-10-20 | 2 | -387/+0 |
| | | | | | | | The extension's not going anywhere, and it can't do anything fluidsynth can't. The code maintenance and bloat is not worth keeping around, and ideally the AL API would be able to facilitate MIDI-like behavior anyway (envelopes, start-at- time, etc). | ||||
* | Remove unused channel labels | Chris Robinson | 2015-10-18 | 1 | -9/+0 |
| | |||||
* | Use a constant value for the post-position padding | Chris Robinson | 2015-10-15 | 2 | -3/+6 |
| | |||||
* | Store the source's previous samples with the voice | Chris Robinson | 2015-10-15 | 2 | -0/+5 |
| | | | | | | This helps avoid different results when looping is toggled within a couple samples of the loop point, or when a processed buffer is removed while the source is only a couple samples into the next buffer. | ||||
* | Replace the sinc6 resampler with sinc8, and make SSE versions | Chris Robinson | 2015-10-11 | 1 | -4/+5 |
| | |||||
* | Move the FIR4 from SSE2 to SSE3 | Chris Robinson | 2015-10-11 | 1 | -2/+3 |
| | | | | | SSE3 can avoid the slow _MM_TRANSPOSE_PS4 call thanks to the inclusion of horizontal adds. | ||||
* | Allow apps to request a specific HRTF | Chris Robinson | 2015-10-07 | 1 | -2/+3 |
| | |||||
* | Use the enumerated HRTF list for selecting an HRTF | Chris Robinson | 2015-10-06 | 1 | -0/+1 |
| | | | | Also report the proper specifier of the one currently in use. | ||||
* | Enumerate and list HRTFs per-device | Chris Robinson | 2015-10-06 | 1 | -0/+1 |
| | |||||
* | Add a function to get a list of data files | Chris Robinson | 2015-10-03 | 1 | -0/+2 |
| | | | | | | The method takes a marked-up filename (e.g. may include %r for a sample rate, %% for %, etc), and returns a vector of strings of found filenames that match. It will search the CWD, the local, and global data directories, in that order. | ||||
* | Add methods to enumerate and query device HRTFs | Chris Robinson | 2015-10-03 | 1 | -0/+4 |
| | | | | Currently just returns a dummy entry. | ||||
* | Move the resampler stuff to mixer.c where it's used | Chris Robinson | 2015-10-01 | 2 | -14/+0 |
| | |||||
* | Implement a 6-point sinc-lanczos filter | Chris Robinson | 2015-09-29 | 2 | -2/+12 |
| | |||||
* | Replace the cubic resampler with a 4-point sinc/lanczos filter | Chris Robinson | 2015-09-27 | 2 | -4/+4 |
| | |||||
* | Don't keep selecting the mixer to use | Chris Robinson | 2015-09-27 | 2 | -3/+1 |
| | |||||
* | Increase the max pitch to 255 | Chris Robinson | 2015-09-26 | 1 | -1/+1 |
| | | | | | | | Note that this is the multiple above the device sample rate, rather than the source property limit. It could theoretically be increased to 511 by testing against UINT_MAX instead of INT_MAX, since the increment and positions are using unsigned integers. I'm just being paranoid about overflows. | ||||
* | Get rid of ALCdevice_GetLatency | Chris Robinson | 2015-09-21 | 1 | -1/+0 |
| | |||||
* | Fix updating listener params when forcing updates | Chris Robinson | 2015-09-18 | 1 | -0/+2 |
| | |||||
* | Use sizeof T for the size of the object type | Chris Robinson | 2015-09-15 | 1 | -5/+5 |
| | |||||
* | Rename F_2PI to F_TAU | Chris Robinson | 2015-09-13 | 1 | -1/+1 |
| | |||||
* | Set both BS2B parameters at once | Chris Robinson | 2015-09-08 | 1 | -7/+4 |
| | |||||
* | Don't store the HRTF request mode in the device flags | Chris Robinson | 2015-09-05 | 1 | -8/+1 |
| | |||||
* | Allow for device-specific config values | Chris Robinson | 2015-08-28 | 1 | -8/+8 |
| | |||||
* | Use ACN ordering for ambisonics coefficients arrays | Chris Robinson | 2015-08-28 | 1 | -4/+4 |
| | | | | | | Note that it still uses FuMa scalings internally. Coefficients loaded from config files specify if they're FuMa (in both ordering and scaling) or N3D, and will get reordered or rescaled as needed. | ||||
* | Don't explicitly store first-order coefficients | Chris Robinson | 2015-08-18 | 1 | -5/+3 |
| | | | | | | | It seems a simple scaling on the coefficients will allow first-order content to work with second- and third-order coefficients, although obviously not with any improved locality. That may be something to look into for the future, but this is good enough for now. | ||||
* | Allow specifying ALC_DONT_CARE_SOFT for ALC_HRTF_SOFT | Chris Robinson | 2015-07-06 | 1 | -2/+8 |
| | | | | | ALC_FALSE now indicates explicitly no HRTF mixing, while ALC_DONT_CARE_SOFT is autodetect. | ||||
* | Update a couple comments | Chris Robinson | 2015-07-04 | 1 | -1/+1 |
| |