Subtrack Round Robin

If some of you happen to be kind enough to share your RR presets, I’d be more than happy to upload them into my Tonvek :slight_smile:

2 Likes

I’ll be making RR sets of my RD boxes once I get my TV and manage to settle in with it. I can post em when I got em

2 Likes

What so special with it? I can do this with other synth since long time

Looking at “Too Hard To Handle”

So, every subtrack entry starts with the slot definition, such as

[[key-zones]]
followed by the pitch the subtrack responds to, as well as center pitch key define. easy peasy… but then comes the

[[key-zones.velocity-layers]]
definition, where each slot has a value
velocity = 0.24705882

what does this mean? is this what tells the engine that there are 6 slots of round robin in this particular “keyzone”? How does one reach this particular value?

1 Like

bumping this thread - anyone? I want to understand the deal behind this “velocity = 0.24705882” thing

thanks

1 Like

BTW folks, the config format is TOML, so you can more concisely write each subtrack for these as:

[[key-zones]]
pitch = 60
key-center = 60.0
velocity-layers = [
  { velocity = 0.24705882, strategy = "Forward", sample-slots = [
      { sample = "amenKICKS-s1.wav" },
      { sample = "amenKICKS-s2.wav" },
      { sample = "amenKICKS-s3.wav" },
      { sample = "amenKICKS-s4.wav" },
      { sample = "amenKICKS-s5.wav" },
      { sample = "amenKICKS-s6.wav" },
      { sample = "amenKICKS-s7.wav" },
      { sample = "amenKICKS-s8.wav" }
  ]}
]

I just confirmed that formatting OP’s amen file to this format works as expected.

If you make your own, make sure to give each one a unique “key-center” and “pitch” value so that it gets mapped to different slots. If you use the same values here it will only create a single slot. This value is how an incoming note gets mapped to a specific slot. For example, slot 1 should have pitch 60/key-center 60.0, slot 2 62/62.0, etc… add 2 for each additional slot I think.

6 Likes

I don’t have any answers but by way of collecting more data on this:

  • Ferrum: 5 samples per subtract, single velocity=0.49411765 for all subtracks.
  • Joeys: 5 samples for the kick, each with a different velocity, but each version of the sample has the same velocity across all of the subtracks (eg v3 of the kick has the same velocity value as v3 of the snare).
  • Low Pulse: similar to Ferrum, but 6 samples, and velocity=0.24705882
  • Nitrum: similar to Ferrum, 8 samples, velocity = 0.49411765
  • Quartzifer: 5 samples, single velocity per subtrack, but different velocities for “accented” subtracks, which have a higher velocity.
  • Too Hard To Handle: similar to Ferrum, but 6 samples, and velocity=0.24705882

So, I don’t think the value provides any information about the number of slots in the round robin.

I’ve been playing around with it for a few minutes so far but it seems like the main thing that determines how many slots is how many key zones you set up with non-overlapping “key-center” configurations. If you place multiple key-zone sections in the file, where some of them share the same key-center value, the last one “wins” because the TOML parser loads it into a map keyed by this number I think, and if there are only 3 unique key-center values despite 8 key-zone sections then I think it will result in 3 slots.

I assume the velocity is how midi input velocity for notes coming in get mapped to a specific slot, similar to how key zones get mapped to a slot based on pitch? So you’ll only hear one from the built-in non-velocity-sensitive “keyboard” but maybe if you set up two velocity layers for 0.1 and 0.4 and play it with an external midi device varying the velocity of notes then you’ll hear it routed to separate velocity layers for that slot?

2 Likes

So, for the samples where there’s a single velocity for all the slots, it’s a simple round robin regardless of the input MIDI velocity, but if the velocity differs, then the velocity is used to pick the sample? Can you combine the two, so have multiple samples for each velocity?

So, here’s how velocity works, I just tried a simple experiment and it seems to make sense.

I added this section to the above eldrum file:

[[key-zones]]
pitch = 66
key-center = 66.0
velocity-layers = [
  { velocity = 0.1, strategy = "Forward", sample-slots = [
      { sample = "amenKICKS-s1.wav" },
  ]},
  { velocity = 0.4, strategy = "Forward", sample-slots = [
      { sample = "amenHATS-s1.wav" },
  ]},
]

Where for low velocities, the kick plays, and for high velocities, the hat plays. I went to the TRIG page and swept the “Velocity” parameter up and down. At low values, the kick played (and I assume if you set multiple samples in there, they will rotate). At high values, the hat played. Also, volume gradually increased as Velocity increased, so when the kick played it was relatively quiet. The whole time I was only hitting the “keyboard” key for the same 4th slot.

So, velocity is there for mapping incoming note velocity to a particular sample or set of samples that are themselves round-robin’d.

3 Likes

I seem to recall someone saying that it would be possible to have both RR and velocity switching in the same patch… although not sure if this is only for .elmulti files and not for .eldrum files (?)

But if the velocity value doesnt dictate how the RR behaves, thats great news, as I can then bypass that part from my own patches, at least for now…

It seems like the same file format. Just use the template I just posted above to get both.

Multi-sample and subtrack are the same instrument under the hood!

2 Likes

I see. I’ll give it a try once I return home from work, thanks

Yes we do. It works the same as multi-sample because under the hood it’s the same machine.

1 Like

Hey all, does anyone know a software or webtools that divides a sample chain into single samples? (Because I want to convert the 68245912481254630 sample chains - intended for round robin - I made for Digitakt II’s grid mode into Subtracks.)

I imagine an interface where I drop a WAV, select amound of slices (4,8,16 or 32) and I get 4,8,6 or 32 single WAVs …

1 Like

Do you have Recycle 2.5? Its free AFAIK, and it should be able to divide a sample to equal size slices, then “export to sampler”

1 Like
3 Likes

Deleted because found tool might be randomly inaccurate what the …

2 Likes

I’ve made this to generate .elmulti files initially, and thought it wouldn’t be too hard to add this feature so here you go - hope it’s useful

9 Likes

You tried Recycle? Or something else?