-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
musesampler_overlapping_notes #21415
musesampler_overlapping_notes #21415
Conversation
41a90f5
to
6ade093
Compare
Hmm, shouldn't that rather be a track for each voice (incidently called track internally)? |
@Jojo-Schmitz It looks like it is more complicated... This is what I understand of it by reading the code of this PR: (@RomanPudashkin please correct me if I'm wrong)
MuseSampler's model: apparently within one MuseSampler instance there is a concept of "tracks", and for events on these "tracks" you can additionally specify a "voice index". So, a MuseSampler instance has multiple tracks, and each track can contain multiple voices. This results in the following mapping:
It's a bit overwhelming that the word "track" seems to have at least three different meanings now (one in (Personally I had also expected that we would just abuse MuseSampler's voice API by specifying |
d640ffa
to
baa7e90
Compare
fa1f8d3
to
525a11a
Compare
baa7e90
to
eeb0f28
Compare
Tested #15306 on Win11, Mac13.6 - FIXED |
@RomanPudashkin I still have some doubts about that optimisation of doing this for keyboards only:
|
As a harpist, the two staves are quite often used to denote what each hand plays, not always having anything to do with pitch ranges. The issue of the same note being played twice is also particularly prevalent on harp as once you pluck/strike the string the note will hold without interaction, leaving the string free for either hand to use it immediately. |
I agree - while multiple staves not common for non-keyboard instruments (well, besides harp, and marimba), when it does occur, it’s that much more likely to contain overlaps. Divisi parts are an obvious use case. Another might be SATB closed-score choral music if there is ever one generic “voice” sound covering the full range, or if the user substitutes something else. If an instrument has multiple staves for any reason, this is still a potential issue. But - thank you so much for tackling this! |
I would say that multiple staves ARE common for divided strings. |
eeb0f28
to
c03dcd4
Compare
c03dcd4
to
7f79a08
Compare
@cbjeukendrup the reason it was disabled for non-keyboards is not because we thought it wouldn't be needed for them, but because it just worked very poorly with non-keyboards... Fortunately, @konradglas (many thanks) managed to optimize adding tracks on the musesampler side, so we no longer need to disable it for other families |
Retested on Win10, Mac13.6 with musesampler 0.6.0.104 (and MuseSounds). |
Resolves: #15306