Commit graph

78 commits

Author SHA1 Message Date
Paul Ferrand
66bdaafbe7 Only override the loop mode if unset 2020-08-19 12:50:02 +02:00
Paul Ferrand
da75095a9b Explicitely signify if a loop if present
Before we tried to "guess", which causes problems if a loop spans the entire file
2020-08-18 23:09:03 +02:00
Paul Ferrand
44dbbcaf54 Updated tests 2020-08-10 17:22:49 +02:00
Jean Pierre Cimalando
82ebb639a7 Remove unused code, update tests 2020-08-09 20:41:44 +02:00
Paul Ferrand
c2716c3bea getNumActiveVoices takes a boolean flag to recompute the number of active voices
All tests updated as this was the previous default behavior.
2020-07-26 14:04:30 +02:00
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
Paul Ferrand
952ce455a6 Reactivated the test 2020-05-30 15:18:09 +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
650c6140bd parser: dollar expansions and multiple #define on the same line 2020-05-15 09:39:35 +02:00
Jean Pierre Cimalando
ec7b9bbb1f Add the realcc test 2020-05-15 00:25:37 +02:00
Jean Pierre Cimalando
7773474b18 Support the opcode set_hdccN 2020-05-14 23:54:57 +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
68abedae36 Updated tests 2020-05-07 00:49:05 +02:00
Paul Ferrand
ac993741d1 Rename the "canBeStolen" function 2020-05-05 23:45:06 +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
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
2de8fe237f Add a test for key switch MIDNAM 2020-04-18 21:35:55 +02:00
Jean Pierre Cimalando
8fcafa7b67 Add some checks to test the midnam file 2020-04-18 21:26:56 +02:00
Jean Pierre Cimalando
ff2b710937 Update tests 2020-04-16 14:17:17 +02:00
Jean Pierre Cimalando
5f94e34230 Rename all: note label -> key label 2020-04-15 18:10:28 +02:00
Paul Fd
5a0aafa793 Parse label_noteNN and add getters for the labels in the internal API 2020-04-15 18:10:25 +02:00
Paul Fd
61d1c568a8 Add a modifier structure and rename the ccvalue pair 2020-04-14 18:00:59 +02:00
Paul Fd
13edb6dfba Change the midiState observer to a resource observer for tests 2020-04-14 18:00:59 +02:00
Paul Fd
e274084d2f clang-format step 2020-04-13 21:38:22 +02:00
Jean Pierre Cimalando
54b92f9f9d Try fixing the case-sensitivity test on Mac 2020-04-13 17:32:21 +02:00
Jean Pierre Cimalando
0dca7dbc5e Add tests for oscillator_multi 2020-04-04 23:18:00 +02:00
Jean Pierre Cimalando
b338ac0ff9 Update tests 2020-04-03 17:25:30 +02:00
Paul Fd
5088bed9b0 Formatting step 2020-03-31 10:46:12 +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
42fa89ab5a Tentative replacement of the amplitude envelope 2020-03-29 16:29:12 +02:00
Paul Fd
4c2e0ab6b9 Refactor the midistate functions 2020-03-28 22:10:18 +01:00
Paul Fd
cc8944e452 Everyone should now use the normalized versions 2020-03-28 22:07:32 +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
Jean Pierre Cimalando
c03345e950 Adapt the newer parser to Sfizz 2020-03-28 00:29:36 +01:00
Paul Fd
4398f3bab4 Update the tests for the new CCValuePair alias 2020-03-08 00:20:11 +01:00
Paul Ferrand
4af3ac4e55 Fix a broken test
You need to render the block to see the voice in release state now,
which is normal
2020-02-19 14:04:59 +01:00
Paul Ferrand
dbad2995c5 Added a test for empty files 2020-02-12 09:15:28 +01:00
Paul Ferrand
07c723a608 Updated tests 2020-01-30 08:16:40 +01:00
Paul Ferrand
ef477dca90 Correcting windows builds 2020-01-28 21:42:15 +01:00
Paul Ferrand
87f169a6c1
Updated the test for the default_path test case 2020-01-26 21:16:32 +01:00
Jean Pierre Cimalando
06755812db Mechanism for case-sensitivity on Unix-style OS, integration code by @paulfd 2020-01-26 20:38:59 +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
7fbcf05486 Added a test with bad/removed regions 2020-01-04 16:33:02 +01:00
Paul Ferrand
6377451027 Added tests for note-offs 2019-12-29 23:00:57 +01:00
Paul Ferrand
3608b3145a Added tests for looped regions in files 2019-12-29 20:14:39 +01:00