Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Support different input channel orders in uhjencoder | Chris Robinson | 2022-11-04 | 1 | -12/+39 |
| | |||||
* | Add preliminary support for 7.1.4 output modes | Chris Robinson | 2022-11-03 | 19 | -6/+201 |
| | | | | | | | | I don't know how different sound APIs handle 7.1.4 ("Atmos" or "Auro3D") output, but currently it simply specifies the additional channels with the height channel labels. This isn't likely how it works for a virtualized channel bed, for playing over other with-height configurations (7.1.2, 5.1.4, etc), but this should be an okay start. | ||||
* | Add functions to start sources at a particular device time | Chris Robinson | 2022-11-03 | 4 | -161/+247 |
| | | | | | | | | This starts a source at a particular device clock time, rounded to the nearest sample (really, 4th sample for SIMD reasons), allowing to start a sound at a particular point in the output instead of the next update. Unlike using negative offsets, this is not affected by pitch/velocity. | ||||
* | Add the ability to start a voice at a particular time | Chris Robinson | 2022-11-03 | 4 | -9/+49 |
| | |||||
* | int64_t max can't fit into a double without narrowing | Chris Robinson | 2022-11-02 | 1 | -6/+0 |
| | |||||
* | Handle negative voice positions | Chris Robinson | 2022-11-02 | 3 | -64/+116 |
| | | | | | | This allows a voice/source to start with a delay, more accurately than simply waiting to call alSourcePlay. The delay is affected by pitch and velocity, making it useful to simulate distant sounds that take time to be heard. | ||||
* | Use the IIR filter for UHJ by default | Chris Robinson | 2022-10-30 | 2 | -3/+3 |
| | | | | | | | Now that it doesn't cause the distortion like before, the IIR implementation provides a very wide pass-band with the lowest CPU requirements. If maintaining the original phase is important, fir256 and fir512 are still available, given whether lower CPU use or a wider pass-band is more important. | ||||
* | Rename some variables to more clearly indicate their meaning | Chris Robinson | 2022-10-28 | 5 | -40/+40 |
| | |||||
* | Rework the UHJ IIR filters to avoid applying an IIR in reverse | Chris Robinson | 2022-10-27 | 3 | -155/+130 |
| | |||||
* | Switch back to the FIR256 filter by default | Chris Robinson | 2022-10-26 | 2 | -5/+5 |
| | | | | | | There is a surprisingly noticeable amount of static caused by the IIR filter in particular circumstances. The 256-point filter is only slightly slower, but the frequency response should be good enough to use as a default for now. | ||||
* | Use the correct input for the IIR UHJ encoder | Chris Robinson | 2022-10-26 | 2 | -9/+31 |
| | | | | Also better detail the IIR implementation. | ||||
* | Use the IIR all-pass filter by default | Chris Robinson | 2022-10-26 | 2 | -6/+7 |
| | |||||
* | Fix up a comment | Chris Robinson | 2022-10-26 | 1 | -2/+2 |
| | |||||
* | Add a comment about the filter delay | Chris Robinson | 2022-10-25 | 1 | -0/+3 |
| | |||||
* | Fix some value ordering | Chris Robinson | 2022-10-25 | 1 | -2/+2 |
| | |||||
* | Avoid nesting lambdas | Chris Robinson | 2022-10-24 | 1 | -42/+27 |
| | |||||
* | Update upload-artifact to remove warning (#778) | 3DJ | 2022-10-23 | 1 | -1/+1 |
| | | | | | | | > Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: actions/upload-artifact This should fix 2 of the 3 warnings here: https://github.com/kcat/openal-soft/actions/runs/3303596206 by updating to this https://github.com/actions/upload-artifact/releases/tag/v3.1.1 The third warning is more of a heads up of the macOS runner being updated so it should go away eventually | ||||
* | Add missing header | Chris Robinson | 2022-10-22 | 1 | -0/+1 |
| | |||||
* | Avoid a duplicate all-pass function that accumulates | Chris Robinson | 2022-10-22 | 4 | -225/+143 |
| | |||||
* | Add a warning when using the old UHJ filter option | Chris Robinson | 2022-10-21 | 1 | -2/+8 |
| | |||||
* | Rename some variables to be less ambiguous | Chris Robinson | 2022-10-21 | 4 | -22/+22 |
| | |||||
* | Rename a couple functions to clarify their use | Chris Robinson | 2022-10-21 | 1 | -13/+13 |
| | |||||
* | Add separate filter options for UHJ encoding and decoding | Chris Robinson | 2022-10-21 | 6 | -18/+49 |
| | |||||
* | Add an IIR filter option for UHJ encoding/decoding | Chris Robinson | 2022-10-21 | 5 | -33/+389 |
| | | | | | | This uses the reversed-allpass trick to maintain linear phase. with a 256- sample look-ahead/delay to minimize distortion. This should better preserve low frequencies while maintaining a proper phase response. | ||||
* | Avoid using a modulo in a loop | Chris Robinson | 2022-10-18 | 1 | -10/+42 |
| | |||||
* | Increase sub-sample precision to 16 bits | Chris Robinson | 2022-10-16 | 1 | -1/+1 |
| | |||||
* | Don't pass null to fprintf | Chris Robinson | 2022-10-10 | 1 | -2/+2 |
| | |||||
* | Handle the delays specified in SOFA files | Chris Robinson | 2022-10-10 | 1 | -44/+55 |
| | |||||
* | Fix an ambisonic layout check in alffplay | Chris Robinson | 2022-09-24 | 1 | -1/+1 |
| | |||||
* | Move some comments to a more appropriate place | Chris Robinson | 2022-09-23 | 1 | -32/+32 |
| | |||||
* | Avoid another potential overflow | Chris Robinson | 2022-09-23 | 1 | -1/+1 |
| | |||||
* | Fixed bug and possible overflow type (#771) | Herman Semenov | 2022-09-23 | 2 | -2/+2 |
| | |||||
* | Remove unnecessary includes and forward declarations | Chris Robinson | 2022-09-23 | 1 | -7/+0 |
| | |||||
* | Remove an unnecessary include | Chris Robinson | 2022-09-22 | 1 | -1/+0 |
| | |||||
* | Use PulseAudio's threaded mainloop instead of a custom one | Chris Robinson | 2022-09-22 | 1 | -141/+160 |
| | |||||
* | Remove an unused variable | Chris Robinson | 2022-09-20 | 1 | -10/+9 |
| | |||||
* | Clear the buffer loop element when out of the loop range | Chris Robinson | 2022-09-18 | 1 | -2/+3 |
| | |||||
* | 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. | ||||
* | Clear trailing whitespace from the loaded ambdec description | Chris Robinson | 2022-09-15 | 1 | -0/+2 |
| | |||||
* | Use the correct va_list for the second vsnprintf | Chris Robinson | 2022-09-14 | 1 | -1/+1 |
| | |||||
* | Add vcpkg installation instructions (#768) | JonLiu1993 | 2022-09-14 | 1 | -0/+13 |
| | |||||
* | Use ifstream's wchar_t constructors on Windows | Chris Robinson | 2022-09-12 | 3 | -173/+20 |
| | | | | MinGW seems to have added them a while ago, so that greatly simplifies things. | ||||
* | Don't pack ambdec coefficients | Chris Robinson | 2022-09-12 | 2 | -68/+25 |
| | | | | | | | | | 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. | ||||
* | Simplify ambdec loading | Chris Robinson | 2022-09-12 | 1 | -236/+156 |
| | |||||
* | Ensure coeff_scale is set for ambdec files | Chris Robinson | 2022-09-11 | 3 | -6/+13 |
| | |||||
* | Reject ambdec files with higher than third order and FuMa scaling | Chris Robinson | 2022-09-11 | 1 | -13/+15 |
| | |||||
* | Recognize void(pthread_t,const char*) | Chris Robinson | 2022-09-09 | 1 | -1/+6 |
| | |||||
* | tvos support (#762) | Paulo Coutinho | 2022-09-04 | 1 | -1/+1 |
| | |||||
* | Track if doing 2D mixing only | Chris Robinson | 2022-09-04 | 6 | -8/+20 |
| | | | | And use it to select the proper HF scales |