• abc2midi don't like the smell of flower of scotland

    From David Dalton@21:1/5 to All on Sun Oct 13 20:32:13 2019
    XPost: rec.music.celtic, rec.music.makers.bagpipe, alt.music.midi

    On Oct 12, 2019, Marc Chantreux wrote on rec.music.celtic
    (in article <5da1f679$0$21616$426a34cc@news.free.fr>):


    hello people,

    hello people,

    i'm very new to
    * this group
    * playing bagpipes
    * playing music
    * writing abc

    i'm used to unix but it doesn't help to play the the scot national
    anthem (which is what i want to do).

    So, to get both a sheet and a midi file as example, i downloaded

    http://www.partitions.bzh/fichier/313_Flower_of_Scotland.abc

    and tried to get the midi of it with abc2midi.

    i got those errors:

    4.11 January 01 2019 abc2midi
    Error in line-char 13-7 : Bad tie: possibly two ties in a row
    Error in line-char 14-7 : Cannot find note before tie
    writing MIDI file flower_of_scotland1.mid
    Warning in line-char 10-4 : Track 0 Bar 0 has 3 units instead of 6 in repeat Warning in line-char 27-5 : Track 0 Bar 17 has 2 units instead of 6 in
    repeat
    Warning in line-char 28-4 : Track 0 Bar 18 has 1 units instead of 6 in
    repeat

    to navigate from error to error, i started an abc plugin for vim (there
    abc syntax is already supported)

    https://github.com/eiro/vim-abc

    and i started to modify the file randomly (i have to admit i'm just
    starting to learn abc) but failed to have a midi file.

    so i tried

    http://terrytraub.org/abc/FlowerOfScotland.abc

    and have new errors.

    i want to learn ABC anyway but it would be a little long. waiting for
    the glorious moment i will be able to debug an abc file by myself: can
    anyone provide some assistance to abc2midi ?

    regards
    marc

    I have added rec.music.makers.bagpipe , alt.music.midi , and comp.music.midi
    to the Newsgroups line (which originally was just rec.music.celtic ) and perhaps someone from one of those groups will be able to help you.

    --
    David Dalton dalton@nfld.com http://www.nfld.com/~dalton (home page) http://www.nfld.com/~dalton/dtales.html Salmon on the Thorns (mystic page) “‘And the cart is on a wheel/And the wheel is on a hill/And the hill is shifting sand/And inside these laws we stand.” (Ferron)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pete@21:1/5 to dalton@nfld.com on Mon Oct 14 02:04:39 2019
    XPost: rec.music.celtic, rec.music.makers.bagpipe, alt.music.midi

    In article <0001HW.2353E47512F333037000021422CF@news.eternal-september.org>, David Dalton <dalton@nfld.com> wrote:
    On Oct 12, 2019, Marc Chantreux wrote on rec.music.celtic
    (in article <5da1f679$0$21616$426a34cc@news.free.fr>):

    hello people,

    i'm very new to
    * this group
    * playing bagpipes
    * playing music
    * writing abc

    i'm used to unix but it doesn't help to play the the scot national
    anthem (which is what i want to do).

    So, to get both a sheet and a midi file as example, i downloaded

    http://www.partitions.bzh/fichier/313_Flower_of_Scotland.abc

    and tried to get the midi of it with abc2midi.

    i got those errors:

    4.11 January 01 2019 abc2midi
    Error in line-char 13-7 : Bad tie: possibly two ties in a row
    Error in line-char 14-7 : Cannot find note before tie
    writing MIDI file flower_of_scotland1.mid
    Warning in line-char 10-4 : Track 0 Bar 0 has 3 units instead of 6 in repeat >> Warning in line-char 27-5 : Track 0 Bar 17 has 2 units instead of 6 in
    repeat
    Warning in line-char 28-4 : Track 0 Bar 18 has 1 units instead of 6 in
    repeat

    to navigate from error to error, i started an abc plugin for vim (there
    abc syntax is already supported)

    https://github.com/eiro/vim-abc

    and i started to modify the file randomly (i have to admit i'm just
    starting to learn abc) but failed to have a midi file.

    Heh... (:-/) I am in no way an ABC expert (my copy of abc2midi is dated
    about 10 years back) but a few minutes with the manual showed me where
    the errors were. ( http://abcnotation.com/wiki/abc:standard:v2.0 )

    In fact, "Error in line-char 13-7 : Bad tie: possibly two ties in a row"
    was pretty self-explanatory! The bar on line 13 ends with the '-' tie character, and line 14 begins with one! Two ties in a row...

    Removing the '-' on 14 cured the error. Haven't bothered looking at
    the warnings. RTFM is usually a good idea, though... (:-))

    BTW, the error didn't prevent abc2midi generating a playable midifile.
    What did was a missing "X:" statement... (I said my copy was old!)



    I have added rec.music.makers.bagpipe , alt.music.midi , and comp.music.midi >to the Newsgroups line (which originally was just rec.music.celtic ) and >perhaps someone from one of those groups will be able to help you.

    And comp.music.midi is where I saw it. Helpful,David.

    -- Pete --

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marc Chantreux@21:1/5 to All on Tue Oct 15 08:28:16 2019
    XPost: rec.music.celtic

    hi,

    David, Pete: thanks for your assistance

    Heh... (:-/) I am in no way an ABC expert (my copy of abc2midi is dated about 10 years back) but a few minutes with the manual showed me where
    the errors were. ( http://abcnotation.com/wiki/abc:standard:v2.0 )

    In fact, "Error in line-char 13-7 : Bad tie: possibly two ties in a row"
    was pretty self-explanatory! The bar on line 13 ends with the '-' tie character, and line 14 begins with one! Two ties in a row...

    yeah sure but those ties should have been there on purpose and i was
    wondering why. as a programmer, i'm scarry when someone removes a code
    without even knowing what the code do.

    the warnings. RTFM is usually a good idea, though... (:-))

    i started. but all the documentation i saw assumes that you know music
    writing which is definitely not my case: the only think i started with
    is the name of french notes (do, re, mi,...)
    I have added rec.music.makers.bagpipe , alt.music.midi , and comp.music.midi >> to the Newsgroups line (which originally was just rec.music.celtic ) and
    perhaps someone from one of those groups will be able to help you.
    And comp.music.midi is where I saw it. Helpful,David.

    just subscribed to the whole set.

    thanks again
    marc

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pete@21:1/5 to mc@unistra.fr on Wed Oct 16 21:16:49 2019
    XPost: rec.music.celtic

    In article <5da56700$0$21584$426a74cc@news.free.fr>,
    Marc Chantreux <mc@unistra.fr> wrote:

    In fact, "Error in line-char 13-7 : Bad tie: possibly two ties in a row"
    was pretty self-explanatory! The bar on line 13 ends with the '-' tie
    character, and line 14 begins with one! Two ties in a row...

    yeah sure but those ties should have been there on purpose and i was >wondering why. as a programmer, i'm scarry when someone removes a code >without even knowing what the code do.

    Personally, my inclination would be to believe the app. I don't see
    ABC as a particularly intuitive scheme (!) and I'm sure people make
    mistakes in writing it. And I guess it's possible that whatever app
    the author used it with didn't show the error (though I tried yaps
    and it reported it too. Not very good-looking postscript, though.)

    the warnings. RTFM is usually a good idea, though... (:-))

    i started. but all the documentation i saw assumes that you know music >writing which is definitely not my case: the only think i started with
    is the name of french notes (do, re, mi,...)

    A problem I somewhat share... I can read a manuscript -- slowly! It's
    a matter of figuring it out like a foreign language. Forget sight-reading!

    I have added rec.music.makers.bagpipe , alt.music.midi , and comp.music.midi
    to the Newsgroups line (which originally was just rec.music.celtic ) and >>> perhaps someone from one of those groups will be ablege to help you.
    And comp.music.midi is where I saw it. Helpful,David.

    just subscribed to the whole set.

    There's very little traffic in the MIDI groups, but I keep them around
    just for the occasional moment.

    Cheers,

    -- Pete --

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)