Polyphonic Glide on Sampler
-
@ulrik hey actually i notice that when i add this into my project the midi modules no longer work. transpose, arpeggiator, legato, nada. whats the reason for that and is there a workaround?
-
@Adam_G said in Polyphonic Glide on Sampler:
whats the reason for that
I can't remember the details of the script but it's probably doing something with artificial events which will prevent the events going on to further modules. You could try changing the order of the modules and see if that gets around the issue.
-
@d-healey yea its just in the note on and note off
noteon:
function onNoteOn() { Message.ignoreEvent(true); local nn = Message.getNoteNumber(); local id = Synth.addNoteOn(1, GlideTime.getValue() ? nn + GlideAmount.getValue() : nn, Message.getVelocity(), 0); midiList.setValue(nn, id); if (GlideTime.getValue()) Synth.addPitchFade(id, GlideTime.getValue(), - GlideAmount.getValue(), 0); }
noteoff:
function onNoteOff() { Synth.noteOffByEventId(midiList.getValue(Message.getNoteNumber())); }
i also cant add a midi player to the project without getting a nasty stuck note every time its used
-
@Adam_G Yeah it looks like that script won't be compatible with other MIDI modules in the same sound generator.
-
@d-healey ahh i really like the sound of the effect though haha. do you know if theres any other way to achieve the same thing?
-
@Adam_G Can you duplicate the sound generator and have one with the script and one without?
-
@d-healey not really feasible due to the project id like to use it in having numerous various sound generators. it would need to be a global effect
-
@Adam_G what about bypassing it when a conflicting module is enabled?
-
@d-healey thats a good idea but im not sure how to do that when the script isnt a module, its in the note on and off. how would i do that?
-
@Adam_G Not sure what you mean, the glide script should be a separate module
-
@d-healey right but this is done without it. have you taken a look at the snippet?
HiseSnippet 1379.3oc0X80baSDD+jStNXWZgxzA5iZ5SJSCdrgRn.CSbiiSGOD23IJIvSTtJc19lHcmP5TZcYXJOxa7BeU34xGAlgOA7MneB.1Smr0YGkfqIEZ0Cdxt29me2d6t2doerviljHhQVUOXbDEY8lX2wb4n1iHLNp61HqqhuW.ym14wjvn.JZqwQjjDpOxxZk6ojwp5pnrumu4Vj.B2iVvBgNRv7n6xBYxBt8a8ErffcH9zCXgFRe6Vc8D71h.QJfmUvMPQDuiICo2mnDqBFYcoN9LoH1URjzDj0paI7G6NR7HtV9iXI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KcCcWoDF2ufy0asOMfRLRZe7O2ZWHYiD2K6NkkJVz7Edv6ROutAVCW6rwe+2bts5hctc9Y9WHMrW4kaCaqJFf7xZP9V3CHObtzrqo4YWZVVkWfrrsXQh.RbYWE8MGd3uLeBWqmdpDNXDEsPYHJaVK0yPyEyfYG7suS8Y+NYO2F8R2P8meR6LZ1tOgdKCZ3mA2xPdzEWZbkELe38xSie8JK9F3Im.uxAarF10Tu5NQRfK8zuReBYyycBIUZ4yLRauvRH9+dXo8EoRFeXOBTlplsGdknKLihGE7NmSCTOayphZNCMcCEsdHEteFgZp+7EapnsxWr4jE+OwGgDuXwC7zubSUn8FYbf8MO6+QUUbOEscy4erFR8f.1C77l0TmRwOXYU7CWVEu8xp3GsrJtwxp3GurJdm+YEUCCd2ToHT2IAg50uit2tUGtpQeVEA5ukiWEyF
-
@Adam_G I'm not at the computer at the moment. I'll take a look this evening. But the glide script should not be included in your GUI script - you should defer the callbacks in the GUI script
-
-
@Adam_G said in Polyphonic Glide on Sampler:
@ulrik hey actually i notice that when i add this into my project the midi modules no longer work. transpose, arpeggiator, legato, nada. whats the reason for that and is there a workaround?
I need to see an example
-
@ulrik sure check out the same snippet with a global transpose or arpeggiator added, neither work. whats the solution for this?
HiseSnippet 1745.3oc6Y0rbaaCDlTxHSjbrisallbnG3jSxSb0XkjleZmNVVxxot1JViksSN0TXRHILlBfgDzwJc5zdL25k9pzyIOBcl7Dz2fbpWaWPRQAIQ6PqjzzlFcviwhcW7gE6Br6xFtbShmG2USO2t8bHZ5W.0rGSzoZGLkoswZZ5yhtmM0hT6XbWGahVkdNXOOhkltd16I4QO2TZA+d0JUv1XlIY.IMs84TSxVztTw.pMJuI01dcrEYWZWEtuY4ML4rpbatOfmrnk0bvlGhaStOVxVFjl94pYQEb2lBrf3ooOUEtUulc3OgEx+9TO5A.HgAkzZBJJj75baKIhk+uV0NTaqF822dZZ5nFCrBYCsBWBUmZQioOvZLWvDFCjP0dnm4zfWoIDdYUf2TgvadTSSWp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ywhPIiOpGAVnpJYQ8M+fS3snwr5Dnpdol5TZc6VIUyLfxsiZnpaIty1Ie0FUmsS57Zyb3Rr7EekkthX09kUij.wVdzORr53dp1lsmmNK0Kl7UVV4M0bJtSUU7dUUw2upJ9AUUwOrpJ9QUUw+3Uqn5p6cCkBW8wBHTu9cidyECijeYAvNPz+2dD5Kt
-
@Adam_G said in Polyphonic Glide on Sampler:
@d-healey i understand, thanks, but check out the post above in this thread from @ulrik and the issue im having with using it
I've looked at the snippet now. The glide script needs to be a separate module. Don't do any real time MIDI stuff in the GUI script. Once it's in a separate script you can bypass or enable it as needed.
-
-
@Adam_G I'm glad it worked!