Commit graph

3449 commits

Author SHA1 Message Date
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
Jean Pierre Cimalando
731daf4ab8 Fix to SfzFilter after changing channel count 2021-03-26 13:13:59 +01:00
Jean Pierre Cimalando
da621bf5ec Move all regional state into Layer 2021-03-26 03:21:20 +01:00
JP Cimalando
cc6337e827
Merge pull request #749 from jpcima/makefile
CI check for Makefile builds
2021-03-25 21:34:59 +01:00
Jean Pierre Cimalando
e533bd1ddd Add CI workflow for makefile 2021-03-25 21:32:26 +01:00
Jean Pierre Cimalando
ce7800abe3 Create a generic makefile for libsfizz.a 2021-03-25 19:39:02 +01:00
JP Cimalando
4f89baab43
Merge pull request #748 from jpcima/utility
Move some utility files
2021-03-25 19:23:09 +01:00
Jean Pierre Cimalando
5a2bffe590 Remove a Qt warning from demos [ci skip] 2021-03-25 18:42:40 +01:00
Jean Pierre Cimalando
68062432ed Move some utility files 2021-03-25 18:35:20 +01:00
Jean Pierre Cimalando
439f696847 Fix a minor warning 2021-03-25 16:43:34 +01:00
JP Cimalando
df5b3a10e4
Merge pull request #739 from paulfd/sostenuto
Sostenuto
2021-03-25 16:07:46 +01:00
JP Cimalando
f301cab748
Merge pull request #746 from jpcima/parser
Fix a parsing error in presence of # sign
2021-03-25 14:10:31 +01:00
Jean Pierre Cimalando
014171f815 Fix a parsing error in presence of # sign 2021-03-25 13:50:37 +01:00
JP Cimalando
257ed120b7
Merge pull request #745 from jpcima/filter
Compact multi-mode filter with union
2021-03-25 01:35:10 +01:00
Jean Pierre Cimalando
2c0250d620 Compact multi-mode filter with union 2021-03-25 01:02:00 +01:00
Paul Fd
2bbd2011d2 Minor changes 2021-03-24 13:32:38 +01:00
Paul Fd
65ea4a27bf Working state 2021-03-24 13:32:38 +01:00