Commit graph

1599 commits

Author SHA1 Message Date
Paul Ferrand
aeba9dfaab Dispatch between "normal"multiplicativ eenvelopes and the pitch bends 2020-04-14 18:00:59 +02:00
Paul Ferrand
6a7977b6c2 Stepcc actually gives the step and not the number of steps... 2020-04-14 18:00:59 +02:00
Paul Fd
b3dd8b3ce9 Use trunc in modifiers 2020-04-14 18:00:59 +02:00
Paul Fd
e03f1a8038 Repair benchmark 2020-04-14 18:00:59 +02:00
Paul Fd
872e7c68e0 Use round rather than trunc; more stable.. 2020-04-14 18:00:59 +02:00
Paul Fd
6bce14673e Saner behavior for the quantized envelopes with bends 2020-04-14 18:00:59 +02:00
Paul Fd
b9ba7fab0b Match sforzando's behavior (use floor on steps) 2020-04-14 18:00:59 +02:00
Paul Fd
e975877569 - Add some expected behavior tests- Correct the evalNormalized in curves- Remove the no-lambda multiplicative modifiers... it's a trap that makes you create nans and infs 2020-04-14 18:00:59 +02:00
Paul Fd
5e6584a51a Basic parsing tests 2020-04-14 18:00:59 +02:00
Paul Fd
232eada0c4 Add the modifier helpers to another file 2020-04-14 18:00:59 +02:00
Paul Fd
9d6b2ede2f Removed the deprecated fileTicket 2020-04-14 18:00:59 +02:00
Paul Fd
434868e52e Add a clear() method in the resources 2020-04-14 18:00:59 +02:00
Paul Fd
da6df7db8a Try to solve the C++11 static asserts 2020-04-14 18:00:59 +02:00
Paul Fd
0aad8533ea Add helpers to handle curve and cc modifiersfor both linear and multiplicative curves 2020-04-14 18:00:59 +02:00
Paul Fd
3620316caf Parse curve/step/smooth 2020-04-14 18:00:59 +02:00
Paul Fd
fbb9ebabb2 Check that the index passed to the curves arenot too crazy 2020-04-14 18:00:59 +02:00
Paul Fd
61d1c568a8 Add a modifier structure and rename the ccvalue pair 2020-04-14 18:00:59 +02:00
Paul Fd
0fd1c235de Added a basic curve test 2020-04-14 18:00:59 +02:00
Paul Fd
13edb6dfba Change the midiState observer to a resource observer for tests 2020-04-14 18:00:59 +02:00
Paul Fd
4ea11a31bf Moved curves to resources 2020-04-14 18:00:59 +02:00
JP Cimalando
4c6febeca3
Merge pull request #172 from paulfd/eg-issues
Solve some issues with DSmolken's drumkits
2020-04-14 14:46:49 +02:00
Jean Pierre Cimalando
b932afb910 Set the default key=69 in CaptureEG, ensures correct length 2020-04-14 14:12:11 +02:00
Paul Ferrand
ec2373e678
Merge pull request #169 from paulfd/try-locks
Replace AtomicGuards by mutexes and use RTSemaphore in the background loader
2020-04-13 22:00:39 +02:00
Paul Fd
e274084d2f clang-format step 2020-04-13 21:38:22 +02:00
Paul Fd
7c07df4f66 Add back the noexcepts 2020-04-13 21:35:36 +02:00
Jean Pierre Cimalando
b494835fdd Remove extra newline [ci skip] 2020-04-13 19:19:10 +02:00
Jean Pierre Cimalando
6d7b70e7c0 Add volatile qualifier at some places it should be 2020-04-13 19:17:10 +02:00
Jean Pierre Cimalando
eda78c4604 Avoid use of catch in the destructor 2020-04-13 19:14:05 +02:00
Paul Fd
07b5d7b3d0 Use unique_locks 2020-04-13 18:58:55 +02:00
Paul Fd
3e010a4ba6 Catch by ref 2020-04-13 18:58:55 +02:00
Paul Fd
758da22bd7 Remove noexcept with RTSemaphores in 2020-04-13 18:58:55 +02:00
Paul Fd
becdff5969 Stricter c++11 compliance 2020-04-13 18:58:55 +02:00
Paul Fd
5f9bbbede5 Use RTSemaphore instead of sleeplocking the background threads 2020-04-13 18:58:49 +02:00
Paul Fd
5726fd92d1 Replace AtomicGuards by mutexes with try_lock 2020-04-13 18:56:59 +02:00
JP Cimalando
f49a0f8b0a
Merge pull request #180 from jpcima/libatomic
Fix libatomic detection on clang 10 compiler
2020-04-13 18:12:45 +02:00
JP Cimalando
3df57b6fa5
Merge pull request #176 from jpcima/rt-semaphore
Add RTSemaphore and tests
2020-04-13 18:00:42 +02:00
Jean Pierre Cimalando
99cb921b2c Make VST use the RTSemaphore from sfizz 2020-04-13 17:35:37 +02:00
Jean Pierre Cimalando
54b92f9f9d Try fixing the case-sensitivity test on Mac 2020-04-13 17:32:21 +02:00
Jean Pierre Cimalando
cbc037e055 Add RTSemaphore and tests 2020-04-13 16:32:40 +02:00
Jean Pierre Cimalando
151d9d3f7d Fix libatomic detection on clang 10 compiler 2020-04-13 16:24:40 +02:00
JP Cimalando
be766ae80f
Merge pull request #178 from jpcima/arm64-tests
Fix the arm64 test CI
2020-04-13 03:01:38 +02:00
Jean Pierre Cimalando
12e9cf8896 Ensure the extreme values of xfade curves are exact 2020-04-13 02:40:25 +02:00
Jean Pierre Cimalando
5bd80b4834 Try alternative curve formula 2020-04-13 02:33:48 +02:00
Jean Pierre Cimalando
11569378ab Fix the arm64 test CI 2020-04-13 01:15:53 +02:00
Paul Fd
09bad92cff Added a check that a region is a generator for free-running the envelope 2020-04-12 10:35:19 +02:00
Paul Fd
9a1582892f Flip the initialized switch on the silence wavetable 2020-04-12 10:35:19 +02:00
Paul Fd
d294d1e3e0 Corrected a bug were the silence wavetable was not initalized with 0 2020-04-12 10:35:19 +02:00
Paul Fd
c820fbc591 Added sanity checks in Voice (disabled) and Synth 2020-04-12 10:35:19 +02:00
Paul Fd
9613c0ed57 Added a nan/inf checker to the fp traits 2020-04-12 10:35:19 +02:00
Jean Pierre Cimalando
8b711780d7 Update the base system of MinGW docker
The current upstream seems to need an update of the base libs in order to run
the MinGW compiler.
2020-04-12 01:33:09 +02:00