Commit graph

860 commits

Author SHA1 Message Date
Jean Pierre Cimalando
1e64779846 Fix size asserts 2020-05-19 23:51:13 +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
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
Paul Ferrand
91fc783b49 Increase the buffer pool size 2020-05-07 20:48:18 +02:00
Paul Ferrand
f0b527525f Add implicit conversions to AudioBuffer 2020-05-07 20:48:08 +02:00
Paul Ferrand
2fcd231062 Consider the max of the sister voices 2020-05-07 18:45:59 +02:00
Paul Ferrand
298ec7fc0c Change the name of the envelope variables and filters 2020-05-07 18:26:29 +02:00
Paul Ferrand
cd455c435e Consider all sister voices when killing a note 2020-05-07 18:24:49 +02:00
Paul Ferrand
81ee1f2e59 Add a tick method to the OPF 2020-05-07 17:52:29 +02:00
JP Cimalando
e7c462403e
Merge pull request #217 from jpcima/load-string
Add the string loading API
2020-05-07 14:09:13 +02:00
Paul Ferrand
0c9c188e4b Refine the stealing algorithm 2020-05-07 13:49:13 +02:00
Paul Ferrand
36e4c69fc2 Use age and average envelope for stealing 2020-05-07 12:58:24 +02:00
Paul Ferrand
b78a7945ab Add aging in the voice 2020-05-07 12:27:29 +02:00
JP Cimalando
dda4162a01
Merge pull request #218 from jpcima/numeric-hash
Hashing function for numbers
2020-05-07 12:27:28 +02:00
Jean Pierre Cimalando
64b3a999c7 Add the header guard in the C++ header 2020-05-07 10:10:29 +02:00
Jean Pierre Cimalando
0818896cb6 Hashing function for numbers 2020-05-07 09:19:38 +02:00
Paul Ferrand
a9980f163f Changed the historical buffer to a smoothed envelope tracker 2020-05-07 01:27:20 +02:00
Paul Ferrand
d740f1c32b Cherry pick the OPF refactor from the smoothers 2020-05-07 01:02:35 +02:00
Jean Pierre Cimalando
cd6017f0e9 Add the string loading API 2020-05-06 19:12:53 +02:00