Commit graph

21 commits

Author SHA1 Message Date
Paul Fd
7ae0b4b043 Choke notes when the layer is disabled, even if the group and note are the same 2021-11-13 14:14:29 +01:00
Paul Ferrand
a92dc773c5
Merge pull request #933 from paulfd/flex-eg-oncc
Dynamic EGs
2021-07-27 17:14:19 +02:00
Paul Fd
c382b8894e Negative group IDs 2021-06-27 22:35:41 +02:00
Paul Fd
d2ae2a0fe0 Add dynamic to the basic envelope 2021-06-27 16:51:29 +02:00
Paul Fd
c411d0ed61 Add tests 2021-06-25 19:44:04 +02:00
Paul Fd
92f741687e Differentiate between releasing and "offed"
The goal is to be able to off voices in their release stage, possibly shortening the release tail
2021-06-25 17:59:48 +02:00
Paul Fd
cfb9eae68f Test and API doc update w.r.t. ordering
Updated tests mostly to call on `renderBlock()` before testing things like number of active voices and such, in case we buffer/reorder events in the library later on.
2021-04-05 14:13:34 +02:00
Paul Ferrand
360d441eaa Simplified the skipVoice check in note polyphony
checks
Removed the trigger type check; both attack and release
can choke each other
2021-02-08 19:22:56 +01:00
Paul Ferrand
1fcfbdbaf7 move getNumActiveVoices in the voiceList 2020-11-01 08:33:18 +01:00
Paul Ferrand
3214211a06 Refactor of Synth and Voice into a pimpl pattern 2020-11-01 08:33:18 +01:00
Paul Ferrand
0b502b44f1 Don't assume a single <global> for region sets 2020-10-03 10:01:08 +02:00
Paul Ferrand
bb621282c9 Note polyphony tests and bugs 2020-09-07 22:25:29 +02:00
Paul Ferrand
fa37669e08 Add checks for release voices and note_polyphony 2020-09-07 22:25:29 +02:00
Paul Ferrand
dda10e8530 Use a trigger event type instead of passing 3 parameters 2020-09-07 22:25:29 +02:00
Paul Ferrand
44dbbcaf54 Updated tests 2020-08-10 17:22:49 +02:00
Paul Ferrand
7a1a2c9381 Finer tests and behavior for note_polyphony- note_polyphony is shared amoung polyphony groups- Lower velocity samples do not mute higher velocity samples, but they still play! 2020-08-10 15:23:02 +02:00
Jean Pierre Cimalando
e08314f2c8 Fix pathnames such that tests can run from the project root 2020-08-10 00:57:27 +02:00
Paul Ferrand
a8c524b7e8 Slightly looser masking condition 2020-08-09 23:29:28 +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
1e6cb8245e Updated a test that did not account for sister voices 2020-07-02 08:54:31 +02:00
Paul Ferrand
5ef921485b Add the region sets (hierarchy)
Link the voice lifecycle into region sets and polyphony groups
Respect crudely the polyphony limits without stealing for now
2020-07-02 08:54:31 +02:00