Legato/glide pitch to high
-
@d-healey said in Legato/glide pitch to high:
HiseSnippet 1667.3ocyX8taSbDD+tjbtXW.AT9P+Rk1F0O3HEJ1IAnPDBm+hboN3FmlVopJzl6VauJ2s6o61KEWDR8MnuF8i8QnR8EpOAscl8N6a8EmfiIEvDg77282NytyLqaGIcYwwxHK6xGLHjYYeUmNCDp9a0mxEVM21x95NsnwJVDIk0lCBowwLOKa64eJxvt7BV5O+8S1j5SEtrbVVVGJ4trugGvU4ba23Ybe+codrC3AFZuViltRwVReYBfm4cpYERcOl1isGEUaNGK6R63wUxnNJphEC5rozaPm9xeVjp+g7X9Q9LjntUGvQors1pO22q8v8ZrkksS67c97o67a6zh6wGwOOBbCs.RtElw.64NOHU+B.IaCHsPJjtoSG2HdnJWBhmO1oo.RHcoPn1DJo5ZY+WNaIAEDpuLfdLa2HfXjAUuesZKSf+ao0qToR2DgqhKEDoXOoh8bQ0kp7pJkq75Jjhh51chxvUJR56yhlnXLAGcdFVUjDbDKZYxIT+D1HEgHv3g0RSWX0MciannTzTvUOOjkQuqz2CCW32OcRvJKxAe66ZtMUQw7RFOPuPVjhivwda1IvA6zrTYmsYwGqjgvQ6SkBgCORuDepZ7ST3UmLAP7XrzHlqDwb0.yqVWfiY0N2iYSKDuoSatxs+jw3bS.iPj5+CLlc47ZN6zsKyUkCvEb18Gl0ahS+x+YoK+sb5nhXz.tnWGZPHbbWigJNYT0uLpKFN00EaGw7kTuN7ewPs+rwlIPLJZbt+QC8RsQfLQL1Zkg78YgLpBRyF1bkF6u+SijIgEs5FMzGJNHBpKCgBy83yELHVqL2iaEIii6BaGsuhME0NIpGFqx4rO6DVT7371KI.x2BAyGL1wdd7VYLCyub2VTUD+klZqWkZGP04XnYgltdA5UJPuZA50JPeuBz2u.8CxoSCnsng3ICrYUgRXWY5JgANnME1xFZtIu2HmmxY7xGFpNJlqwkQqwNLkBRYwF5NgdPkdOzVr1kTawOIiaNhpOo1iy86KLp+XLS88bOU+pqj0PLh0C5MQdLo15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zBoI0KLMA1WFdj4KbcG2UmxvUlUCWcVMbsY0v6MqFd+Y0vGLqF9UuYCweCfMRTxfzdGVVsZuS5oP6cxOEZ8e7W3GKN
err no it doesnt:
Script Processor2:! onNoteOn() - Line 13, column 22: NoteOn with ID150 wasn't found {U2NyaXB0IFByb2Nlc3NvcjJ8b25Ob3RlT24oKXwzMzh8MTN8MjI=}
Script Processor2:! onNoteOn() - Line 13, column 22: NoteOn with ID150 wasn't found {U2NyaXB0IFByb2Nlc3NvcjJ8b25Ob3RlT24oKXwzMzh8MTN8MjI=}
Script Processor2:! onNoteOn() - Line 13, column 22: NoteOn with ID150 wasn't found {U2NyaXB0IFByb2Nlc3NvcjJ8b25Ob3RlT24oKXwzMzh8MTN8MjI=}
Script Processor2:! onNoteOn() - Line 13, column 22: NoteOn with ID150 wasn't found {U2NyaXB0IFByb2Nlc3NvcjJ8b25Ob3RlT24oKXwzMzh8MTN8MjI=}
Script Processor2:! onNoteOn() - Line 13, column 22: NoteOn with ID162 wasn't found {U2NyaXB0IFByb2Nlc3NvcjJ8b25Ob3RlT24oKXwzMzh8MTN8MjI=}
Script Processor2:! onNoteOn() - Line 13, column 22: NoteOn with ID162 wasn't found {U2NyaXB0IFByb2Nlc3NvcjJ8b25Ob3RlT24oKXwzMzh8MTN8MjI=}
Script Processor2:! onNoteOn() - Line 13, column 22: NoteOn with ID162 wasn't found {U2NyaXB0IFByb2Nlc3NvcjJ8b25Ob3RlT24oKXwzMzh8MTN8MjI=}
Script Processor2:! onNoteOn() - Line 13, column 22: NoteOn with ID162 wasn't found {U2NyaXB0IFByb2Nlc3NvcjJ8b25Ob3RlT24oKXwzMzh8MTN8MjI=}
Script Processor2:! onNoteOn() - Line 13, column 22: NoteOn with ID162 wasn't found {U2NyaXB0IFByb2Nlc3NvcjJ8b25Ob3RlT24oKXwzMzh8MTN8MjI=}
Script Processor2:! onNoteOn() - Line 13, column 22: NoteOn with ID162 wasn't found {U2NyaXB0IFByb2Nlc3NvcjJ8b25Ob3RlT24oKXwzMzh8MTN8MjI=}
Script Processor2:! onNoteOn() - Line 13, column 22: NoteOn with ID162 wasn't found {U2NyaXB0IFByb2Nlc3NvcjJ8b25Ob3RlT24oKXwzMzh8MTN8MjI=}
Script Processor2:! onNoteOn() - Line 13, column 22: NoteOn with ID180 wasn't found {U2NyaXB0IFByb2Nlc3NvcjJ8b25Ob3RlT24oKXwzMzh8MTN8MjI=}
Script Processor2:! onNoteOn() - Line 13, column 22: NoteOn with ID180 wasn't found {U2NyaXB0IFByb2Nlc3NvcjJ8b25Ob3RlT24oKXwzMzh8MTN8MjI=}
Script Processor2:! onNoteOn() - Line 13, column 22: NoteOn with ID180 wasn't found {U2NyaXB0IFByb2Nlc3NvcjJ8b25Ob3RlT24oKXwzMzh8MTN8MjI=}
Script Processor2:! onNoteOn() - Line 13, column 22: NoteOn with ID180 wasn't found {U2NyaXB0IFByb2Nlc3NvcjJ8b25Ob3RlT24oKXwzMzh8MTN8MjI=}
Script Processor2:! onNoteOn() - Line 13, column 22: NoteOn with ID180 wasn't found -
@Lindon I'm not seeing any of that.
-
@d-healey said in Legato/glide pitch to high:
@Lindon I'm not seeing any of that.
press a note , press another, release the second note, press the second note again.....
-
@Lindon Yup I see it now. But apart from that it works :p
-
@d-healey said in Legato/glide pitch to high:
@Lindon Yup I see it now. But apart from that it works :p
yeah apart for it not working properly - it works.
Except of course its also not doing the press note 1, press note 2 - glides to note 2, release note 2 - fails to glide back to held note 1.
-
@Lindon I don't think a retrigger mode is intended in that script. The note off is just resetting the ID.
-
@d-healey there be the problem then...
-
-
@elemen8t said in Legato/glide pitch to high:
yes I have the same issue, how can I fix that?
The script needs some work.
-
Fixed
Content.setWidth(200); reg on; reg lastId; reg lastNote; const knbGlideTime = Content.addKnob("GlideTime", 0, 0); knbGlideTime.set("text", "Glide Time"); knbGlideTime.set("mode", "Time"); knbGlideTime.setRange(10, 100, 1); function onNoteOn() { local n = Message.getNoteNumber(); local eventId = Message.makeArtificial(); if (isDefined(lastId)) { local delta = lastNote - n; Synth.addPitchFade(lastId, knbGlideTime.getValue(), -delta, 0); Synth.addVolumeFade(lastId, knbGlideTime.getValue(), -100); Message.setCoarseDetune(delta); Message.setGain(-99); Synth.addPitchFade(eventId, knbGlideTime.getValue(), 0, 0); Synth.addVolumeFade(eventId, knbGlideTime.getValue(), 0); } lastNote = n; lastId = eventId; } function onNoteOff() { local n = Message.getNoteNumber(); Message.makeArtificial(); if (!Synth.getNumPressedKeys() || n == lastNote) lastId = undefined; } function onController() { } function onTimer() { } function onControl(number, value) { }
-
And here it is with a little envelope attack "fixed amount fiddling" to get a more legato ish glide...
HiseSnippet 2154.3oc6Z8taabbD+njNkPlPgjzfh9kBrgnefDP1ljVxoIBFlV+yP0QRrhpNsnnHX0cKIWn61k8t8Tspi.5aPeM5G6iPA5KPeTxSPamYui2s2oizzzNostlVvfytyr6ryL6LyuUpefzgEFJCrpT87qmvrp7g1CtVnFu2XJWXcz9VU1v9XZnhEPhGZ2qmPCCYtVUpr5SvApTcMK8mu6Q6R8nBGV1PVVOSxcXeE2mqxFseumx87Nj5xNm6av8V8NxQJ1S5Ii.8YU61VSnNWRGwNghrshsUk0OvkqjACTTEKzpxZ6JcudvX4ePDy+y3g7K7XHQGqAvBEO7gROWTiwuas2Xtma+om6PKXQ6mYEVM1J7o1Gyc4oimYM9H8DjLILsGUVIu5sZN0qio501P8JQkpXnRqEqRer8.m.9DU1Ln97A1GI.myPJX1MUkXdsp72s2SBLHT20mdI6v.fHUflOnc6MIv+0ZmZ0pMLR3n3RAQJNQpXmJZ1p1KpUs1M0HEmZ3vRmC2o.omGKnzoQmcv7DroHx+BVvljqndQrTFAKPdyp8rMqldcm3CtAiRwQBt5zIrD5aa3sRrVv29UGsOUQQeQxX.eSXAJNpBU1mcEDXG6YpZuOK7RkbBDZeK2FDvHci7np7QQ3UmjI.aPNWG5eDgb00lWsJFZs1hEZkE4W5ocAU2O1tOW4Ltb8ckRzWvp88s9lbQst8ACGxbTYJ6Z1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, the script is fixed and there is no error anymore. But it is not working for me, there is no Glide effect.
-
@Lindon Sounds really awesome! I sadly need it for the sampler at the moment and not for the sine wave generator but nice work. :)
-
@elemen8t said in Legato/glide pitch to high:
@Lindon Sounds really awesome! I sadly need it for the sampler at the moment and not for the sine wave generator but nice work. :)
the script doesnt care where you put it - so just load it into a script processor in your the sampler...
-
@Lindon oh damn ur right. Thanks very much sorry I am new to this :grinning_face_with_sweat:
-
@elemen8t no problem.