joemclean / ireal-parse

A parser for iReal Pro charts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ireal-parse Build Status

This is a script that selectively parses charts uploaded onto iReal Pro forums into a convenient JSON format.

A good portion of the code here is adapted from pianosnake's ireal-reader.

Development

As a benchmark, we aim to accurately parse all charts from the popular thread Jazz 1300 Standards. A copy of the original chart data has been included in data_in/1300_orig.txt.

Optionally, we can configure data_in/list.txt to contain the list of file names we want to parse and test. File names should be separated by a new line, with spaces replaced by underscores, and special characters escaped:

Fly_Me_To_The_Moon
Got_A_Match\?
Here\'s_That_Rainy_Day
So_Nice_\(Summer_Samba\)
St\._Thomas
Tell_me_a_bedtime_story

Next simply run

node util/parse

Your output should now be in data_out/<filename>.json.

About

A parser for iReal Pro charts

License:MIT License


Languages

Language:JavaScript 94.9%Language:Python 5.1%