Skip to content

Conversation

paulfd
Copy link
Member

@paulfd paulfd commented Aug 18, 2020

See #372

@paulfd paulfd requested a review from jpcima August 18, 2020 22:59
break;
case hash("release_key"):
trigger = SfzTrigger::release_key;
loopMode = SfzLoopMode::one_shot;
break;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This behavior will not match to aria.
This is overriden by the loop_mode if present, regardless if happening before or after trigger.
For instance both of these will have loop_sustain.

<region> sample=sine440.wav pitch_keycenter=69 loop_mode=loop_sustain trigger=release_key
<region> sample=sine440.wav pitch_keycenter=69 trigger=release_key loop_mode=loop_sustain

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

an loopmode is already an optional too! :)

@paulfd paulfd force-pushed the release-loop-mode branch from ed38c93 to 66bdaaf Compare August 19, 2020 10:51
@paulfd paulfd merged commit 66705f5 into sfztools:develop Aug 19, 2020
@paulfd paulfd deleted the release-loop-mode branch August 19, 2020 11:20
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.

2 participants