Jean Pierre Cimalando
0ccc57acce
Remove the old test file from CMake
2020-06-20 15:46:38 +02:00
Jean Pierre Cimalando
377050a54d
Fix some errors
2020-06-20 15:33:07 +02:00
Jean Pierre Cimalando
fb190340a3
Add the smoother demo client
2020-06-20 15:27:20 +02:00
Paul Ferrand
0ed1f4cbeb
Clean up the va OPF and wrap it as a linear smoother
...
Move modifiers and their helpers in their own files
Add an enum class for modifiers and facilities to iterate over all possible targets
Add smoothers to the voices and preallocate them
Iterate over smoothers and modifiers jointly in the voices for each target
2020-06-20 15:27:12 +02:00
JP Cimalando
4764a5e79a
Merge pull request #273 from paulfd/synth-tests
...
Move the "synth" tests mostly to inline files
2020-06-20 00:08:14 +02:00
Jean Pierre Cimalando
e587fbbe70
Keep the file name for string SFZ tests
2020-06-20 00:05:57 +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
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
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
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
3e6d9e3504
Moved multiplyAdd 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
781cae65ef
Remove the fill tests
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
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
Jean Pierre Cimalando
4d1f294883
Add the fast random number generator
2020-06-16 15:33:35 +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
62d7a0977d
Merge pull request #272 from paulfd/sister-voices
...
Sister voices
2020-06-15 00:58:51 +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
96fd3d9c67
Move the "synth" tests mostly to inline files
...
Easier to read
2020-06-14 17:55:38 +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
Jean Pierre Cimalando
b144ec0cb8
Add sample quality tests
2020-06-14 13:08:53 +02:00
Paul Ferrand
35837c501f
Merge pull request #246 from jpcima/voice-lifecycle
...
Voice lifecycle
2020-06-13 23:40:57 +02:00
Paul Ferrand
32d01ded03
Added some tests
2020-06-12 20:20:01 +02:00
Jean Pierre Cimalando
0bbb1e930f
Add test
2020-06-12 00:56:27 +02:00
Jean Pierre Cimalando
f0f4c34ad8
Numbering of regions and voices
2020-06-12 00:55:53 +02:00
Jean Pierre Cimalando
6b906192de
Stretch tuning demo
2020-06-11 21:25:33 +02:00
JP Cimalando
d9e49f7dc5
Merge pull request #235 from jpcima/off-by
...
Off by
2020-06-11 13:04:54 +02:00
Jean Pierre Cimalando
b0e7c9dba3
Add test for AudioBuffer padding
2020-06-11 03:36:49 +02:00
Paul Ferrand
c48e14ee2b
Add interpolator tests
2020-06-11 02:02:39 +02:00
JP Cimalando
a369d61b78
Merge pull request #253 from jpcima/scala
...
Tuning
2020-06-10 23:42:44 +02:00
Jean Pierre Cimalando
8629179e2e
Some updates on value parsing
2020-06-10 23:10:49 +02:00
Paul Ferrand
952ce455a6
Reactivated the test
2020-05-30 15:18:09 +02:00
Paul Ferrand
eff5bd0362
Added tests and silence a warning
2020-05-30 09:54:02 +02:00
Paul Ferrand
5e74f910c6
Correct a bug with sfz v1 velcurve
...
The velcurve logic now uses the same as sfz v2 curves
2020-05-29 23:30:53 +02:00
Jean Pierre Cimalando
fa51c2843a
Set the default test root key to C4
2020-05-29 12:38:13 +02:00
Jean Pierre Cimalando
dfd10a0977
Add the tuning control
2020-05-29 12:33:48 +02:00
JP Cimalando
769186a36d
Merge pull request #242 from jpcima/flac-loops
...
Add the support of FLAC loops
2020-05-26 16:37:26 +02:00
Jean Pierre Cimalando
d3f8a0bce1
Process $ expansions inside #include
2020-05-18 18:02:41 +02:00
Jean Pierre Cimalando
17fbff5ab5
Add the support of FLAC loops
2020-05-17 15:40:03 +02:00