"Morph" between Samplers
-
Group xfade is probably the most sensible way to go about this, but if you want a little more control over things, you can use the scriptnode xfader hooked up to your samplers gain modulation.
I made a post on this awhile back that might be helpful.
https://forum.hise.audio/topic/6778/an-approach-to-vector-synthesis?_=1681674887657
-
@modularsamples I think you can do this with a global CC mod too.
I showed a version of this in one of my early HISE videos. In it I use individual CC mods, but a global mod is more appropriate
-
@d-healey That's an excellent video, David. I ran across it when I was first researching HISE. Sample morphing is an important feature for me and HISE is great in this regard, with several ways to go about it.
Global modulation probably offers the most flexibility. Caveat being that the modulation is inherently monophonic.
Group xfade allow for polyphonic modulation, but AFAIK you can't change the samples within a specific group on the fly.
Doing it in Scriptnode allows for polyphony and sample switching. Though of course, file_player lacks several features found in sampler.
-
@modularsamples Awesome info, thanks! I haven't been able to get in the studio and test any of this out yet but from reading it sounds like using the sampler may have more options but you give up either Polyphonic capabilities or ability to change the sample?
Im curious because im using a variation of the CustomSampleImport which makes use of the sampler functions. I'd like users to be able to use their own samples with this effect, too.
@d-healey I forgot about this video! Im going to recap it and see if this option would work best for me!
-
@trillbilly That's my understanding of the situation. To be clear, I'm referring to how the modulation behaves, note playback will still be polyphonic.
One way round this is to duplicate everything and use a round robin script to cycle between "voice" groups. Projects can get pretty hard to manage this way, though it does open up some interesting possibilities.
HiseSnippet 4829.3oc6bs0baijcFzRPiHGOi0l0YSpTapBw09fbM1xDW3s3LYjrtLqpcjsVKGOSkolxEDPKITBDfK.nr0NkqJ+zxiIuk2xqoRdLuL+CRNcC.xFj.RfTPjfVGMUMl.8sSe59b596ft+Nzy0f3665ITo5atrGQnx8EO5Rmfy19LcKGg82Qnxegn1KcMIukXD358zdt1WJ7hK6o66SLEpTYoukluJUWVf82u7MuP2V2wfL7UBBu00xf7cVcsBF91C27OXYaumtI4MVc4xs1l6a35rsqsaePlVRrtPOciy0Ok7RcZ1tmnPkU10zBDkiBzCH9BUDegq4kGcl66cBy+as7sN1lPePV3HnhBe8dt1lTIl91WcAw6BKx64emv1mYYadXr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9pDRh7FZH3qh6VTifuPvWH3KD7Exh7y.VjWa9xh7KO4rH+mtLFu1h.iw+vaHiw+vaDiw+Pjw3QFieLFiWCYLdjw3mFFiWCYL9REiwaVRYLdSjw3QFiGYLdjw3QFiGIrx4LiwSC0Z6hHTqpHkwiTFOZUWdnL9NEgUsFRY7HkwiV0kGJiuPrpafTFORY7nUcogx36TuHrpahTF+bgx3EuYTFORS7HMwOaoIdwIml3QpgGoF9IttPtgG4FddtguoZmFpcZ0A4F97JbxsTUazPttBxM7H2vO6tnVpH4viWTK7hZUXWTKU7hZsXeQsTwKp0b9hZYVBoGdSY7hZUbmd.7hZgWTKDu.dQstqyRFZH+vifuPvWEF3KMD70hM3KMD707F7UIje3MQ9gu.OjmH3KD7EB9BAecWG7UCje3QvWH3qBC7UCD70hM3qFH3q4M3qRH+vah7CeAdWbPvWH3KD7EB95tN3qlH+vifuPvWEF3qlH3qEavWMQvWyavWkP9g2D4G9B7JSifuPvWH3KD7ExO7k51nqtgm66htn1TGAqxdCnaczYv7DOf9rjbLGeG5BqK.h3cFFwWQ7zKixTTF0onLZSQYZLEko4TTlVSQYZekkgheKZUBpcE7hC2k4TtRkXpZALwD9+kSl1vG
In the end, keeping it all within Scriptnode was the best option for me.
-
@modularsamples these are dope examples, thank you! This will definitely help me get my feet wet with Scriptnode. Im sure Ill have plenty of questions when Im able to actually dive into this.
Thanks again!
-
@modularsamples Ive started to jump into these. I noticed on the below snippet that while playing, the LFO Speed works. Once you release and play a new key/chord, the LFO Speed is no longer correct. It goes back to the original speed. Could you help me figure out how to get the LFO speed to work correctly?
HiseSnippet 3116.3oc6c07aaibEmx1iVYuI6lsMscQQPgNzCYAxZH9MM5gH6X6DiF6HD40YQOrISnFaSXJNbIohs2hBzK641+D5+E8ZPK581qsWR60dY+OncFNThj5CapuEsGu.az70aduYdu2L+djOoZdXSjuO1SnvpGdoKRnvc.0uzI3zmbJzxQXusEJ7i.FGfafNBYFf89xlXGrvVW5B88QMDJTX4mR6WgUW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fLfjKjOMSrnzAxIUPLnScpkt0.DL1mtNs9gZOZooSHimrf74W.eNeCDx0.m+mjcUr3OCPtNpT4vsxxym8xEIzLRbzLbzLbzLSJzLRbzL4LzLeZJzLRb3LyY3LRY6KEjdf3LEAyHM+AyLsSFRNXFNXFNXFNXl7MXF4a3fYJUkClgClYlAlQlClIWClQlClYNClQdwCLi7hIXlI4WBDYGLSQJhBw4CZln4lCmgCmgCmgCmoOvYTtgCm4db3Lb3LyN3LJb3L4Z3LJb3LyY3LJKdvYTVXgyLw95uh+rY3fY3fY3fYx2fYTugCl4yyIfYHVBbvL4evLpbvL4ZvLpbvLyYvLpKdfYTug+hloxAyvAyvAyvAyj2AynkG.y7COdjAy7fwELy6+Ee++5wWGXFBA3OYFNXFWjFGLStFLiFGLybFLi1hGXFsa3OYFMNXFNXFNXFNXl7NXF87.XlRUGYvLk4OYFNXlYGXFcNXlbMXFcNXl4LXF8EOvL52vexL5bvLbvLbvLbvL4cvLF2PdxLUW6O+r2uPkyLu4O7W9abvL2x.yXvAyjqAyXvAyLmAyXr3AlwXg8IyLw94si+U..GNCGNCGNyhJblYwbzDZ5geczuXcg+bjEVCQtcfgnZ.6SKWVT3cI8Nzjbm4WaZ192Ju9OFoQXLxivXTFgwnNBiQaDFi9HLFiqbLT3JQNfo57jJpsSnCyBEZ+SVKQ8W3+C.VGCON
EDIT: Also, when disabling a Waveform Generator, is there a way for it to also disable the associated global cable? Right now if youre not using one of the voices, you hear a silence where Waveform Generator was.
-
@trillbilly Put the oscillator in a no_midi container, this will stop it tracking with the keyboard.
As for your second question, there are, no doubt, lots of ways you could go about this. The simplest option is probably to have a second PMA setting the maximum range of the LFO. Then, when you disable the voice in your script, at the same time set the range value.
HiseSnippet 3331.3oc6c07ababEmqjFkUJ1w1MtsFEFA6gdvAvQXI2OM5AsRVRNB0RZgVUkfdHRi4NRhPjbXH4ZIkhBzK4POkBTfdt.8+fdo8PApQAJ50lCEEn8haAxodw+GjNCGxkj6tTKWteRqQAH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Ill dive into this today
-
@modularsamples This is my intro to scriptnode and its helped me out alot man, I appreciate you!
I see where you went with this and it works pretty well! Im poking around and was thinking, this there a way that when WAVE8 is turned off, the XFADER1 NumParameters goes from 8 to 7? This seems like a more precise solution but is it possible?
-
@trillbilly No worries. I'm a big fan of scriptnode, it's really powerful. You might find this repo interesting, it's just a few experiments that I put together in SN. Feel free to use as you see fit.
I don't think this is possible, not with the existing xfade node. This is a guess, but it might be possible to build your own Xfader with this functionality in SNEX, or Faust?
-
@modularsamples Awesome, ill check out the repo!
Im trying with the original way you described. I think Ive fried my brain. I cant for the life of me figure out how to script oninit functions to control scriptnode parameters. Im simply trying to use a button to change the xfade amount. Am I just going mad here?
EDIT: Indeed, I was going mad. I figured it out somehow lol