Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

what is the default legato behavior? #58

Open
squinkylabs opened this issue Apr 19, 2021 · 4 comments
Open

what is the default legato behavior? #58

squinkylabs opened this issue Apr 19, 2021 · 4 comments

Comments

@squinkylabs
Copy link

If you don't specify anything, what is supposed to happy when you are playing one voice, and the pitch changes? It seems that what sforzando does is turn off the currently sounding region "very quickly", the fades in the new one with what seems to be an attack of about 10 ms.

I know there are very elaborate ways to specify legato behavior, and I have looked at the tutorial (which, frankly, I don't understand). But this defulault behavior seems undocumented.

@DSmolken
Copy link
Collaborator

Tested that setting group and off_by to add self-muting doesn't do anything different to attack and release envelopes, and uses the default values in Sforzando, same as for non-legato notes. Added this at the start of the legato tutorial.

@squinkylabs
Copy link
Author

so if attack and release are both very long, and there is no off_by specified, and the pitch changes on a channel without the gate changing, then the voice is supposed to fade out with the long release time specified, then switch pitch and start fading in with the long attack time specified? I don't think that's what sforzando does, but I could be wrong.

@DSmolken
Copy link
Collaborator

DSmolken commented Jul 2, 2021

You do need off_by (or polyphony=1 set for the group) to get legato behavior, so with no off_by specified you will just get both notes playing at once. But if off_by is set to the same number as group, which is the typical thing to do in legato instruments, then as far as I understand, the "old" note fades out with release time being the fadeout duration. As soon as it starts fading out, the new note starts fading in. So, there's overlap.

I haven't done any detailed testing to investigate how this really behaves, but it seems to work like that. I've done some choirs with the fade times probably being around a half a second, so pretty long.

@squinkylabs
Copy link
Author

Hmm... I'll have to play around and see if I can find what I was asking about... Probably I was confused.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants