seisiuneer / abctools

ABC Transcription tools based on abcjs
MIT License
48 stars 25 forks source link

Ties across a bar played as two notes #12

Closed gitonthescene closed 5 months ago

gitonthescene commented 5 months ago

First off, thank you for this amazing project. I only discovered it a couple of days ago and am having a lot of fun with it.

I tried the following transcription with the online tool and when I try to play the wav file it looks like the G sharp that crosses the bar is played as two notes rather than an extended single note. It seems to be unrelated to indicated accidental on one side of the bar.

I have some programming experience so I might try to figure out what the issue is but I thought I'd post anyway so it doesn't get lost.

X:0
T:3 on E
K:E
K:clef=bass
Q:98
.E,,z .E,,z .E,,z .F,/.=G,/(^G,/|G,).E, .B,,z/.C,/ .=D,/.C,/.D,/.C,/ .D,/E,3/2

Thanks again

seisiuneer commented 5 months ago

Ties in ABC that play continuously are indicated with a - after the note.

Wrapping notes with parentheses only visually shows the tie, if you want to have notes actually played tied, you join the with a hyphen.

Examples of both styles attached. I will close this item as works as intended.

seisiuneer commented 5 months ago

First off, thank you for this amazing project. I only discovered it a couple of days ago and am having a lot of fun with it.

I tried the following transcription with the online tool and when I try to play the wav file it looks like the G sharp that crosses the bar is played as two notes rather than an extended single note. It seems to be unrelated to indicated accidental on one side of the bar.

I have some programming experience so I might try to figure out what the issue is but I thought I'd post anyway so it doesn't get lost.


X:0

T:3 on E

K:E

K:clef=bass

Q:98

.E,,z .E,,z .E,,z .F,/.=G,/(^G,/|G,).E, .B,,z/.C,/ .=D,/.C,/.D,/.C,/ .D,/E,3/2

Thanks again

This shows both non-playing parenthesis-based and playing hyphen-based style ties in ABC:

https://michaeleskin.com/abctools/abctools.html?lzw=BoLgBAjAUAKuMEsCmYAmSC2B7KBheATgIaoIAuCWAdkQDZQBK4DSS9AsuACwD0XUAGXAQeADigBFYTwBMAXgCcABigBpcAFFUWAlACkegM5kCSMgGMAFrSLGwJgK5J9eskgAeZMIiSowAIwcvbSRDKgByLwAHGwBPMHNqCioHLAdDWnj0hCoAczAoolMqMktQhEMoAAoAERkwOrAAHwb6uoBKZrANLmaXN09vZD8iKj8QwwK4hKSctIyswxz8y1iosqpKuoBaHa69xpae5qA&format=noten&ssp=10&name=Tie_demo&play=1

seisiuneer commented 5 months ago

X: 1 T: Tie demo C: Traditional R: Reel M: 4/4 L: 1/8 Q: 1/2=90 K: Edor %%stretchlast true %%text Tied but doesn't play continuously using parenthesis (D2 D2 | D2 D2) | E4 | %%text Tied and does play continously using hyphens D2-D2- | D2- D2 | E4 |

seisiuneer commented 5 months ago

From the ABC 2.1 spec about ties vs. slurs on notes of the same pitch:

image

gitonthescene commented 5 months ago

Thanks so much for the detailed explanation. Sorry for the noise. I'm clearly not very experienced with abc.

seisiuneer commented 5 months ago

No problem, I had the same confusion with them myself for a while.On Jun 12, 2024, at 2:53 AM, gitonthescene @.***> wrote: Thanks so much for the detailed explanation. Sorry for the noise. I'm clearly not very experienced with abc.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you modified the open/close state.Message ID: @.***>