Results 1 to 5 of 5

Thread: File format question

  1. #1
    Join Date
    Dec 2018
    Posts
    3

    Default File format question

    Hello! I'm trying to write songs via the Custom URL scheme format, as described here: https://irealpro.com/ireal-pro-file-format/ but am having trouble.
    In the key of C major, some chords don't seem to work at all, such as F#7, F#-7, C#7, C#6 etc, while other seem to work fine on their own, but if another certain chord is before it, will crash the link. An example in the key of C major is a B7#5, followed by a Gb7#5. Changing the key of the song doesn't seem to help with this. Does anyone know what's going on? I imagine the song is trying to transpose and won't accept other en-harmonic spellings, but am not sure. If i write out the song through Irealbook itself though and send the link, these problems disappear, so I'm sure there must be a way to fix this, but I don't know how. If anyone has any suggestions please let me know. Thank you!

  2. #2

    Default

    Did you separate the chords with a comma? E.g. B7#5,Gb7#5 .
    It is also helpful to include the full url you are trying so we can take a look at the exact situation.

  3. #3
    Join Date
    Dec 2018
    Posts
    3

    Default

    Below are two examples. The first results in a bad link, the second works fine, with the only difference being C#s and F#s changed to Dbs and Gbs. Thanks so much for your fast response, let me know if theres anything else you need or if I'm doing something wrong!

    <a href="irealbook://Test Song 1=SG=Medium Swing=C=n=T44|Eb-7 |Ab-7 |C#7 |Ab-7 C#7 |F#7 |Go7 |C#7 |F-7 Bb7 |Eb^7 |x |Eb-7 |Ab7 |C#^7 |Eb-7 Ab7 |C#^7 |x |">Bad Link (using sharps)</a>


    <a href="irealbook://Test Song 1=SG=Medium Swing=C=n=T44|Eb-7 |Ab-7 |Db7 |Ab-7 Db7 |Gb7 |Go7 |Db7 |F-7 Bb7 |Eb^7 |x |Eb-7 |Ab7 |Db^7 |Eb-7 Ab7 |Db^7 |x |">Good Link (using flats)</a>

  4. #4

    Default

    Data in an URL needs to be encoded, otherwise a number of 'special' characters will be treated as link info instead of data. In this case, the '#' denotes that the rest of the link points to an anchor.

    See e.g. https://en.wikipedia.org/wiki/Percent-encoding .

    The following url should therefore work:

    <a href="irealbook://Test Song 1=SG=Medium Swing=C=n=T44|Eb-7 |Ab-7 |C%237 |Ab-7 C%237 |F%237 |Go7 |C%237 |F-7 Bb7 |Eb^7 |x |Eb-7 |Ab7 |C%23^7 |Eb-7 Ab7 |C%23^7 |x |">Bad Link (using sharps)</a>

    You may wish to take a look at my iRealPro tools for a much easier way to manually create songs for iRealPro, see https://metacpan.org/pod/Data::iRealPro and https://github.com/sciurius/perl-Data-iRealPro .

  5. #5
    Join Date
    Dec 2018
    Posts
    3

    Default

    Thank you, that helps so much. I think all of my problems are fixed now. Thanks again, really appreciate it!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Do you have any questions?

Check out our Support page

Sign up to our newsletter
Join us