Created
May 2, 2021 10:48
-
-
Save jpcima/d28f7d8ffe5d452a72838387de75a6ea to your computer and use it in GitHub Desktop.
Generated sfz sequences
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//----------------------------------------------------------------------------// | |
// Kinwie 1st example | |
<global> | |
loop_mode=one_shot | |
key=60 | |
seq_length=2 | |
//human voice count | |
<group> seq_position=1 | |
{% for x in range(10) %} | |
<region> | |
lorand={{(loop.index-1)/loop.length}} | |
hirand={{loop.index/loop.length}} | |
sample=count_{{'%02d' % x}}.wav | |
{% endfor %} | |
//drums hit | |
<group> seq_position=2 | |
{% for sample in ['kick.wav', 'snare.wav', 'hat.wav', 'crash.wav'] %} | |
<region> | |
lorand={{(loop.index-1)/loop.length}} | |
hirand={{loop.index/loop.length}} | |
sample={{sample}} | |
{% endfor %} | |
//----------------------------------------------------------------------------// | |
// Kinwie 2nd example | |
<global> | |
loop_mode=one_shot | |
key=60 | |
//human voice count | |
{% for x in range(10) %} | |
{% if loop.first %}<group> seq_length={{loop.length}} hirand=0.5{% endif %} | |
<region> seq_position={{'%02d' % loop.index}} sample=count_{{'%02d' % loop.index}}.wav | |
{% endfor %} | |
//drums hit | |
{% for sample in ['kick.wav', 'snare.wav', 'hat.wav', 'crash.wav'] %} | |
{% if loop.first %}<group> seq_length={{loop.length}} lorand=0.5{% endif %} | |
<region> seq_position={{'%02d' % loop.index}} sample={{sample}} | |
{% endfor %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment