Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Include std::placeholders once in an anonymouse namespace | Chris Robinson | 2019-03-16 | 1 | -3/+2 |
| | |||||
* | Simplify calculating azimuth and elevation indices for HRTF | Chris Robinson | 2019-03-14 | 2 | -18/+8 |
| | |||||
* | Fix wrapping for the upper HRIR index | Chris Robinson | 2019-03-14 | 1 | -13/+14 |
| | |||||
* | Mirror a couple HRIR elevations from the top for the bottom | Chris Robinson | 2019-03-13 | 1 | -16/+92 |
| | | | | | | | 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. | ||||
* | Set the correct target gain after a fade-out HRTF mix | Chris Robinson | 2019-03-12 | 1 | -1/+1 |
| | |||||
* | Check a value where its used | Chris Robinson | 2019-03-12 | 1 | -3/+4 |
| | |||||
* | Fix not looping when the source offset is beyond the loop end | Chris Robinson | 2019-03-11 | 1 | -1/+1 |
| | |||||
* | Remove a couple redundant local variables | Chris Robinson | 2019-03-11 | 1 | -17/+14 |
| | |||||
* | Pass the voice state as a parameter instead of reloading it | Chris Robinson | 2019-03-11 | 3 | -9/+8 |
| | |||||
* | Update comment for SynthesizeOnsets | Chris Robinson | 2019-03-11 | 1 | -2/+2 |
| | |||||
* | Process minimum phase reconstruction in parallel | Chris Robinson | 2019-03-11 | 1 | -34/+93 |
| | |||||
* | Mirror the +90 degree elevation delays for -90 degrees | Chris Robinson | 2019-03-10 | 1 | -12/+19 |
| | |||||
* | Rename ALvoice fields for consistency | Chris Robinson | 2019-03-10 | 5 | -289/+285 |
| | |||||
* | Improve handling of voice's AmbiScales for upsampling | Chris Robinson | 2019-03-10 | 3 | -10/+25 |
| | |||||
* | Use the correct value for MAX_AMBI2D_CHANNELS | Chris Robinson | 2019-03-10 | 1 | -1/+1 |
| | |||||
* | Don't copy old coeffs in MixHrtfBlendBase | Chris Robinson | 2019-03-10 | 1 | -2/+2 |
| | |||||
* | Avoid an extra level of indentation | Chris Robinson | 2019-03-10 | 1 | -38/+50 |
| | |||||
* | Don't directly use a buffer for updating source parameters | Chris Robinson | 2019-03-10 | 4 | -29/+20 |
| | |||||
* | Avoid excessive transformations of the source position | Chris Robinson | 2019-03-10 | 1 | -44/+60 |
| | |||||
* | Add a method to apply an HF scale without band-splitting | Chris Robinson | 2019-03-10 | 4 | -25/+52 |
| | |||||
* | Fix for MSVC decaying arrays to pointers with ?: | Chris Robinson | 2019-03-09 | 1 | -5/+5 |
| | |||||
* | Fade out voices that end normally | Chris Robinson | 2019-03-09 | 1 | -140/+180 |
| | | | | | | Sometimes a sound may end with non-0 amplitude, particularly if a buffer queue underruns. This helps avoid clicks and pops for sources that don't already end in silence. | ||||
* | Play dummy samples and force a fade out on stopping voices | Chris Robinson | 2019-03-09 | 3 | -26/+45 |
| | |||||
* | Add a Stopping state for voices | Chris Robinson | 2019-03-09 | 5 | -39/+104 |
| | | | | | | This currently doesn't do much, except have the mixer progress it to Stopped. It's valid to have without a source or buffers, and in the future will allow fading out when a source is paused or stopped. | ||||
* | Increment the active voice count ahead of playing the sources | Chris Robinson | 2019-03-09 | 1 | -7/+27 |
| | |||||
* | Clear the voice's buffer when detaching from source | Chris Robinson | 2019-03-09 | 2 | -0/+10 |
| | |||||
* | Exclude far-ear IRs for the synthesized -90 degree elevation | Chris Robinson | 2019-03-09 | 1 | -5/+35 |
| | |||||
* | Avoid some explicit loops | Chris Robinson | 2019-03-05 | 1 | -107/+118 |
| | |||||
* | Normalize HRIRs using their maximum RMS | Chris Robinson | 2019-03-04 | 1 | -2/+23 |
| | |||||
* | Pass a reference to function for a template parameter | Chris Robinson | 2019-03-03 | 1 | -3/+3 |
| | |||||
* | Use more specific names for temp buffer storage | Chris Robinson | 2019-03-02 | 2 | -19/+13 |
| | |||||
* | Use a proper flag to indicate audio is prepared in alffplay | Chris Robinson | 2019-03-01 | 1 | -14/+9 |
| | |||||
* | Reverse the HRTF field array | Chris Robinson | 2019-02-27 | 3 | -15/+24 |
| | | | | | | Most often a sound's distance will be beyond the farthest field measurement, so It's more efficient to have the farthest field first and avoid looping through the whole field array for them. | ||||
* | Combine the reverb output mixes into a single call | Chris Robinson | 2019-02-25 | 1 | -28/+38 |
| | |||||
* | Unlock the audio decoder mutex before disabling events in alffplay | Chris Robinson | 2019-02-25 | 1 | -2/+3 |
| | | | | | The callback may be waiting on the mutex, but disabling the callback needs any current invocation to finish first. | ||||
* | Make sure the reverb fading completes | Chris Robinson | 2019-02-25 | 1 | -1/+1 |
| | | | | | The processing loop doesn't depend on being aligned anymore, so it won't get stuck when only less than 4 samples can be done in a non-final update. | ||||
* | Convert the device frequency to float just once | Chris Robinson | 2019-02-24 | 1 | -9/+7 |
| | |||||
* | Make sure the voice's direct buffer is always set | Chris Robinson | 2019-02-24 | 1 | -7/+5 |
| | |||||
* | Remove a duplicate index array | Chris Robinson | 2019-02-24 | 1 | -2/+2 |
| | |||||
* | Reduce BUFFERSIZE to match the default period size | Chris Robinson | 2019-02-24 | 3 | -16/+18 |
| | | | | | Also adds a bit more space to the temp source data buffer, to avoid needing to loop on matching sample rates. | ||||
* | Rework reverb A/B-Format conversion mixing | Chris Robinson | 2019-02-24 | 1 | -99/+77 |
| | | | | | This should help improve performance using the optimized mixers, and fewer passes on the transforms, though at the cost of more memory. | ||||
* | Change some functions to proper methods | Chris Robinson | 2019-02-23 | 1 | -171/+171 |
| | |||||
* | Avoid multiple int-to-float conversions | Chris Robinson | 2019-02-23 | 1 | -12/+17 |
| | |||||
* | Constify some parameters and remove an explicit loop | Chris Robinson | 2019-02-23 | 2 | -10/+23 |
| | |||||
* | Remove the FOAOut mixing buffer and associated post-processes | Chris Robinson | 2019-02-22 | 8 | -298/+14 |
| | |||||
* | Remove the unused FOAOut EffectTarget | Chris Robinson | 2019-02-22 | 2 | -3/+2 |
| | |||||
* | Apply ambisonic upsampling on reverb output as needed | Chris Robinson | 2019-02-22 | 1 | -37/+110 |
| | | | | | | | | | | This isn't the greatest thing since it splits the A-to-B-Format transform from the panning transform. The A-to-B and HF scale mixes are also not as optimal as they could be, since they can't use the main mixer functions (wrong buffer line length). It does, however, get rid of the final use of the FOAOut buffer, so the upsampling post-process is no longer needed. | ||||
* | Ensure reverb fading doesn't end with less than 4 samples | Chris Robinson | 2019-02-22 | 1 | -1/+1 |
| | |||||
* | Avoid some unnecessary local variables | Chris Robinson | 2019-02-22 | 1 | -13/+12 |
| | |||||
* | Combine reverb transform matrices one column at a time | Chris Robinson | 2019-02-21 | 1 | -18/+23 |
| |