Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid using to_address on an end iterator | Chris Robinson | 2023-01-29 | 1 | -4/+3 |
| | |||||
* | Capitalization and puctuation | Chris Robinson | 2023-01-29 | 1 | -2/+2 |
| | |||||
* | Slight clarification for the readme instructions | Chris Robinson | 2023-01-28 | 1 | -1/+1 |
| | |||||
* | Add a comment to check into an out-of-range value later | Chris Robinson | 2023-01-28 | 1 | -1/+5 |
| | |||||
* | Clamp the biquad filter gain value to 0.00001 | Chris Robinson | 2023-01-28 | 1 | -1/+1 |
| | | | | | To actually prevent a potential divide-by-zero when the gain and reference frequency are 0, instead of asserting. | ||||
* | Update the readme | Chris Robinson | 2023-01-28 | 1 | -7/+11 |
| | | | | | | | | | | | Travis CI has been down for years, so replace the build badge with GitHub Actions' badge. Update the build instructions to note CMake GUIs as an alternative to the command line, and note various IDE's potentially supporting CMake projects directly. Finally, update the list of expected backends for Linux and Windows. | ||||
* | Change the default resampler to cubic | Chris Robinson | 2023-01-27 | 3 | -3/+3 |
| | | | | | This has notably better quality than linear, while still being faster than bsinc. | ||||
* | Combine multiple similar functions into one | Chris Robinson | 2023-01-26 | 1 | -124/+16 |
| | |||||
* | Transpose the ambisonic rotation matrix and helper coefficients | Chris Robinson | 2023-01-26 | 1 | -39/+32 |
| | |||||
* | Transpose the ambisonic voice mixing matrix | Chris Robinson | 2023-01-25 | 2 | -34/+42 |
| | | | | | To more efficiently prepare the panning coefficients. Also avoid making a stack copy of the matrix to reuse as the target. | ||||
* | Use explicit arrays for the remix table target mixes | Chris Robinson | 2023-01-24 | 1 | -16/+53 |
| | | | | Seems inline initializer lists become garbage when stored in a span. | ||||
* | Use the object serial ID from PipeWire when available | Chris Robinson | 2023-01-24 | 1 | -21/+47 |
| | | | | | | | | | | | Using the node ID as a target is deprecated in newer versions of PipeWire. The serial ID is a monotonic 64-bit integer ID, incremeneted for every object created, so is guaranteed to always refer to the same target (until it wraps around, which I suppose isn't expected/allowed to happen), compared to the 32-bit node ID which I guess allows reuse. We could instead use the target node's name instead of the serial ID, but an integer is nicer to manage than a string. | ||||
* | Increase the default mhr truncation size to 64 | Chris Robinson | 2023-01-23 | 1 | -1/+1 |
| | | | | To match the default data set. | ||||
* | Replace a couple more pointer+count with a span | Chris Robinson | 2023-01-23 | 4 | -148/+124 |
| | |||||
* | Use a vector of arrays for a multi-dimensional array | Chris Robinson | 2023-01-23 | 4 | -12/+16 |
| | |||||
* | Use a span instead of pointer+count | Chris Robinson | 2023-01-23 | 4 | -17/+19 |
| | |||||
* | Remove a redundant struct member | Chris Robinson | 2023-01-23 | 4 | -37/+34 |
| | |||||
* | Remove some unused members | Chris Robinson | 2023-01-23 | 2 | -4/+0 |
| | |||||
* | Don't force an update if there is no aux slot being replaced | Chris Robinson | 2023-01-20 | 1 | -4/+7 |
| | | | | | A null effect slot can't be deleted, so we don't need to make sure it's set to change before returning. | ||||
* | Increase the pitch shifter oversample factor to 8 | Chris Robinson | 2023-01-19 | 1 | -38/+37 |
| | | | | | | And use 32-bit float processing. Float precision doesn't seem to be detrimental to the overall quality, while 8x oversampling seems to help against the harmonics. | ||||
* | Minor code refactor for the frequency shifter effect | Chris Robinson | 2023-01-19 | 1 | -47/+50 |
| | |||||
* | Improve the output scaling of the pitch shifter | Chris Robinson | 2023-01-19 | 1 | -1/+1 |
| | | | | | | For tones than land exactly on a frequency bin, which are subject to the least amount of error when not adjusted, this produces a level that more closely matches the original input. | ||||
* | Don't return a large-ish array on the stack | Chris Robinson | 2023-01-19 | 1 | -15/+17 |
| | |||||
* | Slightly improve phase wrapping in the pitch shifter | Chris Robinson | 2023-01-19 | 1 | -10/+11 |
| | |||||
* | Limit pitch shifter pitch between 0.5 and 2. | Chris Robinson | 2023-01-18 | 1 | -1/+1 |
| | | | | | | The current algorithm isn't designed to go beyond that. The course tuning property is limited to that range as well, though the fine tuning property could potentially extend it out by half a semitone. | ||||
* | Use constexpr variables instead of macros | Chris Robinson | 2023-01-18 | 1 | -51/+57 |
| | |||||
* | Use a variable to handle a long value definition | Chris Robinson | 2023-01-18 | 1 | -2/+3 |
| | |||||
* | Make a variable for a reused value | Chris Robinson | 2023-01-17 | 3 | -3/+4 |
| | |||||
* | Use a better frequency bin target for pitch shifting | Chris Robinson | 2023-01-17 | 2 | -23/+47 |
| | | | | And slightly adjust the Hann window. | ||||
* | Fix debug logging on Windows non-release buuilds | Chris Robinson | 2023-01-16 | 2 | -6/+2 |
| | | | | And skip logging for appropriate log levels on Windows release builds. | ||||
* | Change a couple macros to constexpr variables | Chris Robinson | 2023-01-16 | 11 | -39/+39 |
| | |||||
* | Check for nullptr before constructing a new object | Chris Robinson | 2023-01-15 | 1 | -5/+5 |
| | |||||
* | Use an 8-bit type to hand the HrtfStore IR size | Chris Robinson | 2023-01-15 | 1 | -7/+7 |
| | | | | | Since the max IR size is 128, and HrtfStore only uses 8 bits for the IR size member. Silences a truncation warning given by GCC. | ||||
* | Precalculate reused scale factors | Chris Robinson | 2023-01-15 | 2 | -2/+2 |
| | |||||
* | Fix closing parenthesis | Chris Robinson | 2023-01-15 | 1 | -1/+1 |
| | |||||
* | clang-tidy cleanups (#800) | Rosen Penev | 2023-01-15 | 20 | -64/+64 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * clang-tidy: use bool literals Found with modernize-use-bool-literals Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: replace std::bind with lambdas Found with modernize-avoid-bind Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: use data() instead of pointer stuff Found with readability-container-data-pointe Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: use empty() Found with readability-container-size-empty Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: remove static in anon namespace Found with readability-static-definition-in-anonymous-namespace Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: remove const return Found with readability-const-return-type Signed-off-by: Rosen Penev <[email protected]> Signed-off-by: Rosen Penev <[email protected]> | ||||
* | Don't explicitly try to spawn servers by default | Chris Robinson | 2023-01-14 | 3 | -3/+3 |
| | |||||
* | Don't include the array definition with bin2h | Chris Robinson | 2023-01-13 | 3 | -7/+8 |
| | |||||
* | Don't use doubles for upsampling B-Format transforms | Chris Robinson | 2023-01-13 | 1 | -3/+3 |
| | |||||
* | Ensure the mixer helpers are properly inlined | Chris Robinson | 2023-01-13 | 4 | -9/+10 |
| | |||||
* | Try to handle cmake custom targets better | Chris Robinson | 2023-01-13 | 1 | -2/+16 |
| | |||||
* | Avoid using a non-0 span length over nullptr | Chris Robinson | 2023-01-13 | 1 | -17/+32 |
| | |||||
* | Write proper samples when starting the PulseAudio stream | Chris Robinson | 2023-01-13 | 1 | -17/+3 |
| | | | | | Instead of silence, to ensure the number of samples written to PulseAudio is the same as the number mixed/rendered. | ||||
* | Avoid a dead store | Chris Robinson | 2023-01-13 | 1 | -1/+0 |
| | |||||
* | Avoid inlining the base_exception destructor | Chris Robinson | 2023-01-13 | 2 | -1/+3 |
| | |||||
* | Avoid single-use static class method wrappers | Chris Robinson | 2023-01-13 | 1 | -81/+46 |
| | |||||
* | Avoid unnecessary uses of make_optional | Chris Robinson | 2023-01-13 | 14 | -90/+92 |
| | |||||
* | Use cmake's visibility attributes | Chris Robinson | 2023-01-12 | 1 | -17/+6 |
| | |||||
* | Rename some members for clarity | Chris Robinson | 2023-01-12 | 1 | -22/+22 |
| | |||||
* | Fix RingBuffer crash in OpenSL backend (#807) | IamSN0WBALL | 2023-01-12 | 1 | -1/+1 |
| | | | Co-authored-by: IamSN0WBALL <[email protected]> |