Reverse one Round Robin?
-
Is it possible to reverse specific round robin inside the same Sampler?
I'm trying to have a button that could toggle specific round robin to be reverse.
-
@Gab I think you can toggle the reverse button from your script, but I don't know if it's safe to do this during playback (I suspect not) but give it a try. If it doesn't work then either use two samplers or reverse that round robin set of samples outside of HISE.
-
@d-healey I see, I tried working with multiple samplers but it wasn't really successful.Do you have an example on how I could make a working RR with multiple samplers?
But yes worst case scenario would be reversing the samples before!
-
-
@d-healey Everything seems to work fine but there's always a warning error for the OnNoteOn that I can't seem to find the fix for. Would you mind taking a look?
HiseSnippet 2512.3oc6b8tbaiaDmx1LMVWRZy06C8KsChl1ajR74S+KNowIMJ1w9pmd1wikyM2bYRuAlDRBioH0.B5X2L40nOG8QHu.8c4dCZW.RJBBQYSoyI2kDpOHK.r6he6hEK9IPauOyyh366wLJU9vyFQLJcMytm4xGr4.L00XmmZTxzrMiYrwYiv99DaiRkV7aDCUZ4kLju9oGuA1A6ZQR5xv367nVjukNjxS5c+N+Cpiy1XaxgzgJR2tyNVdta543E.vXQy5FivVGi6S1CKDaASi+N1efQoaaRt+Z+00HXabSLYMbilqgaStWiF18ZSVqYi6SNpEtN4n6gMJcksrobOVWNlS7MJszFd1m0cf2qbCmfui5SOxgHZzvnKLygcusmisvEE8Zr4.pi89wwGeCHRreRzZwvn0WXtK0lNt+jn1uSN.JQC0.XoERCuESAuFpvqtB7x.RkTfzRgP5llcsXzQ7jQD34yL2wkSX8vv5jJTBk0nzaM2zCDvku5P7wjsYPiwJTcs50WAAuUa8dAtVbpmKxycOON4YtUqU90kWt7aJizGpWuLGSLMLOGGBKygEoFrySwptACOhvVAcB1IfLVPv8SGSMmdLUcI2JzqUDzycGWJ+YiHtSKQvHJTAw+khPEHJWF8uQTzei.N2y0fBA4kMCazvPBY0cNFyf5M+4odqedp2NC0e9NOEywhrvn.BDjFQXbpH9W5ojSfZ.g4jKa9Th+wbuQxH1vQdthvWokyQL6zjobmNmMtwac57JpMePxn60Y.g1efRAmm1g5uKgi2Gy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nONXJr3m7LENuP2Mh3If5JtXzekuNeMS4IaHAQjeof5AdAbffQ7g7l.Sft.6GKhJefED0YCaWOlBeWhqsrw+CdEMXiXxChAaDOngUro.eK5yxu5XoEiteEAAXGfVhiZJsOvwR.I3.+4fmXyBdhE7DSySrYAOw2E7Da9A.Ow7ckWeZySrYAOwBdhE7DK3I9IEOwVE7DK3IllmXqBdhuK3I1pfm3GE7DaUvSrfmXAOwBdheRwSrcAOwBdho4I1tfm36BdhsK3I9QAOw1E7DK3IVvSrfm3Gv7Deefx2GywPrEy6Gi9yKR9WeurGHR3J+WXzxl6JZiZL4ufUCgyk+QKqzlZBEaNuJ1ZdUr87p3cmWEWadU7dyqh2+hUTPa5IAbuggErML1c+sBSxKs03j7EM9+hMyRH.
-
@Gab That's a weird script.
timerButton
andisTimerEnabled
seem to have no purpose.
The values inactiveMuters
never seems to be changed
First time I've seen ado
while
loop in HISE - not that there's anything wrong with it, if it works it works.I get the impression you've mashed a few different scripts together?
-
@d-healey The timer is there to be able to play chords with only one sampler instead of shuffling through 4.
And yes I basically provided part of a script to an AI and it came up with all the buttons and timer/randomize functions. Thanks for taking a look David!
-
@Gab said in Reverse one Round Robin?:
The timer is there to be able to play chords with only one sampler instead of shuffling through 4.
But it's always false.
@Gab said in Reverse one Round Robin?:
I basically provided part of a script to an AI and it came up with all the buttons and timer/randomize functions
AI is great at helping you write your code faster, but it's not very good at writing code for you (for HISEScript I mean, with other languages it can do surprisingly well, but you still need to understand the output for it to be useful).
-
@d-healey Yes you're right, I guess the way the randomizer work made me think it was working.
And I totally agree, it's getting way better than before though. I was able to pull a lot of thing that worked surprisingly instantly, just with a weird script haha