How to play a specified RR group based on the distance between two notes?
-
@Christoph-Hart said in How to play a specified RR group based on the distance between two notes?:
Yeah I fixed that a few weeks ago:
It's better than it was, but it's not really any better for 127 groups (how do I view all the samples in groups 90-100 at the same time for example?). At least the indexes are correct now :)
Guess which group I have selected here?
Yep, number 99 :)
-
@d-healey hmm ok, I just tried to "unglitch" the UI. What would be your suggestion for a proper solution? Maybe once the RR group count exceeds the number that can be shown properly, make a popup button with a bigger UI element that shows every group? Any ideas of how this should look?
-
@Christoph-Hart said in How to play a specified RR group based on the distance between two notes?:
What would be your suggestion for a proper solution?
I think we should do what Kontak does (but better), have a table view. Additional features such as renaming and colour coding groups would be nice, also if we could see with a little indicator of which group is triggering (Kontakt shows a speaker icon). But just a simple table with multi-select would suffice.
Maybe this discussion could be separated into another thread as I've derailed this one?
-
@d-healey yeah I‘ll definitely don‘t want to add the ability to name groups or other organisational tools as this will encourage the wrong usage of tucking too much into a single sampler.
-
@Christoph-Hart said in How to play a specified RR group based on the distance between two notes?:
this will encourage the wrong usage of tucking too much into a single sampler
What would be your approach for an instrument that has a lot of articulations and a modulation chain that is the same for all the articulations. In this scenario is there an advantage to using 1 sampler per articulation?
My thought is that I would use a single sampler and separate the articulations into groups (with or without round robin), and switch the active group(s) for the desired articulation. In this scenario it would be helpful to label the groups so I know which one contains which articulation.
-
@d-healey Using one Sampler for each articulation feels clearer and safer
-
@CatABC But you'd have so much duplication. Imagine there are 10 articulations, and they all need the same modulation and effects.
With one sampler per articulation everything would be repeated 10x. It seems to add unnecessary complexity and performance overhead.
-
@d-healey yes I'm not arguing that there is a use case where it might make sense. My argument is that I don't want to incentivize people to cram everything in a single sampler by giving them the impression that this is a recommended workflow by adding convenience tools for this. Because then the next thing people will ask is how to make a FX chain per group or limit certain modulators to a range of RR groups and BAM we're back in Kontaktland.
If you realize as a power user that this is the best architecture for your project, then there's nothing against it, but then you have to live with the mild inconvenience of going a little path outside the recommended path.
-
@Christoph-Hart said in How to play a specified RR group based on the distance between two notes?:
the next thing people will ask is how to make a FX chain per group or limit certain modulators to a range of RR groups
Pretty sure I already asked for this too :beaming_face_with_smiling_eyes:
-
I rest my case your honor.
-
I think it's better to use one sample per one velocity for dealing with true legato, that way everything is in one group instead of having to deal with 127 groups, managing them an populating them.
-
@aaronventure ah so just use
setVelocity(targetNoteNumber)
instead ofsetActiveGroup()
? Yeah that could work and I also don't need to think about a solution for the UI problem of RR groups, so I guess everybody's happy now :) -
@Christoph-Hart said in How to play a specified RR group based on the distance between two notes?:
ah so just use setVelocity(targetNoteNumber)
This affects all velocity modulators further down the line - unless you use a global velocity modulator.
-
@d-healey If you put the script in the sampler it shouldn't affect its sibling samplers. If it's a global script, then sure.
-
@Christoph-Hart
When I press the key I get an error like this, what should I do?
-
@CatABC you haven't declared activeGroup.
Unlike the interface script where you can basically declare variables and constants wherever, with realtime, you should declare them in the on init part so that the note on function just needs to read them (as they would get destroyed after the function execution).
declare activeGroup in the on init part of your realtime script. Use reg, as it's faster than var.
reg activeGroup = -1;
-
@aaronventure Thank you very much, I solved this problem, but I have a new problem, how to play the correct RR group according to the interval?
-
@Christoph-Hart
Hi,Christoph, Thank you for providing me with the method,I tried using the script, but it seems like there is no way to change the group I want to play based on the interval? For example, I press C2-D2 and it plays RR48, I press C-D#2 and it still plays RR48,How can I improve this?And when my melody goes down, the descending legato should be played, which will overlap with the ascending legato RR group. This is a headache for me. Please help me. -
@CatABC
I think I found the answer, thanks a lot to everyone who helped me,I love you all -
@CatABC you know the rules, you gotta post the solution or the forum police comes knocking on your door.