Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Correctly check if a multi-channel decoder is set | Chris Robinson | 2022-09-16 | 1 | -1/+1 |
| | |||||
* | Update the built-in quad and 7.1 decoders | Chris Robinson | 2022-09-16 | 1 | -26/+26 |
| | | | | | Make them first- and second-order respectively. They don't have enough speakers to really be suitable for higher orders than that. | ||||
* | Don't pack ambdec coefficients | Chris Robinson | 2022-09-12 | 1 | -64/+22 |
| | | | | | | | | | Tne coefficients are placed as for full 3D ACN handling. The ChanMask just indicates which have potentially useful values. This could be a bit more agressive and clear ChanMask bits for channels that don't contribute to output, so that a decoder the specifies height-related channel bits, but leaves their coefficients all 0, can be handled as 2D. I don't expect many ambdec files to be like that, though. | ||||
* | Ensure coeff_scale is set for ambdec files | Chris Robinson | 2022-09-11 | 1 | -0/+1 |
| | |||||
* | Track if doing 2D mixing only | Chris Robinson | 2022-09-04 | 4 | -6/+15 |
| | | | | And use it to select the proper HF scales | ||||
* | Allow different HF scales for 2D mixing/output | Chris Robinson | 2022-09-04 | 2 | -2/+2 |
| | | | | | Not actually used yet, the device needs to track whether it's using 2D or 3D mixing. | ||||
* | Use the difference in HF scale for upsampling ambisonics | Chris Robinson | 2022-09-03 | 2 | -2/+2 |
| | |||||
* | Revert "Don't apply the HF scaling for "upsampling" ambisonics" | Chris Robinson | 2022-09-02 | 2 | -4/+42 |
| | | | | This reverts commit bf3f63fb4c5faa45784d7433d68b7013e29ee2c1. | ||||
* | Use an icosahedron for 3D second-order | Chris Robinson | 2022-09-01 | 1 | -32/+33 |
| | |||||
* | Don't apply the HF scaling for "upsampling" ambisonics | Chris Robinson | 2022-08-31 | 2 | -42/+4 |
| | | | | | | | | | | | | Not sure if this is best, but it fixes the issue of upsampling lower orders to higher orders multiple times (mixing lower order to higher order, cutting back to lower order by dropping the extra channels, then upsampling again, applying the HF scale multiple times and messing up the high frequencies/energy vector), as well as having too-strong high frequencies of upsampled content in general. As it is, with the new upsampling method, the lower order signal contributes to some higher order channels, which helps offset the high frequency scaling difference (except first- to second-order, which adds nothing). | ||||
* | Use a more precise 3D7.1 decoder | Chris Robinson | 2022-08-30 | 1 | -12/+12 |
| | |||||
* | Do a simplified update for reverb when not fading | Chris Robinson | 2022-08-29 | 1 | -49/+48 |
| | |||||
* | Always fade the main early and late delay taps | Chris Robinson | 2022-08-29 | 1 | -8/+33 |
| | | | | | | | | | These were actually missing from the current check for fading. But the EFX documentation suggests these (along with the early/late gain and panning) can be adjusted often without invoking a full change, as dynamically modeling an environment would continually change these properties as the listener moves around (changing the direction and distance to the reflective surfaces). So ensuring they're kept up-to-date would be the way to go. | ||||
* | Update reverb processing | Chris Robinson | 2022-08-29 | 1 | -285/+290 |
| | | | | | | | | | | | | | Separate the core delay line into early and late input delay lines. This will be necessary to allow a second late reverb processing loop to decay after a change. Also ensure the early reflection delay line is long enough to write in MAX_UPDATE_SAMPLES first without interfering with the subsequent read. And ensure the modulation delay doesn't cause an underflow on the feedback offset. Finally, move the loop inside the processing functions to minimize loop iterations. | ||||
* | Allow the remix tables to be variable length | Chris Robinson | 2022-08-28 | 1 | -9/+9 |
| | |||||
* | Upsample the reverb output as needed | Chris Robinson | 2022-08-27 | 1 | -35/+94 |
| | |||||
* | Add a 2D fourth-order upsampler | Chris Robinson | 2022-08-27 | 1 | -0/+3 |
| | | | | This will be necessary for 2D fourth-order sources with 3D fourth-order output. | ||||
* | Don't mark a non-constexpr-able function as constexpr | Chris Robinson | 2022-08-26 | 1 | -1/+1 |
| | | | | | It can't be constexpr because it needs write access to an std::array, and because of std::sqrt. | ||||
* | Simplify calculating the ambisonic rotator coefficients | Chris Robinson | 2022-08-26 | 1 | -34/+33 |
| | |||||
* | Fix W input mixing when non-0 coverage | Chris Robinson | 2022-08-26 | 1 | -15/+25 |
| | | | | | | When upsampling certain ambisonic formats, the W channel may contribute to other output channels even with full coverage. Make sure they're taken into account. | ||||
* | Create and use 2D upsampling matrices | Chris Robinson | 2022-08-25 | 3 | -9/+29 |
| | |||||
* | Apply the upsampler before rotation | Chris Robinson | 2022-08-25 | 1 | -84/+23 |
| | | | | | | | | Although this will necessitate applying a full device-order rotation for all ambisonic sources, it should be slightly better since it's effectively rotated after being mixed to higher order. This will also allow using more optimized upsamplers for 2D ambisonic sources vs 3D (while still allowing the sources to be rotated in 3D). | ||||
* | Skip LFE for aux send gains with Direct Channels | Chris Robinson | 2022-08-18 | 1 | -0/+4 |
| | |||||
* | Fix the channel spread for aux send gains with full HRTF | Chris Robinson | 2022-08-18 | 1 | -1/+1 |
| | |||||
* | Inline and precompute some CalcDirectionCoeffs calls | Chris Robinson | 2022-08-18 | 6 | -8/+8 |
| | |||||
* | Fix the ringbuffer write size | Chris Robinson | 2022-08-18 | 1 | -1/+1 |
| | |||||
* | Use an intermediate buffer for writing to the ringbuffer | Chris Robinson | 2022-08-18 | 1 | -26/+11 |
| | | | | | It doesn't seem as though AudioUnitRender likes being given two buffers to render/capture samples into segmented memory. | ||||
* | Pass the action flags to AudioUnitRender from the callback | Chris Robinson | 2022-08-17 | 1 | -3/+2 |
| | |||||
* | Inline a function and remove an unnecessary parameter | Chris Robinson | 2022-08-16 | 2 | -2/+2 |
| | |||||
* | Pass the bus number to AudioUnitRender from the callback | Chris Robinson | 2022-08-16 | 1 | -2/+2 |
| | |||||
* | Use proper array sizes for more gains | Chris Robinson | 2022-08-15 | 12 | -22/+26 |
| | |||||
* | Use amplitude-matching HF scaling for non-FOA HRTF output | Chris Robinson | 2022-08-15 | 1 | -4/+4 |
| | |||||
* | Update in incorrect comment | Chris Robinson | 2022-08-15 | 1 | -1/+1 |
| | |||||
* | Use a decode-encode method for ambisonic upsampling | Chris Robinson | 2022-08-15 | 1 | -6/+107 |
| | | | | | | | | This should allow for clearer and less diffuse responses. While a cube is in the blindspots for second-order, resulting in an identify transform for first- to-second-order, they do start contributing to third-order channels, which should make for sharper virtual points. The fixed HF scales should also play nicer with larger order upmixes. | ||||
* | Update some arrays in preparation for fourth order support | Chris Robinson | 2022-08-14 | 1 | -1/+3 |
| | |||||
* | Rename the UHJ filter config option | Chris Robinson | 2022-08-09 | 1 | -2/+2 |
| | |||||
* | Add an option for higher quality UHJ filters | Chris Robinson | 2022-08-08 | 2 | -15/+30 |
| | |||||
* | Parameterize the UHJ filter length | Chris Robinson | 2022-08-07 | 2 | -3/+3 |
| | |||||
* | Avoid putting a 1KB array on the stack | Chris Robinson | 2022-08-02 | 1 | -6/+6 |
| | |||||
* | Rework multi-channel source radius handling | Chris Robinson | 2022-08-02 | 1 | -50/+118 |
| | | | | | | | | Rather than applying the calculated spread to each virtual channel, the spread indicates how much the virtual channels surround the listener. At full spread, the channels retain their virtual speaker positions, while at no spread, all channels converge on the source position. This behavior is more consistent with B-Format sources. | ||||
* | Change an inline function to a class method | Chris Robinson | 2022-08-02 | 3 | -9/+8 |
| | |||||
* | Check the channel count for a valid DecoderView | Chris Robinson | 2022-08-02 | 1 | -1/+1 |
| | | | | | Ambisonic decoders can be zeroth order, but they need at least one output channel. | ||||
* | Add media class for Audio/Source/Virtual as a valid node (#747) | Eir W | 2022-08-02 | 1 | -1/+6 |
| | |||||
* | Use an intrusive_ptr to hold on to the EffectState | Chris Robinson | 2022-07-29 | 1 | -3/+3 |
| | |||||
* | Ensure some mixing buffers are aligned for SIMD | Chris Robinson | 2022-07-26 | 2 | -2/+2 |
| | |||||
* | Use the reverb air absorption for the send paths | Chris Robinson | 2022-07-19 | 1 | -9/+7 |
| | |||||
* | Declare variables closer to where they're used | Chris Robinson | 2022-07-18 | 1 | -4/+2 |
| | |||||
* | [EAX_CONTEXT] Fix defaults for current properties | Boris I. Bendovsky | 2022-07-17 | 2 | -6/+41 |
| | |||||
* | [EAX_CONTEXT] Fix committing of a property value | Boris I. Bendovsky | 2022-07-17 | 1 | -1/+3 |
| | |||||
* | [EAX_FX_SLOT] Mark sources as changed instead of commiting them to catch up ↵ | Boris I. Bendovsky | 2022-07-17 | 2 | -7/+1 |
| | | | | with changes in FX slot |