-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor rtttl melody loading from DB file, add example
- Loading branch information
1 parent
bc1bd1f
commit 114305d
Showing
4 changed files
with
247 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
114305d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just tested the loadRtttlDB method and it works great. The example uses a .txt db file instead of .rtttl, but I think that was intentional to indicate that the file does not follow the official rtttl spec.
Thanks, I appreciate you integrating this.
114305d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I excluded the use of
rtttl
extension since it is out of specs. Probablytxt
is too generic, andrtttl.db
orrtttll
(where the last L stands for "line") is a more suitable alternative.114305d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have just released the update of the library containing this feature, it should be available in few hour on the Library Registry.