Commit graph

876 commits

Author SHA1 Message Date
Paul Ferrand
eff5bd0362 Added tests and silence a warning 2020-05-30 09:54:02 +02:00
Paul Ferrand
0898030e4c Clamp at the first non-number character in readOpcode 2020-05-30 00:15:53 +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
Paul Ferrand
969e1d0915 Added the failed expression in the message 2020-05-29 16:39:17 +02:00
Paul Ferrand
2bf960df27 check span size is a check 2020-05-29 14:02:24 +02:00
Paul Ferrand
f26be4e2b6 Relax a bit the "valid audio" check 2020-05-29 14:00:11 +02:00
Paul Ferrand
f3cb2bcc9a Change isValidAudio to checks and not asserts, and reactivate in the main render block 2020-05-29 13:59:01 +02:00
Paul Ferrand
b89ef09406 SIMD helpers asserts are more checks 2020-05-29 13:57:03 +02:00
Paul Ferrand
011d02cfca Add soft asserts and fixed precision in debug messages 2020-05-29 13:55:11 +02:00
Paul Ferrand
7b016e5e40 Fixed precision in debug messages 2020-05-29 13:50:10 +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
Paul Ferrand
b6263c8260 Ignore sw_default in the region 2020-05-22 21:28:49 +02:00
Jean Pierre Cimalando
393aef5311 Minor changes in relation with FLAC 2020-05-22 19:34:25 +02:00
JP Cimalando
32393a3c6a
Merge pull request #251 from jpcima/force-asserts
Add option to force asserts in release builds
2020-05-19 23:56:49 +02:00
Jean Pierre Cimalando
1e64779846 Fix size asserts 2020-05-19 23:51:13 +02:00
Jean Pierre Cimalando
ad6e45f9ab Add option to force asserts in release builds 2020-05-19 23:42:10 +02:00
Jean Pierre Cimalando
d3f8a0bce1 Process $ expansions inside #include 2020-05-18 18:02:41 +02:00
Jean Pierre Cimalando
d5c1759def Add some vector reserves where appropriate 2020-05-17 21:07:16 +02:00
Jean Pierre Cimalando
17fbff5ab5 Add the support of FLAC loops 2020-05-17 15:40:03 +02:00
Jean Pierre Cimalando
0cdb1f7044 Revert start_lohdccN to 0-1, confirmed by plgDavid 2020-05-16 23:19:56 +02:00
JP Cimalando
9c93120b83
Merge pull request #233 from jpcima/set-hdcc
Support the opcode set_hdccN
2020-05-16 21:01:08 +02:00
Jean Pierre Cimalando
ac8d2d24a3 Adapt start_lohdccN to match ARIA: float 0-127 range 2020-05-16 20:15:51 +02:00
Jean Pierre Cimalando
8a17e18e9f Fix an error with multiple consecutive space 2020-05-16 18:03:04 +02:00
Jean Pierre Cimalando
4b8eaebdc5 Fix some cases of value parsing under ARIA (fix Salamander) 2020-05-15 15:15:23 +02:00
Jean Pierre Cimalando
0c6bf5a7a9 parser: support recursive $-expansions 2020-05-15 09:39:41 +02:00
Jean Pierre Cimalando
650c6140bd parser: dollar expansions and multiple #define on the same line 2020-05-15 09:39:35 +02:00
Jean Pierre Cimalando
513055980b Update cleanups 2020-05-15 08:31:42 +02:00
Jean Pierre Cimalando
6472784baf Handle case-insensitivity in the cleanup 2020-05-15 08:31:33 +02:00
Jean Pierre Cimalando
a29b72feb2 Pass all opcodes through cleanup, including <group> and <control> 2020-05-15 08:24:38 +02:00
Jean Pierre Cimalando
b5548e85c0 Update opcode cleanups 2020-05-15 08:19:46 +02:00
Jean Pierre Cimalando
e666b1dfaa Opcode cleanups for <control> and set_realccN 2020-05-15 08:19:33 +02:00
Jean Pierre Cimalando
8136874552 Update opcode cleanups 2020-05-15 08:10:23 +02:00
Jean Pierre Cimalando
ed4177b57b Add support of start_lohdccN and start_hihdccN 2020-05-15 08:09:57 +02:00
Jean Pierre Cimalando
16bfe8fa98 Add some comments regarding aliases 2020-05-15 07:50:12 +02:00
Jean Pierre Cimalando
81f8e2bff2 Update the opcode cleanup grammar 2020-05-15 00:38:26 +02:00
Jean Pierre Cimalando
8c8192140e Support lohdccN and hihdccN 2020-05-15 00:37:47 +02:00
Jean Pierre Cimalando
7773474b18 Support the opcode set_hdccN 2020-05-14 23:54:57 +02:00
Jean Pierre Cimalando
60cfd84ac5 Suppress range checks of output in renderBlock 2020-05-14 14:29:19 +02:00
JP Cimalando
3ed3bc1754
Merge pull request #226 from paulfd/stack-smash
Residual tiny quality of life changes in the LV2 plugin
2020-05-14 09:22:56 +02:00
Paul Ferrand
6ed597a0bb
Merge pull request #213 from jpcima/cc-processing
Cc processing
2020-05-13 22:22:06 +02:00
Paul Ferrand
2e8b637f09 Update docs 2020-05-13 22:10:02 +02:00
Paul Ferrand
7d98349e16 Internally check that a change is needed or not 2020-05-13 20:34:22 +02:00
Paul Ferrand
a970fc0698 Changes to the worker messages
Checking for file changes or loading disables future file change checks
The worker only responds to reactivate the file change checks
Upon parameter change, the new value is stored immediately so only one message is sent to the worker
Removed the changing_state bool and let the sfizz internal lock protect the state
2020-05-12 23:21:03 +02:00
Paul Ferrand
d6c24be064
Merge pull request #214 from paulfd/note-stealing
Improve the note stealing
2020-05-09 11:46:33 +02:00
Paul Ferrand
e4f0b0c7b0 Move things around 2020-05-08 00:21:21 +02:00
Paul Ferrand
59c25dccf1 Move the voice ordering as a free function 2020-05-08 00:16:50 +02:00
Paul Ferrand
6df5b217c9 Move the voice rendering into a private method 2020-05-08 00:16:28 +02:00
Paul Ferrand
ec13c70b82 C++11 does not like constexpr 2020-05-07 23:16:07 +02:00
Paul Ferrand
dbb75398cc Killed voices pre-render their next block
This data is ramped out before the main rendering loop, to smooth the voice killings
2020-05-07 20:49:42 +02:00
Paul Ferrand
691c25362b Add a helper to apply a gain span to effect inputs
Used for ramping out voice data
2020-05-07 20:48:48 +02:00