Commit graph

975 commits

Author SHA1 Message Date
Jean Pierre Cimalando
5dffe248bc Remove the unused variable 2020-06-19 20:48:09 +02:00
Paul Ferrand
da9e503657 Use a dispatching object rather than branchesUpdate the benchmarksRemove the SIMDInitializerInfer type for simd helpers 2020-06-19 20:48:09 +02:00
Jean Pierre Cimalando
c0fac2cfbb Simplified SIMD dispatch wrappers 2020-06-19 20:48:09 +02:00
Paul Ferrand
75073cf8c0 Wrong header in helpersAVX 2020-06-19 20:48:09 +02:00
Paul Ferrand
ca919d65ca Missed a guard 2020-06-19 20:48:09 +02:00
Paul Ferrand
50d5c3a80e Brainfart on the ifdef 2020-06-19 20:48:09 +02:00
Paul Ferrand
6e241fe93a CI help and correct DPF names 2020-06-19 20:48:09 +02:00
Paul Ferrand
f523a25978 Shuffle things around to better separate SIMD versions from normal code 2020-06-19 20:48:09 +02:00
Paul Ferrand
cc7a8e69cc Detect AVX compilation 2020-06-19 20:48:08 +02:00
Paul Ferrand
a6417f27c4 Example AVX for the applyGain case
It does not help so much though apparently, at least on my machine...
2020-06-19 20:48:08 +02:00
Paul Ferrand
e8df9fad55 Unused operation and bug in multiplicativeRamp 2020-06-19 20:48:08 +02:00
Paul Ferrand
dfb2212f10 Removed unused operations 2020-06-19 20:48:08 +02:00
Paul Ferrand
87c6174cad Use a custom lround and silence tidy 2020-06-19 20:48:08 +02:00
Paul Ferrand
c9beec4b5b Removed unused config values 2020-06-19 20:48:08 +02:00
Paul Ferrand
145c243c32 Removed mathfuns (now unused) 2020-06-19 20:48:08 +02:00
Paul Ferrand
ad1367a960 Remove the old simd files 2020-06-19 20:48:08 +02:00
Paul Ferrand
ba87df8009 Move diff to the new format 2020-06-19 20:48:08 +02:00
Paul Ferrand
a83cd99040 Move cumsum to the new format 2020-06-19 20:48:08 +02:00
Paul Ferrand
59f284a82b Move mean and meanSquared to the new format 2020-06-19 20:48:08 +02:00
Paul Ferrand
8d2ac8ebd5 Prep for removing sfzInterpolationCast 2020-06-19 20:48:08 +02:00
Paul Ferrand
cebf9060e1 Move panning into its own file and outside of SIMD 2020-06-19 20:48:08 +02:00
Paul Ferrand
190e7085de Move copy to the new format 2020-06-19 20:48:08 +02:00
Paul Ferrand
af855d3993 Move subtract to the new format 2020-06-19 20:48:08 +02:00
Paul Ferrand
3cb8164068 Move add to the new format 2020-06-19 20:48:08 +02:00
Paul Ferrand
8c6a01a066 Moved the ramps to the new format 2020-06-19 20:48:08 +02:00
Paul Ferrand
2ae74bad76 Removed explicit qualifier 2020-06-19 20:48:08 +02:00
Paul Ferrand
3e6d9e3504 Moved multiplyAdd to the new format 2020-06-19 20:48:08 +02:00
Paul Ferrand
1b68331f38 Moved divide to the new format 2020-06-19 20:48:08 +02:00
Paul Ferrand
1ab1ab802b Moved applyGain to the new mode 2020-06-19 20:48:08 +02:00
Paul Ferrand
3c551d8f34 Removed the now unused saturating and looping helpers 2020-06-19 20:48:08 +02:00
Paul Ferrand
04af0b8d80 Remove the trig/log/exp functions
We're tabulating these if speed is needed anyway
2020-06-19 20:48:08 +02:00
Paul Ferrand
b10b05078a The fill simd helper is just an alias for absl::c_fill
The pass-by-value alias is still necessary for cases where you pass an rvalue to the function (which happens often when e.g. you take a subspan)
2020-06-19 20:48:08 +02:00
Paul Ferrand
6e811f92b2 Alignment helpers for possibly any sizes 2020-06-19 20:48:08 +02:00
Paul Ferrand
f827e7c2e5 Update the read and write SIMD helpers with the new approach 2020-06-19 20:48:08 +02:00
Paul Ferrand
91435249c0 Added base support for runtime config 2020-06-19 20:48:08 +02:00
Paul Ferrand
353dfa3973 Moved defaultAlignment to config 2020-06-19 20:48:06 +02:00
JP Cimalando
ba07765133
Merge pull request #278 from jpcima/fast-random
Add the fast random number generator
2020-06-19 20:34:10 +02:00
JP Cimalando
d365c6953c
Merge pull request #279 from jpcima/fft-odd-fix
Ensure to pass FFT an even-sized buffer
2020-06-17 19:43:46 +02:00
Jean Pierre Cimalando
3f1d42028f Ensure to pass FFT an even-sized buffer 2020-06-17 18:46:26 +02:00
Jean Pierre Cimalando
4d1f294883 Add the fast random number generator 2020-06-16 15:33:35 +02:00
Paul Ferrand
ce14c290f2
Merge pull request #276 from paulfd/swap-and-pop
Implement helpers for the swap and pop idioms
2020-06-15 14:10:26 +02:00
Paul Ferrand
c970f92206 Remove verbose debug message 2020-06-15 11:16:51 +02:00
Paul Ferrand
f2b334c567 Implement helpers for the swap and pop idioms
This code is repeated from place to place, I figured having a central place to put it and test it was OK.
2020-06-15 10:59:12 +02:00
Paul Ferrand
c7fff6b27a Change back the default number of voices to 64 2020-06-15 02:06:55 +02:00
Paul Ferrand
62d7a0977d
Merge pull request #272 from paulfd/sister-voices
Sister voices
2020-06-15 00:58:51 +02:00
Paul Ferrand
9215b1705a Use sister voices in the voice stealing algorithm 2020-06-14 23:31:54 +02:00
Paul Ferrand
9d27c5aca7 The synth now resets the voicesThe voice does not reset itself anymore, but rather enters a zombie state.This intermediate state will be used by the synth to update the polyphony counters if needed. 2020-06-14 20:29:52 +02:00
Paul Ferrand
f4660b1a02 Add voices to a ring upon startup, and remove them when resetting the voice 2020-06-14 17:33:04 +02:00
JP Cimalando
97b4335209
Delete unused variable fullRange 2020-06-14 15:28:28 +02:00
Jean Pierre Cimalando
b144ec0cb8 Add sample quality tests 2020-06-14 13:08:53 +02:00