Need Legato So bad....
-
@Christoph-Hart We think that we have made some segway on how to get a good legato, but @Hasan-Tata needs some documentation and source code on how to manipulate and control the following:
- Group Settings
- Playback Position, Settings
- Sample Start
- Playback positions
In order to really do a good legato, we need to glide one note into the other at the second note's playback position some time into the the sample and not retrigger the attack portion.
Any code snippets would be appreciated.
-
That's a lot more complex than Kontakt's script which just used retuning. If Hasan takes a look at my more complex legato script in the snippets section it should have all the info he needs. To change the playback offset you need to use a sample offset modulator and add some start mod time to the samples.
-
That sounds good. Would you share your HISE snippet with me?
-
Here is an example of what the Legato should sound like. I've heard very few keyboard manufacturers or sample libraries make samples with such glide.
-
It's just in the snippets section of the forum under Synthetic Legato - easy to find :)
The porta in that video just sounds like it's retuning like the script I posted above, it doesn't sound like it's using every sample in between but I could be wrong. The retuning/pitch bending method is the usual technique for synths I believe while the in-between sample method is more common for simulating glides on real instruments which was my intended purpose with that script.
-
Thanks, but I already saw and read it.
It has only script code, and what I want is the whole HISE snippet.
I am going to make my own script codes to customize legato and so I want to know how to manage sampler with group settings and sample start points on HISE. -
@d-healey We are still new to Hise, so we don't quite understand completely how to apply everything to apply the scripts to Keygroups, Groups, Sampler, Offsets, SampleStarts...etc..
-
Ah I see, that's a fair bit more in depth and something I hope to cover in some future tutorial videos. But all the info is available on this site - that's how I did it. If you ask me specific questions I should be able to fill in the gaps for you :)
Sample start points is handled in the wave editor just like in Kontakt and you use the setModulatorAttribute function (if I remember correctly) to adjust the value of a sample start modulator - I think I used a constant modulator but I can't remember at the moment.
What group settings do you need to adjust?
-
We are struggling to find documentation on these specific things. We have the math and the algorithm part, but need to know how to apply the math to stuff like
- SampleStart
- Playback position
- Groups
- Playback
etc....Stuff needed to apply the math to.
-
Something you might find helpful for educational purposes is the hardcoded scripts - https://github.com/christophhart/HISE/blob/master/hi_scripting/scripting/HardcodedScriptProcessor.h - these are all written in C++, I translated the release trigger one to javascript as a starting point for my own release trigger script. It was also an excellent way to learn HISE script. The built in API documentation has all the commands that you should need. What in particular do you want to know about Groups?