Round robin in sfz format. Help!

Sampler and Sampling discussion (techniques, tips and tricks, etc.)
RELATED
PRODUCTS

Post

Hello all!

I am currently conducting a bank audio format. Sfz and I would like to put cycles round robin.
My question:
In the example below with a grade five level velocity playing the tune just a sample, here work?


<group>
seq_length=3

<region> sample=C1(high)(v1).wav lokey=36 hikey=36 hivel=58 pitch_keycenter=36 seq_position=1
<region> sample=C1(high)(v1).wav lokey=36 hikey=36 hivel=58 pitch_keycenter=36 seq_position=2 tune=5
<region> sample=C1(high)(v1).wav lokey=36 hikey=36 hivel=58 pitch_keycenter=36 seq_position=3 tune=10

<region> sample=C1(high)(v2).wav lokey=36 hikey=36 lovel=59 hivel=89 pitch_keycenter=36 seq_position=1
<region> sample=C1(high)(v2).wav lokey=36 hikey=36 lovel=59 hivel=89 pitch_keycenter=36 seq_position=2 tune=5
<region> sample=C1(high)(v2).wav lokey=36 hikey=36 lovel=59 hivel=89 pitch_keycenter=36 seq_position=3 tune=10

<region> sample=C1(high)(v3).wav lokey=36 hikey=36 lovel=90 hivel=106 pitch_keycenter=36 seq_position=1
<region> sample=C1(high)(v3).wav lokey=36 hikey=36 lovel=90 hivel=106 pitch_keycenter=36 seq_position=2 tune=5
<region> sample=C1(high)(v3).wav lokey=36 hikey=36 lovel=90 hivel=106 pitch_keycenter=36 seq_position=3 tune=10

<region> sample=C1(high)(v4).wav lokey=36 hikey=36 lovel=107 hivel=119 pitch_keycenter=36 seq_position=1
<region> sample=C1(high)(v4).wav lokey=36 hikey=36 lovel=107 hivel=119 pitch_keycenter=36 seq_position=2 tune=5
<region> sample=C1(high)(v4).wav lokey=36 hikey=36 lovel=107 hivel=119 pitch_keycenter=36 seq_position=3 tune=10

<region> sample=C1(high)(v5).wav lokey=36 hikey=36 lovel=120 pitch_keycenter=36 seq_position=1
<region> sample=C1(high)(v5).wav lokey=36 hikey=36 lovel=120 pitch_keycenter=36 seq_position=2 tune=5
<region> sample=C1(high)(v5).wav lokey=36 hikey=36 lovel=120 pitch_keycenter=36 seq_position=3 tune=10


Regards!

Post

I don't quite understand what the question is.

Look like you are changing the tuning in round robin?

Post

I would shorten it like this to avoid unnecessary repeating:

Code: Select all

<group> lokey=36 hikey=36 lovel=001 hivel=058 pitch_keycenter=36 seq_length=3
<region> sample=C1(high)(v1).wav seq_position=1
<region> sample=C1(high)(v1).wav seq_position=2 tune=5
<region> sample=C1(high)(v1).wav seq_position=3 tune=10

<group> lokey=36 hikey=36 lovel=059 hivel=089 pitch_keycenter=36 seq_length=3
<region> sample=C1(high)(v2).wav seq_position=1
<region> sample=C1(high)(v2).wav seq_position=2 tune=5
<region> sample=C1(high)(v2).wav seq_position=3 tune=10

<group> lokey=36 hikey=36 lovel=090 hivel=106 pitch_keycenter=36 seq_length=3
<region> sample=C1(high)(v3).wav seq_position=1
<region> sample=C1(high)(v3).wav seq_position=2 tune=5
<region> sample=C1(high)(v3).wav seq_position=3 tune=10

<group> lokey=36 hikey=36 lovel=107 hivel=119 pitch_keycenter=36 seq_length=3
<region> sample=C1(high)(v4).wav seq_position=1
<region> sample=C1(high)(v4).wav seq_position=2 tune=5
<region> sample=C1(high)(v4).wav seq_position=3 tune=10

<group> lokey=36 hikey=36 lovel=120 hivel=127 pitch_keycenter=36 seq_length=3
<region> sample=C1(high)(v5).wav seq_position=1
<region> sample=C1(high)(v5).wav seq_position=2 tune=5
<region> sample=C1(high)(v5).wav seq_position=3 tune=10
Put opcodes that are same for every sample to <group> like keycenter, seq_length and velocity ranges. Put changing opcodes between the samples like seq_position and tune to <region>.

I would use Sforzando instead of the old SFZ: http://www.plogue.com/products/sforzando/

The opcodes that are the same for the all samples you could put to <global>.

If the sample has a one note range like in your example you can just use key=36 and get rid of lokey, hikey and keycenter opcodes.

For example if every sample is key 36 and every velocity group has 3 round robins you could shorten it even more like this:

Code: Select all

<global> key=36 seq_length=3

<group> lovel=001 hivel=058 
<region> sample=C1(high)(v1).wav seq_position=1
<region> sample=C1(high)(v1).wav seq_position=2 tune=5
<region> sample=C1(high)(v1).wav seq_position=3 tune=10

<group> lovel=059 hivel=089
<region> sample=C1(high)(v2).wav seq_position=1
<region> sample=C1(high)(v2).wav seq_position=2 tune=5
<region> sample=C1(high)(v2).wav seq_position=3 tune=10

<group> lovel=090 hivel=106
<region> sample=C1(high)(v3).wav seq_position=1
<region> sample=C1(high)(v3).wav seq_position=2 tune=5
<region> sample=C1(high)(v3).wav seq_position=3 tune=10

<group> lovel=107 hivel=119
<region> sample=C1(high)(v4).wav seq_position=1
<region> sample=C1(high)(v4).wav seq_position=2 tune=5
<region> sample=C1(high)(v4).wav seq_position=3 tune=10

<group> lovel=120 hivel=127
<region> sample=C1(high)(v5).wav seq_position=1
<region> sample=C1(high)(v5).wav seq_position=2 tune=5
<region> sample=C1(high)(v5).wav seq_position=3 tune=10

Post

To OP: Fundamentally "yes", that's how the RR works.

Also, +1 to that on both points by Tubeman -- eliminate redundancy and use sforzando :). Note, the <global> opcode is standard across SFZ2-capable samplers (i.e. the Cakewalk post-SFZ.dll ones as well as Plogue/Garritan/Aria and whatever else does SFZ2).

Post

Thank you all for your answers and examples.

For information I rebuild my bank Rickenbacker 4001 bass with more opportunities and cleaner than my previous version, this version is also chromatically Sampled.
I want to use the SFZ format, but with a round robin as well as legato and I must be sure not wrong because there will be two to three thousand samples.:D
Zombie Queen wrote:Look like you are changing the tuning in round robin?
Yes, but I do not know if this is correct as a method.

Regards!

Post

Project16 wrote:Yes, but I do not know if this is correct as a method.
The usual use of round robin is that the performer being sampled is asked to play the sound being sampled multiple times and each take forms one of the round robins. So you'd have a different sample being triggered by the user of the sample library when they play the sound multiple times. The idea is that a human can never be 100% accurate in reproducing how they play an instrument and, to a degree, the instrument itself will respond in subtly different ways (although the latter aren't likely to be significant if you assume 100% accuracy).

However, it's down to what you want to do, really. If you feel having the pitch change is what you want, then the way you've written it will achieve it.

Post

Thank you for this clear answer!

I would also like to know if there an equivalent software "velleveler" velocity levels for samples related to their audio level.
The problem is that I can not copy the text "voxengo leveler", right-click does not work in "velleveler", it looks like a bug.

PS: sorry, I use an online translator.

Regards!

Post

You're saying in Leveler you can't copy the text out? Ctrl-C works for me. You are running "process", first?

Post

pljones wrote:You're saying in Leveler you can't copy the text out? Ctrl-C works for me. You are running "process", first?
Yes, Voxengo Leveler works correctly and I can copy it to the clipboard. It is with Velleveler the paste does not work.

I tested your sample with some notes and round robin works correctly.
A review for a bass guitar, how should round robin (3, 5,??)

Regards!

Post

Project16 wrote:Yes, Voxengo Leveler works correctly and I can copy it to the clipboard. It is with Velleveler the paste does not work.
Did you try CTRL + V?

Post

Tubeman wrote: Did you try CTRL + V?
Cool, here works (I must be stupid :D )

thank you! :wink:

Post

Project16 wrote:A review for a bass guitar, how should round robin (3, 5,??)
The ear is the best guide to how many you need. I don't know bass guitar (I've never seriously played a guitar -- and nothing since I was a very small kid with a "toy" acoustic!), so it's not something I could advise on. Velocity layers may be more important than round robins, depending on technique, I simply don't know.

Post

Ok pljones, I think three round robin enough.
More with keyswitch for ghost notes, slides, etc ... the sfz file is quite complex and will remain even when an amateur and not professional achievement.

My thanks to all for the assistance!

Post

If you want the bass to work in metal etc. I'd say minium 8 round robins, 4 downstrokes and 4 upstrokes. That is if you do a plectrum version.

Post

Hi everyone!

I finished a file (sfz) of one of the patches from my bank and I used opcodes lorand, hirand and tune for a round robin 3x.
The code below, do you think this is correct?

Code: Select all

//-------------------------------------------------//

//vel=100 |   -15.3  F#1(high)(v1).wav
//vel=108 |   -13.9  F#1(high)(v2).wav
//vel=113 |   -13.1  F#1(high)(v3).wav
//vel=119 |   -12.3  F#1(high)(v4).wav
//vel=127 |   -11.2  F#1(high)(v5).wav

<global> key=30 seq_length=3 lorand=0 hirand=1.0
sw_lokey=16 sw_hikey=21 sw_last=21 sw_label=Sustain
<group> lovel=001 hivel=100 amp_velcurve_100=1
<region> sample=F#1(high)(v1).wav seq_position=1
<region> sample=F#1(high)(v1).wav seq_position=2 tune=-5 
<region> sample=F#1(high)(v1).wav seq_position=3 tune=5 
<group> lovel=101 hivel=108 amp_velcurve_108=1
<region> sample=F#1(high)(v2).wav seq_position=1
<region> sample=F#1(high)(v2).wav seq_position=2 tune=-5 
<region> sample=F#1(high)(v2).wav seq_position=3 tune=5 
<group> lovel=109 hivel=113 amp_velcurve_113=1
<region> sample=F#1(high)(v3).wav seq_position=1
<region> sample=F#1(high)(v3).wav seq_position=2 tune=-5 
<region> sample=F#1(high)(v3).wav seq_position=3 tune=5 
<group> lovel=114 hivel=119 amp_velcurve_119=1
<region> sample=F#1(high)(v4).wav seq_position=1
<region> sample=F#1(high)(v4).wav seq_position=2 tune=-5 
<region> sample=F#1(high)(v4).wav seq_position=3 tune=5 
<group> lovel=120 hivel=127 amp_velcurve_127=1
<region> sample=F#1(high)(v5).wav seq_position=1
<region> sample=F#1(high)(v5).wav seq_position=2 tune=-5 
<region> sample=F#1(high)(v5).wav seq_position=3 tune=5 

//-------------------------------------------------//
Here is a short audio demo of my fingered patch - bridge pickup (sustain) with this file.

https://soundcloud.com/project16/finger ... gh/s-Po3Ez

Regards!

Post Reply

Return to “Samplers, Sampling & Sample Libraries”