Skip to content

Conversation

paulfd
Copy link
Member

@paulfd paulfd commented Oct 26, 2020

Closes: #423 #389
Also works towards #341 by letting the synth activate and deactivate regions as needed regarding keyswitches.

Still needs testing, all corner cases should go in the test suite. I will go through the official test suite to integrate as needed.

This reworks keyswitches overall.

  • sw_lokey and sw_hikey are now ignored more or less, and only effective keyswitches are taken into account for sw_last.
  • New views are built upon loading to let the synth go through keyswitched regions faster. These may be used later on to gather the set of keyswitches (last, down and up) for UI display if needed.
  • sw_up, sw_down, and sw_previous are handled at the synth level too.
  • Support for sw_lolast and sw_hilast. If a label is given, the label is applied to all keys in the keyswitch range.
  • Added and shuffled tests around for keyswitches.

@paulfd paulfd linked an issue Oct 27, 2020 that may be closed by this pull request
@paulfd paulfd marked this pull request as ready for review October 27, 2020 19:47
@paulfd paulfd requested a review from jpcima October 27, 2020 19:47
@paulfd paulfd merged commit 06157c7 into sfztools:develop Oct 28, 2020
@paulfd paulfd deleted the keyswitches branch October 28, 2020 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Multiple <global> Support sw_lolast & sw_hilast
2 participants