-
Notifications
You must be signed in to change notification settings - Fork 7
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
issues with playing abc tune w/ multiple voices #39
Comments
Classical (X)HTML problem with foreign data: when there are reserved characters, you must use CDATA sequences. |
I wrapped the abc in CDATA tag but its still throwing those errors. My issues are with the playback though. The sound still plays but it doesn't sound right. A lot of notes are out of time and pitch. So I thought it may be related to those errors. |
If there are errors, playing will not work.
|
what do you mean by it won't work? as i mentioned the sound still plays.
i tried this but it still throws errors. you can see the changes in the same jsbin |
|
Shouldn't he add the abc in a div etc. as well? in the GIST it is plain text somewhere, but has no HTML - Element around it, so it is not a single dom node. |
The ABC source is parsed from the raw body text content before the page is rendered. So, it may be anywhere, in the body or in any node of the DOM. |
Recently, I found informations about CDATA. It is working for XHTML only (not HTML) and, also, it will soon be deprecated.
The only constraint is that there cannot 2 dashes ('--') in the ABC sequence (this could occur in lyrics). |
I'm trying to play an abc tune with multiple voices but the play.html its throwings errors. Please see this jsbin. I just replaced the abc tune in the play.html example.
The text was updated successfully, but these errors were encountered: