Commit graph

58 commits

Author SHA1 Message Date
Paul Ferrand
0ed1f4cbeb Clean up the va OPF and wrap it as a linear smoother
Move modifiers and their helpers in their own files
Add an enum class for modifiers and facilities to iterate over all possible targets
Add smoothers to the voices and preallocate them
Iterate over smoothers and modifiers jointly in the voices for each target
2020-06-20 15:27:12 +02:00
Jean Pierre Cimalando
f0f4c34ad8 Numbering of regions and voices 2020-06-12 00:55:53 +02:00
JP Cimalando
d9e49f7dc5
Merge pull request #235 from jpcima/off-by
Off by
2020-06-11 13:04:54 +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
Jean Pierre Cimalando
0cdb1f7044 Revert start_lohdccN to 0-1, confirmed by plgDavid 2020-05-16 23:19:56 +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
c6add6fe9d Add the test for off_by=-1 2020-05-15 13:17:12 +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
8c8192140e Support lohdccN and hihdccN 2020-05-15 00:37:47 +02:00
Jean Pierre Cimalando
fe6db9ac8d Update tests for verbatim values, and stepcc auto range 2020-05-05 17:20:53 +02:00
Jean Pierre Cimalando
35b757b582 Remove fil_gaincc, not part of ARIA (verified) 2020-05-05 04:21:50 +02:00
Jean Pierre Cimalando
e8562cc003 Prevent FileId allocating memory from Voice init 2020-04-19 02:13:35 +02:00
Paul Ferrand
0bf02ac14f
Merge pull request #174 from paulfd/note-names
Add an opcode for note names, and API bindings for note and cc names
2020-04-18 22:42:35 +02:00
Jean Pierre Cimalando
ff2b710937 Update tests 2020-04-16 14:17:17 +02:00
Jean Pierre Cimalando
32d7a0aa48 Add a test for opcode direction 2020-04-16 14:17:17 +02:00
Paul Fd
aa4af91131 Parse sw_label 2020-04-16 00:53:21 +02:00
Paul Fd
64a591fb7a Parse offset_cc 2020-04-15 18:37:41 +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
5e6584a51a Basic parsing tests 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
Jean Pierre Cimalando
a825b3f1d3 Set the EG release default to 0 2020-04-01 09:40:26 +02:00
Paul Fd
5088bed9b0 Formatting step 2020-03-31 10:46:12 +02:00
Paul Fd
bf4bdad656 Handle pitch_cc and tune_cc 2020-03-31 10:36:41 +02:00
Paul Ferrand
e24065f7d1 Added volume_oncc tests 2020-03-31 00:37:22 +02:00
Paul Ferrand
922cbde6c5 Store pitch bend internally as floats 2020-03-30 21:07:33 +02:00
Paul Ferrand
5d499fb563 Update tests 2020-03-29 19:34:45 +02:00
Paul Ferrand
0cf7b01d6b update the tests for the normalized modifier 2020-03-29 17:12:41 +02:00
Paul Ferrand
30061bdb4e Add note_polyphony and note_selfmask in the parser 2020-03-29 00:48:27 +01:00
Paul Fd
601126db0d Normalize CCs internally in Synth and region 2020-03-28 22:07:03 +01:00
Paul Fd
0e1e65135e Region and Synth use float velocities internally 2020-03-28 22:07:03 +01:00
Paul Ferrand
99f0833a96
Merge pull request #127 from jpcima/wavetable-phase
Add support of oscillator_phase
2020-03-28 00:55:29 +01:00
Paul Ferrand
dcd688dbe5 Add oscillator phase tests 2020-03-27 18:17:15 +01:00
Jean Pierre Cimalando
18382917c6 Adapt tests to the recent width fix 2020-03-18 21:39:42 +01:00
Jean Pierre Cimalando
797e703dfd Update the test 2020-03-16 18:29:45 +01:00
Paul Fd
1ba834a892 Add tests for the new eq parameters 2020-03-13 00:00:49 +01:00
Paul Fd
4398f3bab4 Update the tests for the new CCValuePair alias 2020-03-08 00:20:11 +01:00
Paul Fd
e84af98d27 Added tests and a send to to_mix.sfz 2020-03-07 22:09:46 +01:00
Paul Fd
f03783eca7 Change the bounds for filter gains and res 2020-02-06 23:42:06 +01:00
Paul Fd
0331739520 Added missing parts and pre-reserve the filters or EQs when necessary 2020-02-05 09:44:12 +01:00
Paul Ferrand
3c0cfac953 Parse EQ and filter parameters in the Regions 2020-02-04 23:50:17 +01:00
Paul Ferrand
07c723a608 Updated tests 2020-01-30 08:16:40 +01:00
Paul Ferrand
3abb63639b Less verbose license text 2020-01-25 13:13:07 +01:00
Paul Ferrand
56be9c8b7c Updated licenses and copyright date 2020-01-25 10:13:33 +01:00
Paul Ferrand
b97a244de1 Tests did not compile 2020-01-19 07:42:52 +01:00
Paul Ferrand
8dc532b58d Enable looping if unset in the region 2019-12-29 10:50:07 +01:00
Paul Ferrand
8e39ffc18e Remove the channels from the inner engine 2019-12-23 01:25:20 +01:00
Paul Ferrand
194816ef58 The midi channels should now be 0-based everywhere 2019-12-15 23:48:21 +01:00
Paul Ferrand
a1282ff193 Added support for parsing bend ranges 2019-12-09 23:24:14 +01:00
paulfd
a3d53b46cc Range was not in the namespace sfz 2019-09-28 14:17:34 +02:00
paulfd
d4a1178233 ccState and the midiState globals become a single private member of the Synth object; read-only references are loaded on creation into the regions and voice. 2019-09-21 01:07:53 +02:00