Skip to content

rubiety/irealb_parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iReal B Parser

Parses the iReal B chords format and outputs chords-json.

NOTE: Broken with new iRealB File Format!

Sometime within the past year iRealB changed their file format, and it’s now much less straightforward. Though the delimeters seem largely the same, the actual chords changes are encoded in some way. I welcome contributions to get this gem updated to parsing the new iRealB format.

Command-Line Usage

The gem comes with a single thor task “chords-json” that will take a file containing the iReal B chords format and convert it to chords-json (github.com/rubiety/chords-json).

$ irealb_parser json file.txt

How to Get a File

Various iRealB links are available on the iRealB forums.

  • Find a link, and copy link to the clipboard. What you have copied is the URL-encoded contents of the text we need to process.

  • Go to a URL decoder like this, paste the entire string in there, but remove the “irealb://” prefix.

  • Take decoded contents and save it to a text file.

  • Run $ irealb_parser json file.txt against the file.

About

Parses iReal B chord changes notation into the standard chords-json format.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages