bird-sanctuary / bluejay-rtttl-parse

A JavaScript library for parsing Nokia Ring Tone Text Transfer Language (RTTTL)
2 stars 2 forks source link

Start collecting good Rtttl tunes that play well on Bluejay ESCs #7

Open saidinesh5 opened 3 years ago

saidinesh5 commented 3 years ago

Also come up with a good structure to store polyphonic tones.

@stylesuxx suggested:

{  "revision": { "4": {"name": [ "melody1rtttl", "melody2rtttl" etc...] }}}
stylesuxx commented 3 years ago

The revision field might not be necessary - as you suggested - since we are only storing the RTTTL strings.

saidinesh5 commented 3 years ago

Here is a collection of a lot of them: https://picaxe.com/rtttl-ringtones-for-tune-command/ These can be useful to stress test this library And makes me think if a multiple file structure is more optimal.

Rtttls/Collection Name/RtttlFile.txt

Where each Rtttl file can contain multiple lines - each corresponding to it's own channel. Would make pull request improvements easier.

Then a separate index.json file can contain additional metadata useful to download the Rtttl file

Also useful is: https://github.com/eriknyquist/ptttl Polyphonic tone transfer language