Would someone be able to help me with a simple script. Al i want to do is take all notes and turn their velocities down a certain number… say - 10… so all velocities are -10 less than they were played.
Instead of a scriptlet - which also uses space in the wiring view - you can place an additional MIDI In block and enable Merge.
This way you can route from the normal MIDI In to the additional MIDI In and in this additional MIDI In you use the velocity scaling.
So why need a scriptlet?