Slurs don't always work.
Mostly, slurs and ties are working beautifully for me. but sometimes I do a slur (stringing together multiple notes of different tones) and they still play as single notes.
I have tried so many different approaches to making this slur work, even deleting all the notes in the measure and re-adding them so I could do the slur in note entry mode (and with Ctrl and Shift in edit mode)
Am I missing something or is this a bug? Measure # 63 in the attached file.
Thanks in advance.
Attachment | Size |
---|---|
Alle, Alle, Alle.mscz | 16.78 KB |
Comments
As I already tried to explain in https://musescore.org/en/node/3531#comment-820331: in MuseScore there is no proper playback for slurs, or only a very subtle one (a smaller gap between the notes, for some instruments). Namely all notes still have an attack. Quite normal for e.g. Piano, but wrong for e.g. Flute, this is a current restriction in MuseScore's playback
In reply to There is no playback for… by Jojo-Schmitz
Hi Jojo,
I would like to peek at the sources trying to understand how this would be implemented some day. Can you point me at some source files/headers, or functions inside, that would be affected by this kind of change in the playback? just the name of them.
In reply to Hi Jojo,… by mdi1972
An implementation would need to know the difference between e.g. a Piano and a Flute, and skip the attack for the latter but not the former. Or have different samples in the SounfFont for normal vs. slurred. No idea whether or how that could be done
In reply to An implementation would need… by Jojo-Schmitz
Thanks, I prefer the first one approach. As said, I would like to know which files contains the functions/code that would implement these changes. Do I have to peek over all the MuseScore sources anyway?
Maybe just understanding and checking "rendermidi.cpp" ? I see this code there (https://github.com/musescore/MuseScore/blob/master/libmscore/rendermidi…) :
void Score::createPlayEvents(Chord* chord)
{
int gateTime = 100;
.
.
In reply to Thanks, I prefer the first… by mdi1972
Not sure, but libmscore/rendermidi.cpp might be a starting point
In reply to Not sure, but libmscore… by Jojo-Schmitz
Yes, thanks, just peeked and posted about this one. I'll read about this. And instrument.cpp I guess..
In reply to An implementation would need… by Jojo-Schmitz
Jojo,
Is it possible to redefine gateTime for (for example) for the "Strings" instruments in instruments.xml ? I see other instruments gatetime are tweaked via the Articulation section or explicitely.
Please, can you or any developer explain about this? if for example strings plays with a default gatetime < 100, would it be possible to tweak instruments.xml to put it to 100 for this instrument?
In reply to Jojo,… by mdi1972
Hello? maybe did I didn't asked correctly above?
In reply to Hello? maybe did I didn't… by mdi1972
Sorry, I seem to have missed the question.
100 is the default anyway. Changed to 95 for (some) flutes and piano, and when using articulations
In reply to That is the default anyway… by Jojo-Schmitz
Hmm, thanks Jojo. Well, no gain then from "this route". I'll research more ;-)
In reply to Hmm, thanks Jojo. Well, no… by mdi1972
I wonder what setting it to e.g. 105 might do? Overwrite the attack of the next note, maybe?
In reply to I wonder what setting it to… by Jojo-Schmitz
Thanks for the tip - I'll experiment and see...
In reply to Thanks for the tip - I'll… by mdi1972
Jojo,
Nothing, I tested higher values of gateTime (from 100 to 140) by means of direct edit of the .mscx "tenuto" articulation gateTime (sample attached, where the violins and cellos (Strings instr.) have slurs all the measures and an explicit tenuto in their last 2 bars) - and the audible result is that the note duration is lengthened by a rate, something like an "echo", or reverb effect (seems the "noteoff" event of the previous note is delayed).
But the next note attack is clearly audible, it's not supressed of course.
Well...
In reply to There is no playback for… by Jojo-Schmitz
Thanks Jojo - I actually misinterpreted your other reply, although I see now what you meant. This explanation, and some of the programming notes here make it much clearer what I'm hearing. I've got some slurs that kind of sound like they're working but it is just timing combined with an aural illusion.
I appreciate you taking the time to answer again.