SFZ legato mode Play
-
- KVRer
- 3 posts since 24 Oct, 2017
Hello,
I will try to express myself as best as I can because I am not English speaking.
I would like to edit a SFZ file to use the legato mode. Here is my problem: my SFZ file has several samples of voice, they are the same length of time and each samples were made with exactly the same melody but in different tones: A2, A#2, B2, C3, C#3 etc. .
To put it simply, I would like to use the legato mode to vary on my keyboard the tone of the sample without starting each time since the beginning of the sample.
I hope you understand ... it's pretty simple finally: I just want to know how to edit the legato mode in an SFZ file.
Perhaps an example of SFZ file editing (which does not work ...) may be more explicit:
=======================================================
<global>
polyphony=1
<group> trigger=first
<region> sample=VoxPhrase_A2.wav
lokey=A2
hikey=A2
pitch_keycenter=A2
<region> sample=VoxPhrase_A#2.wav
lokey=A#2
hikey=A#2
pitch_keycenter=A#2
<region> sample=VoxPhrase_B2.wav
lokey=B2
hikey=B2
pitch_keycenter=B2
<group> trigger=legato
<region> sample=VoxPhrase_A2.wav
lokey=A2
hikey=A2
pitch_keycenter=A2
<region> sample=VoxPhrase_A#2.wav
lokey=A#2
hikey=A#2
pitch_keycenter=A#2
<region> sample=VoxPhrase_B2.wav
lokey=B2
hikey=B2
pitch_keycenter=B2
=============================================================
If anyone could change this code or give me an example of SFZ code it can help me a lot! Because I tried everything!
PS: I tried this : viewtopic.php?p=6301903
but it does not work for me.
THANKS !!!
I will try to express myself as best as I can because I am not English speaking.
I would like to edit a SFZ file to use the legato mode. Here is my problem: my SFZ file has several samples of voice, they are the same length of time and each samples were made with exactly the same melody but in different tones: A2, A#2, B2, C3, C#3 etc. .
To put it simply, I would like to use the legato mode to vary on my keyboard the tone of the sample without starting each time since the beginning of the sample.
I hope you understand ... it's pretty simple finally: I just want to know how to edit the legato mode in an SFZ file.
Perhaps an example of SFZ file editing (which does not work ...) may be more explicit:
=======================================================
<global>
polyphony=1
<group> trigger=first
<region> sample=VoxPhrase_A2.wav
lokey=A2
hikey=A2
pitch_keycenter=A2
<region> sample=VoxPhrase_A#2.wav
lokey=A#2
hikey=A#2
pitch_keycenter=A#2
<region> sample=VoxPhrase_B2.wav
lokey=B2
hikey=B2
pitch_keycenter=B2
<group> trigger=legato
<region> sample=VoxPhrase_A2.wav
lokey=A2
hikey=A2
pitch_keycenter=A2
<region> sample=VoxPhrase_A#2.wav
lokey=A#2
hikey=A#2
pitch_keycenter=A#2
<region> sample=VoxPhrase_B2.wav
lokey=B2
hikey=B2
pitch_keycenter=B2
=============================================================
If anyone could change this code or give me an example of SFZ code it can help me a lot! Because I tried everything!
PS: I tried this : viewtopic.php?p=6301903
but it does not work for me.
THANKS !!!
Last edited by midanmj on Sat Mar 17, 2018 3:55 pm, edited 1 time in total.
- KVRAF
- 7413 posts since 8 Feb, 2003 from London, UK
You don't sound like you're asking for legato, exactly.
If you want to press one note and then another, and have the sample you hear switch but be at the same point, then you need to have triggered them at the same time.
So the first non-legato key press would need to trigger all regions and select which could be heard. Subsequent legato key presses would simply adjust which playing region could be heard. Once no key was down, you stop sample playback.
If you want to press one note and then another, and have the sample you hear switch but be at the same point, then you need to have triggered them at the same time.
So the first non-legato key press would need to trigger all regions and select which could be heard. Subsequent legato key presses would simply adjust which playing region could be heard. Once no key was down, you stop sample playback.
-
- KVRAF
- 2212 posts since 20 Sep, 2013 from Poland
To be honest, I'm not sure if this is possible to specify with SFZ. Legato that starts the new sample at the beginning and crossfades to it, no problem.
But legato that remembers where the previous sample currently is and triggers the next sample from the appropriate point, I can't think of a way to do that. Triggering all the samples at once and crossfading their volume with a MIDI CC could be done (so that only one of them was audible), so I wonder if it might be possible with keyswitches also. But I'm not sure.
But legato that remembers where the previous sample currently is and triggers the next sample from the appropriate point, I can't think of a way to do that. Triggering all the samples at once and crossfading their volume with a MIDI CC could be done (so that only one of them was audible), so I wonder if it might be possible with keyswitches also. But I'm not sure.
- KVRAF
- 7413 posts since 8 Feb, 2003 from London, UK
I think you could get velocity-sensitive cross-fading between the playing layers going (SFZ2).
-
- KVRAF
- 2212 posts since 20 Sep, 2013 from Poland
Actually, it might be doable via ARIA extensions - trigger all regions at once, and crossfade them based on CC. I think one of the extended CCs above 127 is MIDI note, which is also very usable for true legato. Would have to look that up. But I now see how this could be done, I think.
