Changing Hise Legato To only 2 Octaves???
-
@lalalandsynth Lala How are You Man, You Doing Good?
It was so Long I Did'nt See You round :)Looks Like We Are On Some Train With Legato And Spicific Notes :)
-
if (Message.getNoteNumber() > 47 && Message.getNoteNumber() < 73) ==> then apply the legato script?
-
@lalalandsynth what do you mean?
if several pressed always the highest note is sounding or? -
@ulrik Thank you Ulrik, let me Check and See if I Can Do The Changes
-
@ulrik On a classic monosynth - it might have low note priority , so if you play C1 , you cannot play any notes above that , but you could play B0 and it would overtake the C1 , opposite for High note priority.
And yes, by the same token if you play several notes at the same time , say a chord , only the highest note would play.
Essential for modeling analog synth behaviour.
I guess the tricky part is that it has to remember note 1 when note 2 is played.
On on analog monosynth you could hold C1 , also play B0 - that now plays and when you let go of C1 would play again.
Without retriggering the ADSR/VCA.Last note priority , would allow either way .
Sorry if I am explaining something that is already clear :P
-
@natan Hi mate , yes doing great , took a bit of a break , working on hardware these days .
-
@lalalandsynth Ok, I think I understand.
The legato script above remember all pressed notes so I think it would be doable to have a "LowNote/HighNote priority switch, try it! -
@ulrik demonstration :)
https://youtu.be/6B14tqEW0Uc -
@ulrik
Ulrik
Can You Help Here:
Where I supposed To Place the Extra Range Code:if (Message.getNotenumber() > 47 && Message.getNoteNumber() < 73) ==> then apply the legato script?
function onNoteOn() { Message.makeArtificial(); if (Synth.isLegatoInterval()) { if (eventId != -99) { Synth.addVolumeFade(eventId, 10, -100); heldNotes.push(lastNote); } Synth.addVolumeFade(Message.getEventId(), 0, -99); Synth.addVolumeFade(Message.getEventId(), 0, 0); } eventId = Message.getEventId(); lastNote = Message.getNoteNumber(); }
-
@natan What have you tried?
-
@ulrik I Just Placed The If Statement Before The
if (Synth.isLegatoInterval())
It shows Some Errors aboutMessage.getNotenumber
-
@natan what if you combine all the if statements?
if (Synth.... && Message.getN... > 47 && Message.get....), have you tried that? -
@natan I see the code is misspelled, my bad, it should be Message.getNoteNumber()
-
@ulrik said in Changing Hise Legato To only 2 Octaves???:
Message.getNoteNumber()
Thank you So Much Ulrik, works Like A Charm Now
Just A Small bug:If I play notes Outside the If statement, Notes Gets Stocked :(
Take a Look:HiseSnippet 1157.3oc4W09aaSDF2toFsDn.CMg3iGRnoDozJaVYkoRYsMMcJh9RTSofzzzzM6mjbp12YrOGHB0+G4Ok8c9.7bmsicZcqRiXCIvpMQ2umW7umWtm6R+HgKDGKhLLqe9zPvv7irFLkKG2YLkwM5cfg4mXcDLhJEjAtQrPow9SCowwfmgoYsWnTxr9pF5m2978o9TtKT.YXbgf4BGwBXxBz969CLe+Codv4rfRZu4t8bE7NBeQBRnZV1FgT2KoifSnJ0Vwxv7C55wjhnARpDhMLWceg2zAiE+JOU+KXwr23CpENFCPGkBenv2SwXEpQmwLeu94AdrggoU+hzPszzvirNl4wlgWjN9Ts.RgEkyGlqbWzyoL8rWX5YThcqlxNjDBuDerpLGyTkiLALAeNl0iKAdLSNsb45eU59Pq9Lo63p46JUvWrP8tluYE+0r5NbH3JKH6pVG9yueqzebJU9PqALNn2RpIxmqWS9I5Df7BfCQpjpycro7OVzMkgK7lxSck3q+7HJONTDOmiG.AryEbUFo.7GigCife4LUUtLdGAMpRQu84GhAYk1LfJShzsK6EHR3x4ZOpsv0j6wvgUeWMbn1h0xTAkLu4VrGZkNdtPhhOOvxWO6dNdjMGek+rlUDLh.S.trmGYGx5O6YauVCElOMVdhPBYfZrwfumBKFAe4q1dXB2UUFHBtB8TdyVq032WqQ8iwWONxdi.5kvdQR1PlKi52rE555q0.+fMjzT2PuAKN8nE0l8nIJkd7iI41OBzT3jjf2.QMaQ9dxlaQtC4eGYqmPPNTWQBB9feoeW4A3WpClVHpRCsJ3W0SoB0y6BgeR.n1.jaRahicax5N11s1Vo5rTvFgIwialmkzBuB+W41pbWIJ2M0yMa0lnbMxmsu2VYqs4Jcxrn5Uk5J8JUKukTGp0UWubNbXd8TkBusb9N6LqUIOymEJ7Tmr+zbtjQTctpHOFAAhIP4LYVQqPEefORNFK+15RmpNTDzyxaY8fNsK5Se408w5NupM4oapSfJ2TJybmFkWdw+.+X3lrPuGYdGlAckpP0.s7Fg7sjRudwnifKiD99JYMvWaiqZPJIVMptZIYF1jqcbaBt8JAloHN2X9gQMVrYk3IA34xxRJJ383L4ogvr0okhbDaiYcTkgJhqxn5voB0Jfp3PyNobRcPSuCnRpZ.YFFpWHfyfTQn4AvD7Tuzwk0sN.huTJBeOd6p+Yl2WOmiCXAg9PW9DvGCRMG+LLpFRS7k4nyewfiEbQ3XAm4V9Tyy.YDazHHpL2qLf1SJwqiWf7ncOC7AZ4a.7U6dDdxMMBySvRlKbt2m8UY85KrRoKQ0SQ9uwshq8+yaEelHQx3iNlhMp+F9q0vYkCvKi5BHS3bbjLhYthZRP5Za05zaix8zK9K7ISniZsYlPmbguWdGAT2HwqcSGoo5kefFAiat922V25X0ZhigdXMZmk8F1FA3UJesqqJcuNlep1ludIr4IKgMatD17MKgMOcIrYqkvlu8NsQca98RjhfzshHP+t5iXLM6xoXmrtq23uItlshA
-
@lalalandsynth I got carried away in this, low-high-last note priority thing :)
try this
HiseSnippet 1994.3oc6Y0uaibaDeWausYUqaZJBJ5exJDTHk5SVx95kObbN+cNiXemfk6kBXbHfdWJsDlhTgKk0IT3Wi97zGg9nj2f1YH2U6JKcxNNWBRBpf.r1gyP9a9MePtzs0pHVZpR64Gd93ALO+eaPmwRSx9ITtz63C77+yAmv5QMJRmHMefgLh7LdujSTiZq4JM2L1auwCnoorXOe+k+BzL+vU7re91mtGUPkQrBQdduTwiXmv6yMERauyWxEhinwry48Ko8i243HkbekPMDf3xAM8FPith1i8bJp1RAd9+pCi4FktigZXod9qrmJdbmD0HoS+WxS4WJX3Cs75.SjS7QJQLhXTp29IbQb6bpH0yyOncAwrriXd+fS4w7IxKHneuc.RgEk4C+klFdKOE7ZUFdMKAuYgjWIDshCQvBqhGJfXyTnACAYCvUxoPywRCSlhwrRgnezg36EzlahRlOFWZNXDBH+Pfwr.6pAG1sKKxT.vUBN5e7CeT724V9eSPGtjYK5rK9ez9L4qn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HfpSaiLTXDMkQZ9o3OCcqMNxK518.lc2g8FeHFQONt1jV9Sl5h8OfvbqlMQuHzkjvbFANraRowwYzET1Ig78m7XHyHyfIy7jbCTiroHSmo1qRJcBuD1W5J2OcNXnyAcalLkK1x4hHEKwVskvtc.KCENIJB00JMy550LZLkwMdoU7lIq6uXHt7s5lh41XJl6y9+LmyMPm.9NYi7FvgzLv1sovLUG1GuZUXS7hQGLLMAGw1bCK1YhTlqjd9XoTihb5ntEXyYNqLOvBc3t41cq5101tpbqFrQzv9s0L7bmeIabZs5P4Qy5NrcO5aUBPZVe00rbH8cM1BlUDS+90pqbWMzErs71tHbbQAlELYOSxiZ8psvx.qhNtjbEabQhJRXtYY62ZU.Sl76L8EW46JA1oyBRgQEla4e4FjV1x0+b6aelaGCU5j5HCUvNYV81getm7hcMuSlISqEwMVUdyryFErSdSxsm4X+H+L8qKLSJzDi29saez6joxV36hpln1B3pLclse3s5q8Vo29LMWJo0L88ruC6sa7kczMA1tBa8U4lJkOJIdKJyej7iVJs85xOWYthvqzO88DDb+tFiH2KsWRQk7XI27hAL4a5xM7xdSe7RZN9.pghWtPlLPuAL37lHD7OfcMOh4tpgvfCXoWYTCr5lc5XO+esI69xxtHB7kH83w3cFWzS060EWXyGry3xOLBeMhIB92WtSh8kGJT4y2AN.sZT9wnAX8tAva7QJD7yfaAcp6tILGic38GHXGJulI.R2hw+.vxcoCElboSeIempjpAIJIOp7MfcFyn485wzkw9bcncMFfxJj796bFSvnkuMuOXmSf2NhpAdh8.4hVemuGq4Fu9SAN3RvZJxOeu85k+k8sW6tOndvKsq4Pcd.bVtNpg5HFr5Rna.1KyeIrqi64l3ytaMVFae3+BexFrE9re1fsxG7Gk0nOMRq95HWWZLO8crR.+VZ++JEFbJ9LokmsyMXWPyFM8vMd95nHjheDzrc91rwCvlMe.173GfM+sGfMO4AXyG8.r4iWnM3MHu6PipuqjCDz9P61Y99GJoP1qMS26+we6NjC
-
@natan Yeah, you have to fix that, maybe you should treat the keys outside as real note on & offs, and have the
Message.makeArtificial();
inside if statement? I don't know, you try and let us know what you've tried and how it goes.
And consider also the note off callback, it must be treated the same way I guess
-
@ulrik Definitely will be trying this ! :)
-
@ulrik said in Changing Hise Legato To only 2 Octaves???:
@natan Yeah, you have to fix that, maybe you should treat the keys outside as real note on & offs, and have the
Message.makeArtificial();
inside if statement? I don't know, you try and let us know what you've tried and how it goes.
And consider also the note off callback, it must be treated the same way I guess
:( That Makes Things worst,
Can't useMessage.makeArtificial();
Inside The If Statement :( -
@ulrik I Just need this to Work Inside The Range.
and Other notes work as Normal.Also i Noticed If i Held a Note inside The range, and By Pressing Another Note Outside The range, It Still Does The Legato, I Just Dont Want That
-
@natan Why not? Show what you've tried