You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following to RTTTL strings are identical, except the first has spaces and the second does not. When playing on https://adamonsoon.github.io/rtttl-play/ the first will be too slow as it seems to ignore the eighth note default (d=8).
I don't think the RTTTL spec mentions whitespace, but I would expect these two inputs to play the same song. I believe the simple solution is to strip all whitespace from the input string before parsing. I can try to write that if you want, but I'm an embedded C programmer and have no JS experience.
The text was updated successfully, but these errors were encountered:
Maybe stripping all whitespace is naive, because it would be OK to have in the title. So I guess strip all whitespace after the first : before parsing?
The following to RTTTL strings are identical, except the first has spaces and the second does not. When playing on https://adamonsoon.github.io/rtttl-play/ the first will be too slow as it seems to ignore the eighth note default (
d=8
).I don't think the RTTTL spec mentions whitespace, but I would expect these two inputs to play the same song. I believe the simple solution is to strip all whitespace from the input string before parsing. I can try to write that if you want, but I'm an embedded C programmer and have no JS experience.
The text was updated successfully, but these errors were encountered: