Mono, Legato, poly
-
is there a way to switch between Mono, Legato, poly ?
-
@tsempire Yes
-
@DabDab can you explain? thanks
-
@tsempire
This is very simple example to switch between Poly & Legato.const var Legato = Synth.getMidiProcessor("Legato"); const var ComboBox1 = Content.getComponent("ComboBox1"); inline function onComboBox1Control(component, value) { switch (value) { case 1: Legato.setBypassed(false); break; case 2: Legato.setBypassed(true); break; } }; Content.getComponent("ComboBox1").setControlCallback(onComboBox1Control);
I have used
switch case
but you can shorten the code instead.HiseSnippet 1179.3oc2X0kaaaDDdojWWKl1BmfXz9HgQePAH0PTMIsnAsQwRxoF0xVvxMtuErlbjzBStKA4RGKD36VOB8HziPuAsyRRIRZqnnpFmhF+ffl+18alc9StenzAhhjgDiZmLI.HFeJcvDgZb6wLtfreGhwmS6whTPnUJqcmDvhh.WhgQ0WnYXTaMRxe+4y1k4wDNPNKB4kRtCb.2mqx41u0Oy871i4Bmv8Kn8iZsuiTzV5IiQ7Tk1fDvbNmMBNjoUqBkXrdWWtRFNPwTPDpytR2ICFKesHU+Wxi3m4AZBax.7fRYSZOl641epuFQHFz94dd0TO+9zdbW9L94QfMSDXkaQwXfQkEAI6+APpRAHsVJjtKcfSHOPkKQim6P2WfOHCYXntHTR0kT4GqPaKQMDpc7YmC6EhDyrn9SZz3gV3GO3ollX3NRYcAKz5.XDSIs9AqjW+cFApRAi5ampv1nU4F0V5elbW4k1ncSuQzRjcfTfD02dlFZCMM4BOt.rFFKbTbovR+Zmof19PoWcmoF+P7J7hgGX9FSKKqnWyUNispmwC47FyZ3mNrHvx96S9dJD2IBTSiJ0Gx7h.7p0hOKDXm+zbqZ9VsREFeMivuck4UnK7NcS8Ak4KsYddmgYv0uoahmdgfvgREbjnt1UqYdko00EMb3bkkcVdP3bEqKtBWjg0Ew9mAgEBzIJhYekSoWe4RocRCMETTJ1WvUGE.Yz6I8b0op5ueyB.RVrEKELxPHppJoPXyrBgowQB2UWGLKrRRbgBMdZQ9k86vTroGFdt3cE.gJt1kL5.WfMlRqxpQ6.QmqjAI5l8nRL9jk7pub109aiZMIGCmzxmgxnFUPBtB7izMSSS2L6K8lXRTvk5Kh1S5hnhbydRako+ob03iAUHezHHsIvFYRJ1AnhQ02SMixeKH2rqzlZ7F6gWdolj5oAYBvzrRclzceDQb0jhSKtdmy0d6fsQAv9NRhVR3dWZecCk4i2JyAu5Fz2x3M6M+yncGNDbT4fcM5d+5BG57dGJakBk6POkcAjLRHAHakPOTF5a8BP.g5Xp8BVI32W1UBBV5UBNxQgP3jPlHJPFA1EO4qIqYQYc.Urnr5orJok181CcuB5sQqoLaVjYelnzggzkNod779Bj+3YcEL7AY.fdi6QQNnypicEKG5GiipNk6pFaWzvb1MKx9mXgt36hSoDzpKcVQwp+x0sEzeN6nr9s0ZSePK9+22qp5xA24DAM5eiUtwILb+.Onq3BvCmQkfw6gCkFxh8TS4VtNqmTHCFKE7RY.4iHJf845POWovMSx4b+VGCd.tVTNqup0A3xZrP8voULVXu7whE8d8kzT3ZoaNX8wwLlpeDMiw9VnBE6e9+mW5ufh8zaZk7ba8e+68wxXEWLpGC6Fn2.8vX+A3.TG.QrP.dQS2JMitglVCmAfvMg3uv+xDZqoMxDZOU3Gj6vm4DJekS5uEP2vXiDNneKR9OBTi1SSaMa8eJswNMH93XmW43nyo+ZL9LeaZtB17MqfMOZEr4wqfMOYEr4aWAa9tEZidh+yiUR+z7ejQ+tI+LLCizMfRJEH+M.R4ttL
-
thank you for your help where is Legato in the fx?
-
@tsempire Legato is a Midi Processor. Use my Snippet.
HiseSnippet 1179.3oc2X0kaaaDDdojWWKl1BmfXz9HgQePAH0PTMIsnAsQwRxoF0xVvxMtuErlbjzBStKA4RGKD36VOB8HziPuAsyRRIRZqnnpFmhF+ffl+18alc9StenzAhhjgDiZmLI.HFeJcvDgZb6wLtfreGhwmS6whTPnUJqcmDvhh.WhgQ0WnYXTaMRxe+4y1k4wDNPNKB4kRtCb.2mqx41u0Oy871i4Bmv8Kn8iZsuiTzV5IiQ7Tk1fDvbNmMB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3ZoaNX8wwLlpeDMiw9VnBE6e9+mW5ufh8zaZk7ba8e+68wxXEWLpGC6Fn2.8vX+A3.TG.QrP.dQS2JMitglVCmAfvMg3uv+xDZqoMxDZOU3Gj6vm4DJekS5uEP2vXiDNneKR9OBTi1SSaMa8eJswNMH93XmW43nyo+ZL9LeaZtB17MqfMOZEr4wqfMOYEr4aWAa9tEZidh+yiUR+z7ejQ+tI+LLCizMfRJEH+M.R4ttL
-
@tsempire said in Mono, Legato, poly:
thank you for your help where is Legato in the fx?
-
This post is deleted! -
@tsempire Load my given snippet in to HISE.
-
@DabDab I put it in the sampler1 and it seems to work.
-
@DabDab and also for the GLIDE how to do it?
-
@tsempire said in Mono, Legato, poly:
@DabDab and also for the GLIDE how to do it?
This thread may be useful for you..
https://forum.hise.audio/topic/6059/polyphonic-glide-on-sampler/9?_=1698318659816