Need Help With Glide knob |Mono-poly switch?
-
Same issue this guy got - https://forum.hise.audio/topic/1551/legato-issue :)
Post a snippet so I can see what is causing the error.
-
@d-healey Thank you dear david
Here is the codeEdit : While pressing the note down and Turning on/off , Last played Notes gets crazy Kinda freezing
HiseSnippet 1906.3oc4Y0uaaajDmzNLMV47g16xAz+baQQgbOEKI2lzOb+Px1RNpweHHImb9uJVSNTZQn1kX4R6pVDf6M3dD5qReD5iv8HbuAWmkKoHkhriTZZQQKsgj2Ymcleyryr6LzckBWHJRHsr2XvjPvx9u3zeBWMZ+QTF2pyAV1ugygALOvZuIgznHvyx1d8C0SZuwsrRd9ee0dz.J2ExIYY8DAyENhMloxo1swiYAAsodv.13Bb+QM53J36KBDwHPV2olUH08YzgvITMaq4XYe6VdLkP1WQUPjk8s1S3Mo+HwUbC+OgEwtH.zCpa0GEjgbaQfmFwZpV6OhE30Myfirrrc5la9qaL+64bLyiMkdta3MSlfjuhh9C60tI3U+kCuZKBdqU.d2x.u2xouqjEpxmQis+dJ0bzUeF3Yl0ZsMtiCo5GrYIB9ruHbhjMbjhrSs5ebE8meRxmeJ4.5kLOxi.Z.LYyRF1GLhEQ7YA.Q+sD.RjvWcEUBeFYhHl3R4DI3whTR1EwJjMEgx8pJjjwBOl+DiXPpwbOPRTi.hBjiiHB+jAGdxYjCANHoAjtwWDvbIGgQP7HfPiHgZJQi.OxEoRRul1ZbzOEGj1BTzTESvqP.FNujbIHivwjOLSKohrBQHMhoLUowujHB0qbKDzSHA3t3zEu8LtfPoXnjNV6ExMVOBimH9QhPzrFgxDMzqvXcxE.INB7iCpXDBxN4ocF7nSOa.o4ImSdZyd8Zdxfy2EYWMRfyBWBFgwFGFvPYiFmjxUSPavHiia0a+GgKp4dcNpyfyQagztyfSZ0uOo8o8HMIca1aPm8O6nl8HcOqW2S62ZaBoOngFXDwM3s8S1xP+oGnnrfno1+431bDBw.OxH5k.tc6BrKQ.RItXvzKeizHFZffOLwZQ1y8naS53S3BUERDBzOejRE9Y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j8qFTtmAJ204oX6MIERj.j+QxXrsnwo80nlu+5YecH+zx95PBW5WGxotJDBCv1.iBEQP8hRdt41o3bG.pX9rraHMCWZyqMZdE36NMxHtSQhco7YDFNdFIcLKOWz5+9Ulzo9.ZMdmF4hFq12ULcnaLVybRqa0Ktvbx6Tjr85+BeMK+t4s.85O29W9QQqubvcAdP6tuvqQ7Mc5qe+EPK9kP.dOVBF+a3EW9z3.UF0YSiNVvEgiDblawXpdfRxFNDlItYgFTSkh59rbJ2qQOH.nQERsduFGw3.Udbx8MuR9h5Kuu3l1udaGCbI5bexeLtBY8+zeExMmghGO96fc5dhXE1c6wTLuRW0F1obe7lFW.gJmCA5xssWSWVnYbsrtU5CbujA+e7Icx55w1oSVOaxeSzwXpqT7Mtlpt0od2IgBZ27j+sAa3brdLYZw1ZeCVnK6abc0wF2utk0hWwNq7J9vUdEezJuhGrxq3gq7J93UdEexMrB8ckMiUhwl3cjP2VIM4XamUoMF5a8yWVgLWC
-
@Natan-Rezaei
Yeah if you bypass the script while notes are still playing it will cause chaos. You'll need to modify the script to handle this use case. -
@d-healey Thank You Dear david
i Added a Line Of Engine.allNotesOff(); to the bypass button , but still no luck to get this up and running without that problem which turns the last played note more Sustainable , Any idea?Thanks
-
@Natan-Rezaei You need to add a button to the interface. That will be your bypass button. When it is active you can skip the on note on callback, just use an if statement. You can also skip the on note off callback, but you need to add a check in on note off to see if the note ID is not -1, and if that is the case you turn off that ID.
-
@d-healey Sorry Dear David , After playing a few minutes with codes , no luck with bypass button :(
Any chance to get a starting point?
Thanks -
Script Processor1:! onNoteOn() - Line 13, column 31: Event ID must be positive {U2NyaXB0IFByb2Nlc3NvcjF8b25Ob3RlT24oKXwyODR8MTN8MzE=}
Error pops up when you hold a note and play the second note for multiple times (staccato)
Also the glide only goes in one direction Only up or only Down.For example press and Hold nore C2 Then press and hold A4 , it will glides to note a4 as expected , But when you Release the note A4 on keyboard , Glides doesnt goes backward to C2 Where it started , To make it more clear , You can check it on A Synth like Sylenth 1
-
@Natan-Rezaei I'll do it for you tomorrow
-
@d-healey No Way :)
Thank You Sir David , You're A Legend -
As promised - https://raw.githubusercontent.com/davidhealey/HISE-Scripting-Framework/master/modules/monoMode.js
and for my patreon supporters there will be a video showing what I did :)
-
@d-healey Oh WoW
Thank You Thank You Dear David , You're Absolutely A Legend -
@d-healey Thank you Dear David , Script works Like A Charm :)
BTW , Is there any chance to Make the Glide in both Up/Down Direction?
I mean while you hold a note , Glide goes up bypressing a new key , and when you release that new key the pitch goes back to first note that still held? -
@Natan-Rezaei It can be done, but I'm not doing it :p
-
@d-healey Lol , Thank you Dear david <3
-
@d-healey for me it still not work even with new code.
Script Processor1:! onNoteOn() - Line 20, column 39: NoteOn with ID-1 wasn't found {U2NyaXB0IFByb2Nlc3NvcjF8b25Ob3RlT24oKXw1ODd8MjB8Mzk=}
and sometimes
Script Processor1:! onNoteOn() - Line 15, column 35: Event ID must be positive {U2NyaXB0IFByb2Nlc3NvcjF8b25Ob3RlT24oKXwzNTB8MTV8MzU=}
-
If you press the notes fast , Without holding a key , that message will pops up and the Player Ignores Some Of the notes.
The reason is becuase the glide goes only in one direction , It need to be in two Up/Down Direction -
I'm able to reproduce this error now. I'm getting another weird issue though that's causing hanging notes but they disappear if I add a
Console.print()
call, which makes no sense! I'll investigate this more. -
@d-healey Dear David Please Take A Look At Up/Down Pitch Glide aswell , I Can't Done That By My Own
-
@Natan-Rezaei What you need is a retrigger feature. I might look at it in the future but I don't have time at the moment.
Looks like I was wrong. The error I'm getting is in on note off.
Could you post a video so I can see exactly what you are doing when the error occurs?
-
@Natan-Rezaei Well actually it appears I do have the time :p while trying to track down another bug I quickly implemented the retrigger feature. It's on github now. Also let me know if this fixes the other issue.