I simply set secondary dynamic as velocity and give it a very narrow range (for example 1-2 for portamento). But there are couple drawbacks:
-
in CSS first note of a legato phrase uses the velocity for the attack. Therefore the playing technique has to start after the first note. You can also put a small negative offset for the first note, then the playing techique above it doesn’t affect it. (I don’t know if it’s supposed to work like that)
-
at the end of the phrase, you have to extend the playing technique couple of beats over the last note. Otherwise you will hear the release from the non-legato patch as EM switches off legato.
So in a nutshell, I’ve created playing techniques called “portamento”, “slow legato”, “med legato” and “fast legato”. Then in expression maps, I set the secondary dynamic velocity ranges so that the correct legatos are triggered. I’ve also added a pedal (CC64=127) to these playing techniques, this will trigger the re-bow in case of a repetition. Then in the score, you place the desired playing technique over the legato phrase and add correct amount of offset to every note but the first one.