Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Combine the chorus and flanger processing functions | Chris Robinson | 2018-01-09 | 1 | -420/+0 |
| | | | | | | | Given that they're nearly identical, it should be relatively simple to use the same effect state to process either of them, similar to the reverbs. The big differences seem to be the delay range (much shorter with flanger) and the defaults. | ||||
* | Ensure the chorus delay and depth leave enough padding for resampling | Chris Robinson | 2018-01-07 | 1 | -7/+13 |
| | | | | Also use cubic resampling for the modulated tap. Applies to flanger too. | ||||
* | Don't offset the chorus/flanger delay and LFO | Chris Robinson | 2017-12-24 | 1 | -18/+11 |
| | | | | | The delay being added to the scaled LFO will ensure a proper positive result regardless. | ||||
* | Fix the lfo_offset for a 0-rate flanger | Chris Robinson | 2017-12-19 | 1 | -1/+1 |
| | |||||
* | Update the chorus and flanger state struct less often | Chris Robinson | 2017-12-19 | 1 | -4/+4 |
| | |||||
* | Fade gains in the chorus and flanger output | Chris Robinson | 2017-12-19 | 1 | -8/+10 |
| | |||||
* | Use a single delay line for chorus feedback on a fixed tap | Chris Robinson | 2017-12-18 | 1 | -46/+59 |
| | | | | | | The outputs themselves use a variale-delay tap, but using a separate fixed- delay tap on the feedback helps improve the perceived "wobble" with sustained notes. This also applies to the flanger effect. | ||||
* | Apply chorus and flanger feedback on the tapped re-feed | Chris Robinson | 2017-12-17 | 1 | -3/+3 |
| | |||||
* | Use the selected mixer for chorus and flanger output | Chris Robinson | 2017-12-17 | 1 | -25/+11 |
| | |||||
* | Update flanger with the same changes as chorus | Chris Robinson | 2017-12-15 | 1 | -44/+55 |
| | |||||
* | Pass the context to the auxiliary effect update method | Chris Robinson | 2017-09-21 | 1 | -5/+6 |
| | |||||
* | Calculate chorus and flanger mod delays separately from feedback | Chris Robinson | 2017-06-07 | 1 | -68/+59 |
| | |||||
* | Fix handling chorus and flanger LFO displacement offset | Chris Robinson | 2017-05-26 | 1 | -1/+4 |
| | | | | | The phase offset is modulo-wrapped rather than masked, so it's best to avoid negative offsets. | ||||
* | Properly handle the chorus and flanger LFOs | Chris Robinson | 2017-05-26 | 1 | -12/+15 |
| | | | | | The effects' specified delay is the average delay time, meaning the delay offset should move between -n and +n relative to the delay, where n <= delay. | ||||
* | Change some ALuint parameters to ALsizei | Chris Robinson | 2017-05-02 | 1 | -16/+16 |
| | |||||
* | Remove CalcXYZCoeffs and inline CalcAngleCoeffs | Chris Robinson | 2017-02-23 | 1 | -2/+2 |
| | |||||
* | Add a ref count to ALeffectState | Chris Robinson | 2016-08-25 | 1 | -13/+24 |
| | | | | | This is mostly just reorganizing the effects to call the Construct method which initializes the ref count. | ||||
* | Avoid using realloc in a number of places | Chris Robinson | 2016-05-21 | 1 | -4/+4 |
| | |||||
* | Get rid of an unnecessary copy of ALeffectProps | Chris Robinson | 2016-05-13 | 1 | -7/+7 |
| | |||||
* | Provide (mostly) lockless updates for effect slots | Chris Robinson | 2016-05-12 | 1 | -8/+9 |
| | | | | | | | | | | | | | | | | | Similar to the listener, separate containers are provided atomically for the mixer thread to apply updates without needing to block, and a free-list is used to reuse container objects. A couple things to note. First, the lock is still used when the effect state's deviceUpdate method is called to prevent asynchronous calls to reset the device from interfering. This can be fixed by using the list lock in ALc.c instead. Secondly, old effect states aren't immediately deleted when the effect type changes (the actual type, not just its properties). This is because the mixer thread is intended to be real-time safe, and so can't be freeing anything. They are cleared away when updates reuse the container they were kept in, and they don't incur any extra processing cost, but there may be cases where the memory is kept around until the effect slot is deleted. | ||||
* | Improve radius behavior with scaling of ambisonic coefficients | Chris Robinson | 2016-04-24 | 1 | -2/+2 |
| | |||||
* | More directly map coefficients for ambisonic mixing buffers | Chris Robinson | 2016-04-15 | 1 | -6/+2 |
| | | | | | | Instead of looping over all the coefficients for each channel with multiplies, when we know only one will have a non-0 factor for ambisonic mixing buffers, just index the one with a non-0 factor. | ||||
* | Avoid mixing all coefficients together when only some are used | Chris Robinson | 2016-04-15 | 1 | -4/+6 |
| | |||||
* | Organize the dry buffer properties into a struct | Chris Robinson | 2016-03-09 | 1 | -2/+4 |
| | |||||
* | Pass a pointer to the input samples array for effect processing | Chris Robinson | 2016-01-27 | 1 | -3/+3 |
| | |||||
* | Separate calculating ambisonic coefficients from the panning gains | Chris Robinson | 2016-01-25 | 1 | -5/+6 |
| | |||||
* | Rename F_2PI to F_TAU | Chris Robinson | 2015-09-13 | 1 | -1/+1 |
| | |||||
* | Do up to 256 samples at a time with multi-step loops | Chris Robinson | 2014-12-18 | 1 | -2/+2 |
| | |||||
* | Pas the output device channel count to ALeffectState::process | Chris Robinson | 2014-11-07 | 1 | -4/+4 |
| | |||||
* | Use a separate macro for the max output channel count | Chris Robinson | 2014-11-07 | 1 | -2/+2 |
| | |||||
* | Make ComputeAngleGains use ComputeDirectionalGains | Chris Robinson | 2014-10-02 | 1 | -2/+4 |
| | |||||
* | Update COPYING to the latest ↵ | François Cami | 2014-08-18 | 1 | -2/+2 |
| | | | | https://www.gnu.org/licenses/old-licenses/lgpl-2.0.txt to fix the FSF' address Fix the FSF' address in the source | ||||
* | Use an enum for the chorus and flanger waveforms | Chris Robinson | 2014-05-14 | 1 | -8/+27 |
| | |||||
* | Use a void* for the effect state Delete method param | Chris Robinson | 2014-03-21 | 1 | -5/+2 |
| | |||||
* | Use one long buffer for the chorus and flanger delay lines | Chris Robinson | 2013-11-10 | 1 | -19/+13 |
| | |||||
* | Rename lfo_coeff to lfo_scale | Chris Robinson | 2013-11-08 | 1 | -8/+8 |
| | |||||
* | Use integer modulo for chorus and flanger | Chris Robinson | 2013-11-08 | 1 | -29/+31 |
| | | | | Also simplify LFO coefficient calculations. | ||||
* | Only use the inner loop for the chorus/flanger template method | Chris Robinson | 2013-11-08 | 1 | -56/+57 |
| | |||||
* | Use a helper macro for pi*2 | Chris Robinson | 2013-10-08 | 1 | -4/+3 |
| | |||||
* | Use inline initialization for effect state factory vtables | Chris Robinson | 2013-10-07 | 1 | -15/+6 |
| | |||||
* | Constify the effect parameter of effect getters | Chris Robinson | 2013-10-07 | 1 | -4/+4 |
| | |||||
* | Use the UNUSED macro in the effects | Chris Robinson | 2013-10-07 | 1 | -2/+1 |
| | |||||
* | Use a macro for the silence threshold | Chris Robinson | 2013-10-06 | 1 | -2/+2 |
| | |||||
* | Use helpers to set channel gain arrays | Chris Robinson | 2013-10-03 | 1 | -7/+0 |
| | | | | Also avoid unnecessary clearing. | ||||
* | Fix up the naming convention of effect methods | Chris Robinson | 2013-05-29 | 1 | -15/+15 |
| | |||||
* | Use C99's inline instead of __inline | Chris Robinson | 2013-05-28 | 1 | -2/+2 |
| | |||||
* | Cleanup the ALeffectStateFactory_create methods | Chris Robinson | 2013-05-27 | 1 | -1/+2 |
| | | | | | Get rid of the ALeffectStateFactory_create macro, and use the VCALL_NOARGS helper (requires adding the 'this' factory parameter). | ||||
* | Use the helper macros in more places | Chris Robinson | 2013-05-26 | 1 | -32/+22 |
| | |||||
* | Use an ALeffectProps union to store the effect properties | Chris Robinson | 2013-05-25 | 1 | -18/+22 |
| | |||||
* | Use a Delete method for deletable objects | Chris Robinson | 2013-05-25 | 1 | -9/+2 |
| |