-
-
Notifications
You must be signed in to change notification settings - Fork 270
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
Tuplets: playback and/or display wrong if p or r are set to 1 #1007
Comments
That's likely a bug. I'll research it. |
Thank you!
Von: Paul Rosen ***@***.***>
Gesendet: Dienstag, 9. April 2024 00:02
An: paulrosen/abcjs ***@***.***>
Cc: Dreier-Andres Wolfgang ***@***.***>; Author ***@***.***>
Betreff: Re: [paulrosen/abcjs] Tuplets: playback and/or display wrong if p or r are set to 1 (Issue #1007)
That's likely a bug. I'll research it.
—
Reply to this email directly, view it on GitHub<#1007 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AQNKUDK6PPPNQNBU4AQ3VIDY4MHVFAVCNFSM6AAAAABFVQLGJGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBTG4YTGNZYGI>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
The first example does look like a bug, but there's something I don't get. Isn't The standard says: In the second example, I guess I'm not up on my music theory enough to understand it. So you want the number "1" to print over the two "C" notes. But if I'm figuring it right, the length of the "C" isn't changed so the time would be the same as if you hadn't used the |
Hi Paul, Wolfgang Dreier asked me to answer your question directly, so here it comes.
There are several cases where music notation in given sources (often handwritten, sometimes also in print) does not add up to the expected durations. As long as this music is not played this does not cause troubles. In the moment this gets transcribed to abc-noation the music also can be played back. Now the durations matter (and I get complaints if the sound is not rigth). My aim in transcribing sources is to keep the music as seen in the source. A very typical example is X:1 often found, but obviousely | c6 ccc | counts nine notes not eight. In the moment something like | c6 ccc | is in a multivoice score the ninth note may cause a problem in synchronisation of the music following. At the same time I want to pass on the original notation so users can see what was there in the source. That is why I use the (p:q:r construct. It preserves the original note lenght as seen in the source but plays back the way I decided. By the way for | c6 ccc | I see at least the following possibilities: | c6 (3ccc | (acellerating the last three 1/8 to a triole) If I decide for | (6:5:1c6 ccc | I need (p:q:1
My usage of (3:2:1C3 is to allow keeping/following/displaying the duration of the historical notation in the black dots representation, while getting the sound representation as intendend/deduced. To clear up display I generally combine the tuplet notation with hiding the tuplets properties by using the I:tuplets mechanism - which is obviously not available in abcjs - at least no values I entered causes any change - and I still could not figure out where to find the manual. The problem is, that I got complaints about the (p:q:r notation, because it was not treated correctly by abcjs - but this notation is fully covered by the standard as you know.
Well, that is what it is. There is no limit set about the numbers and I use this feature of the standard in my work and need it to work.
The p:q of the standard states a proportion. 1:2 should give the same as 3:6 or 11:33. so, the lenght of "C" IS changed, it gets multiplied by the quotient of p:q. Not allowing (1:q requires the use of higer digits to achive the same ratio. The full usability of this notation naturally only comes together with a programs ability to display the ratio. But every program at least should be able to handle what is stated the standard. If with the limitations of abcjs this is to draw a (1, (3, or (11 on top of a tuplet and no ratio, so it is. As you know, the "r" in (p:q:r tells for how many of the following abc notes the calculated quotient applies. (3:2:3ccc and (3:2:3c4c4c4 or (3:2:3 c/c/c/ and even (3:2:3cc2c3 can be handled. Hope that helps, and please could you point me to the documentation of abcjs, especially the I:tuplets Thanks, |
We're facing some slight issues when playing around with general tuplets according to https://abcnotation.com/wiki/abc:standard:v2.1#duplets_triplets_quadruplets_etc
Example 1:
X:1
T: (3:2:1
M:3/4
L:1/8
K:F
V:1
cccc cc | dddddd |
eeeeee |
V:2
CCCC (3:2:1C3 | DDDDDD |
EEEEEE |
-> if r=1 the printed score is correct, but the playback is not as expected.
Example 2:
X:2
T: (1:2:2
M:3/4
L:1/8
K:F
V:1
ccccc2c2 | dddddd |
eeeeee |
V:2
CCCC (1:2:2CC | DDDDDD |
EEEEEE |
-> if p=1, display and playback are not as expected.
In this 2nd example we get error messages
Both examples work in EasyABC.
Does abcjs in general not support tuplets with p=1?
Thanks in advance!
The text was updated successfully, but these errors were encountered: