Legato/glide pitch to high
-
-
@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+0ZmZ0pMLR3n3RA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DxeSu7uKvPtmeHbIXxQ9PDFheF5SARIFWfJ7RnJtGWbIy8bo9U9wBC5V2SKLT1SKjBE9s5mVn66dZg28zB+O+SKT.BrcoPfW40BB7OH6gO0IP9MNwo3wX42WOBbtE5+lapZeLRS5LMutsc661Fykx+FGGzbemNVVkKS2kPl6uDxr0RHy1KgLOXIj4yWBY94yUFDX3iiTR+3qhv.8OH98BpbP16EX8uwNdOnA
-
@d-healey Thank you very much, 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
-
@elemen8t no problem.