redtide
49c5be7f57
Support DecentSampler ui bgImage
2021-04-03 21:10:27 +02:00
JP Cimalando
8f33c90ffb
Merge pull request #769 from redtide/image-opcode
...
image opcode
2021-04-03 20:41:17 +02:00
Jean Pierre Cimalando
efcaae08b0
Consistency in subproject URLs [ci skip]
2021-04-03 20:40:25 +02:00
Jean Pierre Cimalando
4b5b190fbe
Move image utilities in a ImageHelpers file
2021-04-03 20:37:45 +02:00
Jean Pierre Cimalando
4783f21b31
Change stb_image into a library target
2021-04-03 20:13:33 +02:00
redtide
0c4f136874
Added image opcode
2021-04-03 19:44:40 +02:00
JP Cimalando
db98d51e11
Merge pull request #766 from paulfd/cache-targetids
...
Cache ids for faster lookup
2021-04-02 20:54:30 +02:00
Paul Fd
2c31855137
Cache ids for faster lookup
2021-04-02 15:08:15 +02:00
Paul Ferrand
646ca14164
Merge pull request #765 from paulfd/aftertouch-lfo-targets
...
Add missing `chanaft` connections to lfos
2021-04-02 14:19:51 +02:00
Paul Fd
fd8311de7f
Add missing chanaft connections to lfos
2021-04-02 14:01:39 +02:00
Paul Fd
78db0b73db
Cache the region pitch keycenter at voice start
2021-04-02 13:35:57 +02:00
JP Cimalando
45115bf393
Merge pull request #763 from jpcima/clang-tidy
...
New fixes for clang-tidy
2021-04-01 17:15:01 +02:00
Jean Pierre Cimalando
68b74cd237
New fixes for clang-tidy
2021-04-01 17:08:26 +02:00
JP Cimalando
f05921712c
Merge pull request #760 from jpcima/things-oncc
...
More oncc targets for EG and LFO
2021-04-01 15:42:23 +02:00
Jean Pierre Cimalando
291c61c661
Try newer clang-tidy in hope to resolve segfault
2021-04-01 15:31:51 +02:00
Jean Pierre Cimalando
3466583e47
Write an explicit 0 next to FilCutoff (v1) keys
2021-04-01 15:06:47 +02:00
Jean Pierre Cimalando
d8d877b2f1
Add the filter targets
2021-04-01 15:03:01 +02:00
Jean Pierre Cimalando
779cf2afff
Rewrite some EG/LFO targets with helper
2021-04-01 14:01:43 +02:00
Jean Pierre Cimalando
2200191d2a
Create a helper to get the source depth key
2021-04-01 13:45:41 +02:00
Paul Fd
6826024ee2
Updating regions through OSC
...
For a limited selection of opcodes, we can allow updates through OSC.
This implements an "opcode buffer" that gets read at the beginning of the render loop in the RT thread.
Any opcode updates must thus be RT-safe, so not all of them should be allowed.
I added a parameter to disable the opcode name cleanup method which does allocate strings potentially.
This means that the opcodes must be "correctly" normalized.
For example, for `lfoN_wave`, we have to pass `lfoN_wave1` in the opcode buffer.
2021-04-01 06:32:42 +02:00
Jean Pierre Cimalando
1052025072
Implement some oncc for EGv2
2021-04-01 02:56:18 +02:00
Jean Pierre Cimalando
ea7bb1cf6c
Implement some oncc for LFOv2
2021-04-01 02:49:01 +02:00
Jean Pierre Cimalando
de7d47a9f1
Handle multiplicative depth modulations
2021-04-01 02:47:40 +02:00
JP Cimalando
798f501a65
Merge pull request #759 from jpcima/normalize-bis
...
Fix the value bounds in ADSR
2021-04-01 02:09:14 +02:00
Jean Pierre Cimalando
ed8a321a3c
Update tests without clamped values
2021-04-01 02:01:07 +02:00
Jean Pierre Cimalando
fb01fa7cfd
Fix the value bounds in ADSR
2021-04-01 01:39:30 +02:00
JP Cimalando
8f81f6327d
Merge pull request #758 from jpcima/normalize-percents
...
Normalize percent values everywhere
2021-04-01 01:21:58 +02:00
Jean Pierre Cimalando
f4c7efeef5
Normalize percent values everywhere
2021-04-01 00:29:26 +02:00
JP Cimalando
731c00d449
Merge pull request #757 from jpcima/openmp-flags
...
Process the openMP flags before using as compile options
2021-03-31 19:00:05 +02:00
Jean Pierre Cimalando
abbf560755
Use native command, on a recent enough cmake
2021-03-31 18:39:04 +02:00
Jean Pierre Cimalando
c06929083b
Process the openMP flags before using as compile options
2021-03-31 18:31:29 +02:00
JP Cimalando
1ade3d5f5d
Merge pull request #756 from jpcima/new-alignment-issue
...
Implement a substitute for aligned-new
2021-03-31 18:07:31 +02:00
Jean Pierre Cimalando
d509842d08
Consistency again
2021-03-31 17:19:30 +02:00
Jean Pierre Cimalando
28f44afb4a
Fix mistake: using incorrect size
2021-03-31 17:12:00 +02:00
Jean Pierre Cimalando
cb9d61757d
Minor change, for consistency only
2021-03-31 17:10:15 +02:00
Jean Pierre Cimalando
0041432d83
Implement a substitute for aligned-new
2021-03-31 16:35:37 +02:00
Paul Ferrand
e7aecec06b
Merge pull request #747 from paulfd/extended-ccs
...
Extended ccs
2021-03-31 14:16:15 +02:00
Paul Fd
b3a73814d5
Support the extended CCs of SFZv2 except poly aftertouch
...
Poly aftertouch can be added in the future in a similar way
2021-03-31 13:55:11 +02:00
JP Cimalando
40d18f0e23
Merge pull request #753 from paulfd/lfo-cc
...
Add lfoN_fade_oncc, lfoN_delay_oncc, lfoN_phase_oncc
2021-03-31 02:11:37 +02:00
JP Cimalando
bd6e94f637
Merge pull request #752 from paulfd/bounds-oncc
...
Add CC modifiers to end, loop_start, loop_end
2021-03-31 02:11:20 +02:00
Paul Fd
53fba12477
Update the demo program
2021-03-31 00:03:49 +02:00
Paul Fd
ff6f7a3251
Add connection test
2021-03-30 23:39:17 +02:00
Paul Fd
10c5e64ba1
Add CC modifiers to end, loop_start, loop_end
...
The end cc modifiers are computed at voice start like the offset
The loop cc modifiers are updated in each block
2021-03-30 23:04:06 +02:00
Jean Pierre Cimalando
6b9671b729
Declare Resources as struct not class
2021-03-30 22:38:39 +02:00
Jean Pierre Cimalando
2db25f5468
Fix the boolean version of normalizeInput
2021-03-30 22:38:22 +02:00
JP Cimalando
689bb99e40
Merge pull request #750 from jpcima/stateless-region
...
Make the region stateless
2021-03-30 21:53:46 +02:00
Jean Pierre Cimalando
6a6936f205
Avoid a copy
2021-03-30 18:06:51 +02:00
Jean Pierre Cimalando
5777e65578
Remove the indirection
2021-03-30 17:49:17 +02:00
Paul Fd
a4dbf89766
Add lfoN_fade_oncc, lfoN_delay_oncc, lfoN_phase_oncc
...
The phase modifier is actually an "audio rate" modifier with curve, step and smoothcc options.
The v2 spec only had oncc, which would limit it to a set value with the LFO starts, but having it at audio rate makes sense if you want to tweak the phase while the LFO is running.
2021-03-30 10:05:09 +02:00
Jean Pierre Cimalando
9e5d27af3c
Do not allow interpolator coef to be exactly 1.0
2021-03-26 13:46:45 +01:00